.github/workflows/build.yaml #5
build.yaml
on: workflow_dispatch
Matrix: Build packages
Upload release
0s
Annotations
11 errors and 10 warnings
Build packages (macos-latest, false)
Process completed with exit code 2.
|
Build packages (windows-latest, false)
The job was canceled because "macos-latest_false" failed.
|
Build packages (windows-latest, false)
The operation was canceled.
|
Build packages (windows-latest, true)
The job was canceled because "macos-latest_false" failed.
|
Build packages (windows-latest, true)
The operation was canceled.
|
Build packages (ubuntu-latest, true)
The job was canceled because "macos-latest_false" failed.
|
Build packages (ubuntu-latest, true)
The operation was canceled.
|
Build packages (ubuntu-latest, false)
The job was canceled because "macos-latest_false" failed.
|
Build packages (ubuntu-latest, false)
The operation was canceled.
|
Build packages (macos-latest, true)
The job was canceled because "macos-latest_false" failed.
|
Build packages (macos-latest, true)
The operation was canceled.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Statistics/WebApplicationExtends.cs#L96
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Statistics/WebApplicationExtends.cs#L96
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Build packages (macos-latest, true):
E5Renewer/Main.cs#L92
Using member 'Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions.AddControllers(IServiceCollection)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. MVC does not currently support trimming or native AOT. https://aka.ms/aspnet/trimming
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Config/YamlParser.cs#L25
Using member 'YamlDotNet.Serialization.DeserializerBuilder.DeserializerBuilder()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This builder configures the deserializer to use reflection which is not compatible with ahead-of-time compilation or assembly trimming. You need to use the code generator/analyzer to generate static code and use the 'StaticDeserializerBuilder' object instead of this one.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Statistics/ExceptionHandlers.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Statistics/ExceptionHandlers.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Config/JsonParser.cs#L28
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Config/JsonParser.cs#L28
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Modules/ModulesLoader.cs#L26
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
Build packages (macos-latest, true):
E5Renewer/E5Renewer.Modules/ModulesLoader.cs#L32
Parameters passed to method 'System.Reflection.Assembly.CreateInstance(String)' cannot be analyzed. Consider using methods 'System.Type.GetType' and `System.Activator.CreateInstance` instead.
|