.github/workflows/build.yaml #7
Annotations
1 error and 30 warnings
Upload release
⚠️ GitHub Releases requires a tag
|
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.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.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.
|
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.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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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.
|
Build packages (windows-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 (windows-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 (windows-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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 (ubuntu-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.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
E5Renewer-macos-latest-arm64-aot
Expired
|
13.7 MB |
|
E5Renewer-macos-latest-arm64-noaot
Expired
|
5.79 MB |
|
E5Renewer-ubuntu-latest-x86_64-aot
Expired
|
16.4 MB |
|
E5Renewer-ubuntu-latest-x86_64-noaot
Expired
|
5.79 MB |
|
E5Renewer-windows-latest-x86_64-aot
Expired
|
16 MB |
|
E5Renewer-windows-latest-x86_64-noaot
Expired
|
5.82 MB |
|