Skip to content

fix: fix targetFrameworks #96

fix: fix targetFrameworks

fix: fix targetFrameworks #96

Triggered via push November 29, 2023 10:41
Status Failure
Total duration 3m 1s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build-publish
Process completed with exit code 1.
build-publish: NewLife.Redis/Queues/MultipleConsumerGroupsQueue.cs#L81
Cannot convert null literal to non-nullable reference type.
build-publish: NewLife.Redis/Queues/RedisQueue.cs#L136
Nullability of reference types in return type doesn't match implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout = 0)'.
build-publish: NewLife.Redis/Queues/RedisQueue.cs#L123
Nullability of reference types in return type of 'Task<T> RedisQueue<T>.TakeOneAsync(int timeout = 0, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout, CancellationToken cancellationToken)'.
build-publish: NewLife.Redis/Queues/RedisReliableQueue.cs#L184
Nullability of reference types in return type doesn't match implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout = 0)'.
build-publish: NewLife.Redis/Queues/RedisReliableQueue.cs#L166
Nullability of reference types in return type of 'Task<T> RedisReliableQueue<T>.TakeOneAsync(int timeout = 0, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout, CancellationToken cancellationToken)'.
build-publish: NewLife.Redis/Queues/RedisStream.cs#L261
Nullability of reference types in return type doesn't match implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout = 0)'.
build-publish: NewLife.Redis/Queues/RedisStream.cs#L250
Nullability of reference types in return type of 'Task<T> RedisStream<T>.TakeOneAsync(int timeout = 0, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout, CancellationToken cancellationToken)'.
build-publish: NewLife.Redis/Queues/RedisStream.cs#L90
Cannot convert null literal to non-nullable reference type.
build-publish: NewLife.Redis/Queues/RedisStream.cs#L657
Cannot convert null literal to non-nullable reference type.
build-publish: NewLife.Redis/Queues/RedisStream.cs#L704
Cannot convert null literal to non-nullable reference type.