Skip to content

implement-inmemory-stream (#233) #595

implement-inmemory-stream (#233)

implement-inmemory-stream (#233) #595

Triggered via push December 15, 2024 13:03
Status Failure
Total duration 1m 5s
Artifacts

default.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 20 warnings
Running tests on macOS-latest
Process completed with exit code 1.
Running tests on ubuntu-latest
The job was canceled because "macOS-latest" failed.
Running tests on ubuntu-latest
The operation was canceled.
Running tests on windows-latest
The job was canceled because "macOS-latest" failed.
Running tests on windows-latest
The operation was canceled.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/InMemoryStream.cs#L119
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/InMemoryStream.cs#L119
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/Aspect/FluentConfigInterceptorResolver.cs#L11
Interface member 'WeihanLi.Common.Aspect.IInterceptorResolver.ResolveInterceptors(IInvocation)' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'WeihanLi.Common.Aspect.FluentConfigInterceptorResolver.ResolveInterceptors(IInvocation)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/Services/Validator.cs#L29
Member 'WeihanLi.Common.Services.DataAnnotationValidator.Validate(Object)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Services.IValidator.Validate(Object)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyResolver.cs#L62
Member 'WeihanLi.Common.DependencyResolver.ServiceProviderDependencyResolver.GetServices(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.IDependencyResolver.GetServices(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyResolver.cs#L62
Member 'WeihanLi.Common.DependencyResolver.ServiceProviderDependencyResolver.GetServices(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.IDependencyResolver.GetServices(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyResolver.cs#L92
'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the parameter 'serviceType' of method 'WeihanLi.Common.DependencyResolver.DefaultDependencyResolver.GetService(Type)' don't match overridden parameter 'serviceType' of method 'System.IServiceProvider.GetService(Type)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
Running tests on macOS-latest: src/WeihanLi.Common/Event/EventSubscriptionManager.cs#L74
Member 'WeihanLi.Common.Event.DependencyInjectionEventSubscriptionManager.GetEventHandlers(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventSubscriptionManager.GetEventHandlers(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/InMemoryStream.cs#L119
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/InMemoryStream.cs#L119
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Running tests on ubuntu-latest: src/WeihanLi.Common/Services/Validator.cs#L29
Member 'WeihanLi.Common.Services.DataAnnotationValidator.Validate(Object)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Services.IValidator.Validate(Object)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/FluentConfigInterceptorResolver.cs#L11
Interface member 'WeihanLi.Common.Aspect.IInterceptorResolver.ResolveInterceptors(IInvocation)' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'WeihanLi.Common.Aspect.FluentConfigInterceptorResolver.ResolveInterceptors(IInvocation)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Event/EventHandlerFactory.cs#L13
Member 'WeihanLi.Common.Event.DefaultEventHandlerFactory.GetHandlers(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventHandlerFactory.GetHandlers(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Event/EventSubscriptionManager.cs#L74
Member 'WeihanLi.Common.Event.DependencyInjectionEventSubscriptionManager.GetEventHandlers(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventSubscriptionManager.GetEventHandlers(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Event/EventSubscriptionManager.cs#L74
Member 'WeihanLi.Common.Event.DependencyInjectionEventSubscriptionManager.GetEventHandlers(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventSubscriptionManager.GetEventHandlers(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/NewFuncHelper.cs#L13
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Linq.Expressions.Expression.New(Type)'. The generic parameter 'T' of 'WeihanLi.Common.Helpers.NewFuncHelper<T>' 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.