Skip to content

up 更新版本号

up 更新版本号 #78

Triggered via push March 9, 2024 06:20
Status Failure
Total duration 13m 13s
Artifacts 8

dotnet-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 27 warnings
build-windows
Process completed with exit code 1.
build-macos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-macos: src/ColorMC.Gui/Utils/GameJoystick.cs#L64
Dereference of a possibly null reference.
build-macos: src/ColorMC.Gui/Utils/Hook/X11Hook.cs#L90
Cannot convert null literal to non-nullable reference type.
build-macos: src/ColorMC.Gui/Utils/Hook/X11Hook.cs#L118
Cannot convert null literal to non-nullable reference type.
build-windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-windows: src/ColorMC.Gui/Utils/Hook/X11Hook.cs#L90
Cannot convert null literal to non-nullable reference type.
build-windows: src/ColorMC.Gui/Utils/Hook/X11Hook.cs#L118
Cannot convert null literal to non-nullable reference type.
build-windows: src/ColorMC.Gui/Utils/GameJoystick.cs#L64
Dereference of a possibly null reference.
build-windows: src/ColorMC.Launcher/Program.cs#L137
Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Defining a dynamic assembly requires dynamic code.
build-windows: src/ColorMC.Launcher/Program.cs#L214
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream, Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L219
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream, Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L226
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L247
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L228
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetField(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build-linux
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-linux: src/ColorMC.Gui/Utils/GameJoystick.cs#L64
Dereference of a possibly null reference.
build-linux: src/ColorMC.Gui/Utils/Hook/X11Hook.cs#L90
Cannot convert null literal to non-nullable reference type.
build-linux: src/ColorMC.Gui/Utils/Hook/X11Hook.cs#L118
Cannot convert null literal to non-nullable reference type.
build-linux: src/ColorMC.Launcher/Program.cs#L137
Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Defining a dynamic assembly requires dynamic code.
build-linux: src/ColorMC.Launcher/Program.cs#L214
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream, Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L219
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream, Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L226
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L247
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L228
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetField(String)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.

Artifacts

Produced during runtime
Name Size
colormc-arch-x86_64 Expired
38.1 MB
colormc-arch-x86_64-aot Expired
36.3 MB
colormc-linux-x64-appimage Expired
46.6 MB
colormc-macos-x64 Expired
48.7 MB
colormc-ubuntu-arm64 Expired
36.4 MB
colormc-ubuntu-arm64-aot Expired
2.67 KB
colormc-ubuntu-x64 Expired
38.9 MB
colormc-ubuntu-x64-aot Expired
36.8 MB