Skip to content

trim Null

trim Null #151

Triggered via push September 24, 2024 17:07
Status Failure
Total duration 3m 22s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build-publish
Process completed with exit code 1.
build-publish
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-publish: NewLife.Redis/Redis.cs#L795
Nullability of reference types in return type doesn't match overridden member.
build-publish: NewLife.Redis/RedisEncoder.cs#L46
Nullability of reference types in return type of 'IPacket? RedisJsonEncoder.Encode(object value)' doesn't match implicitly implemented member 'IPacket IPacketEncoder.Encode(object value)' (possibly because of nullability attributes).
build-publish: NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
build-publish: NewLife.Redis/RedisEncoder.cs#L46
Nullability of reference types in return type of 'IPacket? RedisJsonEncoder.Encode(object value)' doesn't match implicitly implemented member 'IPacket IPacketEncoder.Encode(object value)' (possibly because of nullability attributes).
build-publish: NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
build-publish: NewLife.Redis/Redis.cs#L795
Nullability of reference types in return type doesn't match overridden member.
build-publish: NewLife.Redis/Services/RedisStatGroup.cs#L14
Non-nullable property 'Redis' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-publish: NewLife.Redis/Services/RedisStat.cs#L46
Possible null reference assignment.
build-publish: NewLife.Redis/Services/RedisStat.cs#L47
Dereference of a possibly null reference.
build-publish: NewLife.Redis/Services/RedisStat.cs#L38
Non-nullable property 'OnSave' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.