Skip to content

refactor: 📦 upgrade to .net 9 #102

refactor: 📦 upgrade to .net 9

refactor: 📦 upgrade to .net 9 #102

Triggered via pull request December 31, 2024 12:05
Status Failure
Total duration 2m 58s
Artifacts

build-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
build-test
Process completed with exit code 1.
Pre-Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-test: src/Shared/Logging/LoggingBehavior.cs#L65
Async-iterator 'StreamLoggingBehavior<TRequest, TResponse>.Handle(TRequest, CancellationToken, StreamHandlerDelegate<TRequest, TResponse>)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
build-test: src/Shared/Observability/DiagnosticsProvider.cs#L91
Nullability of reference types in return type of 'Task<TResult?> DiagnosticsProvider.ExecuteActivityAsync<TResult>(CreateActivityInfo createActivityInfo, Func<Activity?, CancellationToken, Task<TResult>> action, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<TResult> IDiagnosticsProvider.ExecuteActivityAsync<TResult>(CreateActivityInfo createActivityInfo, Func<Activity?, CancellationToken, Task<TResult>> action, CancellationToken cancellationToken = default(CancellationToken))'.
build-test: src/Shared/Cache/Behaviors/CachingBehavior.cs#L68
Async-iterator 'StreamCachingBehavior<TRequest, TResponse>.Handle(TRequest, CancellationToken, StreamHandlerDelegate<TRequest, TResponse>)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
build-test: src/Shared/Cache/Behaviors/InvalidateCachingBehavior.cs#L46
Async-iterator 'StreamInvalidateCachingBehavior<TRequest, TResponse>.Handle(TRequest, CancellationToken, StreamHandlerDelegate<TRequest, TResponse>)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
build-test: src/Shared/Validation/RequestValidationBehavior.cs#L61
Async-iterator 'StreamRequestValidationBehavior<TRequest, TResponse>.Handle(TRequest, CancellationToken, StreamHandlerDelegate<TRequest, TResponse>)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
build-test: src/Shared/Web/Extensions/HeaderDictionaryExtensions.cs#L36
Possible null reference assignment.
build-test: src/Shared/Web/Extensions/QueryCollectionExtensions.cs#L37
Possible null reference assignment.
build-test: src/Shared/Web/Extensions/QueryCollectionExtensions.cs#L57
Possible null reference assignment.
build-test: src/Shared/Cache/Serializers/MessagePack/MessagePackHybridCacheSerializerFactory.cs#L11
Nullability of reference types in type of parameter 'serializer' of 'bool MessagePackHybridCacheSerializerFactory.TryCreateSerializer<T>(out IHybridCacheSerializer<T>? serializer)' doesn't match implicitly implemented member 'bool IHybridCacheSerializerFactory.TryCreateSerializer<T>(out IHybridCacheSerializer<T>? serializer)' (possibly because of nullability attributes).
build-test: src/Shared/Abstractions/Core/Domain/IHaveIdentity.cs#L6
Possible null reference return.