Skip to content

chore: Powertools Logger v2 #1385

chore: Powertools Logger v2

chore: Powertools Logger v2 #1385

Triggered via pull request April 8, 2025 09:43
Status Success
Total duration 3m 0s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L313
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandler.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: libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L294
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessorProvider.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: libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L283
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessor.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: libraries/src/AWS.Lambda.Powertools.Parameters/Internal/Transform/JsonTransformer.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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: libraries/src/AWS.Lambda.Powertools.Parameters/Internal/Transform/JsonTransformer.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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: libraries/src/AWS.Lambda.Powertools.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
build: libraries/src/AWS.Lambda.Powertools.Common/Core/SystemWrapper.cs#L201
Missing XML comment for publicly visible type or member 'SystemWrapper.ClearOutputResetFlag()'
build: libraries/src/AWS.Lambda.Powertools.Common/Core/ConsoleWrapper.cs#L76
Missing XML comment for publicly visible type or member 'ConsoleWrapper.ResetForTest()'
build: libraries/src/AWS.Lambda.Powertools.Common/Core/SystemWrapper.cs#L201
Missing XML comment for publicly visible type or member 'SystemWrapper.ClearOutputResetFlag()'
build: libraries/src/AWS.Lambda.Powertools.Common/Core/ConsoleWrapper.cs#L76
Missing XML comment for publicly visible type or member 'ConsoleWrapper.ResetForTest()'