Skip to content

Separate global declaration from initialization #1648

Separate global declaration from initialization

Separate global declaration from initialization #1648

Triggered via push November 14, 2024 21:51
Status Success
Total duration 6m 47s
Artifacts
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

39 warnings
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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-latest)
/Users/runner/.dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.C.Syntax [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/Users/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (macos-latest)
/Users/runner/.dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.Lexer [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/Users/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Runtime/StdIoFunctions.cs(6,7): warning CS0105: The using directive for 'System.Runtime.InteropServices' appeared previously in this namespace [/Users/runner/work/Cesium/Cesium/Cesium.Runtime/Cesium.Runtime.csproj::TargetFramework=net6.0]
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.CodeGen/Extensions/TranslationUnitEx.cs(84,21): warning CS0162: Unreachable code detected [/Users/runner/work/Cesium/Cesium/Cesium.CodeGen/Cesium.CodeGen.csproj]
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.CodeGen/Ir/Types/StructType.cs(15,28): warning CS0169: The field 'StructType.AnonType' is never used [/Users/runner/work/Cesium/Cesium/Cesium.CodeGen/Cesium.CodeGen.csproj]
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/CommandLineParsingTest.cs(127,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-latest)
/Users/runner/.dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.C.Syntax [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/Users/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (macos-latest)
/Users/runner/.dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.Lexer [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/Users/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Runtime/StdIoFunctions.cs(6,7): warning CS0105: The using directive for 'System.Runtime.InteropServices' appeared previously in this namespace [/Users/runner/work/Cesium/Cesium/Cesium.Runtime/Cesium.Runtime.csproj::TargetFramework=net6.0]
main (macos-latest)
/Users/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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 (ubuntu-latest)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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-latest)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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-latest)
/home/runner/work/Cesium/Cesium/Cesium.Runtime/StdIoFunctions.cs(6,7): warning CS0105: The using directive for 'System.Runtime.InteropServices' appeared previously in this namespace [/home/runner/work/Cesium/Cesium/Cesium.Runtime/Cesium.Runtime.csproj::TargetFramework=net6.0]
main (ubuntu-latest)
/usr/share/dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.C.Syntax [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/home/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (ubuntu-latest)
/usr/share/dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.Lexer [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/home/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (ubuntu-latest)
/home/runner/work/Cesium/Cesium/Cesium.CodeGen/Extensions/TranslationUnitEx.cs(84,21): warning CS0162: Unreachable code detected [/home/runner/work/Cesium/Cesium/Cesium.CodeGen/Cesium.CodeGen.csproj]
main (ubuntu-latest)
/home/runner/work/Cesium/Cesium/Cesium.CodeGen/Ir/Types/StructType.cs(15,28): warning CS0169: The field 'StructType.AnonType' is never used [/home/runner/work/Cesium/Cesium/Cesium.CodeGen/Cesium.CodeGen.csproj]
main (ubuntu-latest)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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-latest)
/home/runner/work/Cesium/Cesium/Cesium.Compiler.Tests/CommandLineParsingTest.cs(127,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-latest)
/home/runner/work/Cesium/Cesium/Cesium.Runtime/StdIoFunctions.cs(6,7): warning CS0105: The using directive for 'System.Runtime.InteropServices' appeared previously in this namespace [/home/runner/work/Cesium/Cesium/Cesium.Runtime/Cesium.Runtime.csproj::TargetFramework=net6.0]
main (ubuntu-latest)
/usr/share/dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.C.Syntax [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/home/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (ubuntu-latest)
/usr/share/dotnet/sdk/8.0.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.Lexer [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [/home/runner/work/Cesium/Cesium/Cesium.Ast/Cesium.Ast.csproj]
main (ubuntu-latest)
/home/runner/work/Cesium/Cesium/Cesium.Compiler/IndentedTextWriter.cs(357,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 (windows-latest)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(357,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-latest)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(357,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-latest)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(357,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-latest)
D:\a\Cesium\Cesium\Cesium.Runtime\StdIoFunctions.cs(6,7): warning CS0105: The using directive for 'System.Runtime.InteropServices' appeared previously in this namespace [D:\a\Cesium\Cesium\Cesium.Runtime\Cesium.Runtime.csproj::TargetFramework=net6.0]
main (windows-latest)
C:\Program Files\dotnet\sdk\8.0.404\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.C.Syntax [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [D:\a\Cesium\Cesium\Cesium.Ast\Cesium.Ast.csproj]
main (windows-latest)
C:\Program Files\dotnet\sdk\8.0.404\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.Lexer [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [D:\a\Cesium\Cesium\Cesium.Ast\Cesium.Ast.csproj]
main (windows-latest)
D:\a\Cesium\Cesium\Cesium.CodeGen\Extensions\TranslationUnitEx.cs(84,21): warning CS0162: Unreachable code detected [D:\a\Cesium\Cesium\Cesium.CodeGen\Cesium.CodeGen.csproj]
main (windows-latest)
D:\a\Cesium\Cesium\Cesium.CodeGen\Ir\Types\StructType.cs(15,28): warning CS0169: The field 'StructType.AnonType' is never used [D:\a\Cesium\Cesium\Cesium.CodeGen\Cesium.CodeGen.csproj]
main (windows-latest)
D:\a\Cesium\Cesium\Cesium.Compiler\IndentedTextWriter.cs(357,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-latest)
D:\a\Cesium\Cesium\Cesium.Compiler.Tests\CommandLineParsingTest.cs(127,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-latest)
D:\a\Cesium\Cesium\Cesium.Runtime\StdIoFunctions.cs(6,7): warning CS0105: The using directive for 'System.Runtime.InteropServices' appeared previously in this namespace [D:\a\Cesium\Cesium\Cesium.Runtime\Cesium.Runtime.csproj::TargetFramework=net6.0]
main (windows-latest)
C:\Program Files\dotnet\sdk\8.0.404\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.C.Syntax [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [D:\a\Cesium\Cesium\Cesium.Ast\Cesium.Ast.csproj]
main (windows-latest)
C:\Program Files\dotnet\sdk\8.0.404\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Yoakke.SynKit.Lexer [2024.1.6-15.18.30-nightly, )" or update the version field in the nuspec. [D:\a\Cesium\Cesium\Cesium.Ast\Cesium.Ast.csproj]