Skip to content

fix(logging): prevent stdout file descriptor leak in ConsoleWrapper #1702

fix(logging): prevent stdout file descriptor leak in ConsoleWrapper

fix(logging): prevent stdout file descriptor leak in ConsoleWrapper #1702

Triggered via pull request March 6, 2026 20:33
Status Success
Total duration 5m 24s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build: libraries/src/AWS.Lambda.Powertools.Logging/Internal/PowertoolsLogger.cs#L529
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties()'. The return value of method 'System.Object.GetType()' 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.Logging/Internal/Helpers/PowertoolsLoggerHelpers.cs#L41
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties()'. The return value of method 'System.Object.GetType()' 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.Tracing/Internal/XRayRecorder.cs#L616
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Object.GetType()' 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.Tracing/Internal/TracingAspect.cs#L98
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Object.GetType()' 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.Tracing/Internal/XRayRecorder.cs#L695
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Object.GetType()' 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.Tracing/Internal/XRayRecorder.cs#L663
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Object.GetType()' 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.Tracing/Internal/XRayRecorder.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'type' of method 'AWS.Lambda.Powertools.Tracing.Internal.XRayRecorder.SanitizeComplexObject(Object, Type, Int32)' 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.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/Aspects/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Tracing/Internal/XRayRecorder.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'type' of method 'AWS.Lambda.Powertools.Tracing.Internal.XRayRecorder.SanitizeComplexObject(Object, Type, Int32)' 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.Common/Aspects/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
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/Aspects/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
build: libraries/src/AWS.Lambda.Powertools.Tracing/Internal/XRayRecorder.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'type' of method 'AWS.Lambda.Powertools.Tracing.Internal.XRayRecorder.SanitizeComplexObject(Object, Type, Int32)' 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.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'