Skip to content

Implementing sizeof('a') #2345

Implementing sizeof('a')

Implementing sizeof('a') #2345

Triggered via pull request January 26, 2026 19:39
Status Failure
Total duration 7m 21s
Artifacts

run-build-and-unit-tests.yml

on: pull_request
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 36 warnings
main (ubuntu-24.04)
Process completed with exit code 255.
main (ubuntu-24.04)
Target "TestCodeGen" has thrown an exception
main (ubuntu-24.04)
[xUnit.net 00:00:05.07] Cesium.CodeGen.Tests.CodeGenMethodTests.CharConstTest [FAIL]
main (ubuntu-24.04)
[xUnit.net 00:00:03.38] Cesium.CodeGen.Tests.CodeGenArrayTests.ArrayCharComparison [FAIL]
main (ubuntu-24.04)
[xUnit.net 00:00:03.30] Cesium.CodeGen.Tests.CodeGenOperatorTests.AddIntToChar [FAIL]
main (ubuntu-24.04)
[xUnit.net 00:00:02.47] Cesium.CodeGen.Tests.CodeGenPrimitiveTypeTests.СharLiterals [FAIL]
main (ubuntu-24.04)
[xUnit.net 00:00:01.75] Cesium.CodeGen.Tests.CodeGenSizeofTests.CharSizeof [FAIL]
main (macos-15)
Process completed with exit code 255.
main (macos-15)
Target "TestCodeGen" has thrown an exception
main (macos-15)
[xUnit.net 00:00:05.38] Cesium.CodeGen.Tests.CodeGenOperatorTests.AddIntToChar [FAIL]
main (macos-15)
[xUnit.net 00:00:04.13] Cesium.CodeGen.Tests.CodeGenSizeofTests.CharSizeof [FAIL]
main (macos-15)
[xUnit.net 00:00:02.25] Cesium.CodeGen.Tests.CodeGenPrimitiveTypeTests.СharLiterals [FAIL]
main (macos-15)
[xUnit.net 00:00:01.97] Cesium.CodeGen.Tests.CodeGenMethodTests.CharConstTest [FAIL]
main (macos-15)
[xUnit.net 00:00:00.44] Cesium.CodeGen.Tests.CodeGenArrayTests.ArrayCharComparison [FAIL]
main (windows-2025)
Process completed with exit code 127.
main (windows-2025)
Target "TestCodeGen" has thrown an exception
main (windows-2025)
[xUnit.net 00:00:07.38] Cesium.CodeGen.Tests.CodeGenOperatorTests.AddIntToChar [FAIL]
main (windows-2025)
[xUnit.net 00:00:06.93] Cesium.CodeGen.Tests.CodeGenSizeofTests.CharSizeof [FAIL]
main (windows-2025)
[xUnit.net 00:00:05.39] Cesium.CodeGen.Tests.CodeGenMethodTests.CharConstTest [FAIL]
main (windows-2025)
[xUnit.net 00:00:03.85] Cesium.CodeGen.Tests.CodeGenPrimitiveTypeTests.СharLiterals [FAIL]
main (windows-2025)
[xUnit.net 00:00:00.95] Cesium.CodeGen.Tests.CodeGenArrayTests.ArrayCharComparison [FAIL]
main (ubuntu-24.04)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/home/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (ubuntu-24.04)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/home/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (ubuntu-24.04)
/home/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/CommandLineParsingTest.cs(131,13): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [/home/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/Cesium.Compiler.Tests.csproj]
main (ubuntu-24.04)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/home/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (ubuntu-24.04)
/usr/share/dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: - Add lib or ref assemblies for the netstandard2.0 target framework [/home/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (ubuntu-24.04)
/usr/share/dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [/home/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (ubuntu-24.04)
/home/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/CommandLineParsingTest.cs(131,13): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [/home/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/Cesium.Compiler.Tests.csproj]
main (ubuntu-24.04)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/home/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (ubuntu-24.04)
/usr/share/dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: - Add lib or ref assemblies for the netstandard2.0 target framework [/home/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (ubuntu-24.04)
/usr/share/dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [/home/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (ubuntu-24.04): build/Build.cs#L25
Non-nullable field 'Solution' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main (ubuntu-24.04): build/Build.cs#L25
Non-nullable field 'Solution' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main (macos-15)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/Users/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (macos-15)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/Users/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (macos-15)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/CommandLineParsingTest.cs(131,13): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [/Users/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/Cesium.Compiler.Tests.csproj]
main (macos-15)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/Users/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (macos-15)
/Users/runner/.dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: - Add lib or ref assemblies for the netstandard2.0 target framework [/Users/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (macos-15)
/Users/runner/.dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [/Users/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (macos-15)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/CommandLineParsingTest.cs(131,13): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [/Users/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/Cesium.Compiler.Tests.csproj]
main (macos-15)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [/Users/runner/work/Cesium/Cesium/Cesium.Compiler/Cesium.Compiler.csproj]
main (macos-15)
/Users/runner/.dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: - Add lib or ref assemblies for the netstandard2.0 target framework [/Users/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (macos-15)
/Users/runner/.dotnet/sdk/10.0.102/NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [/Users/runner/work/Cesium/Cesium/Cesium.Sdk/Cesium.Sdk.csproj]
main (macos-15): build/Build.cs#L25
Non-nullable field 'Solution' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main (macos-15): build/Build.cs#L25
Non-nullable field 'Solution' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main (windows-2025)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [D:\a\Cesium\Cesium\Cesium.Compiler\Cesium.Compiler.csproj]
main (windows-2025)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [D:\a\Cesium\Cesium\Cesium.Compiler\Cesium.Compiler.csproj]
main (windows-2025)
D:\a\Cesium\Cesium\Cesium.Compiler.Tests\CommandLineParsingTest.cs(131,13): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [D:\a\Cesium\Cesium\Cesium.Compiler.Tests\Cesium.Compiler.Tests.csproj]
main (windows-2025)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [D:\a\Cesium\Cesium\Cesium.Compiler\Cesium.Compiler.csproj]
main (windows-2025)
C:\Program Files\dotnet\sdk\10.0.102\NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: - Add lib or ref assemblies for the netstandard2.0 target framework [D:\a\Cesium\Cesium\Cesium.Sdk\Cesium.Sdk.csproj]
main (windows-2025)
C:\Program Files\dotnet\sdk\10.0.102\NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [D:\a\Cesium\Cesium\Cesium.Sdk\Cesium.Sdk.csproj]
main (windows-2025)
D:\a\Cesium\Cesium\Cesium.Compiler.Tests\CommandLineParsingTest.cs(131,13): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [D:\a\Cesium\Cesium\Cesium.Compiler.Tests\Cesium.Compiler.Tests.csproj]
main (windows-2025)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(358,26): warning CS3021: 'IndentedTextWriter.WriteLine(uint)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [D:\a\Cesium\Cesium\Cesium.Compiler\Cesium.Compiler.csproj]
main (windows-2025)
C:\Program Files\dotnet\sdk\10.0.102\NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: - Add lib or ref assemblies for the netstandard2.0 target framework [D:\a\Cesium\Cesium\Cesium.Sdk\Cesium.Sdk.csproj]
main (windows-2025)
C:\Program Files\dotnet\sdk\10.0.102\NuGet.Build.Tasks.Pack.targets(222,5): warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [D:\a\Cesium\Cesium\Cesium.Sdk\Cesium.Sdk.csproj]
main (windows-2025): build/Build.cs#L25
Non-nullable field 'Solution' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main (windows-2025): build/Build.cs#L25
Non-nullable field 'Solution' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.