Skip to content

fix nullability

fix nullability #340

Triggered via push November 18, 2024 12:09
Status Failure
Total duration 1m 42s
Artifacts

actions.yml

on: push
Matrix: test
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 21 warnings
test (6.8.20)
Process completed with exit code 1.
test (6.8.20)
Process completed with exit code 127.
test (7.17.4)
The job was canceled because "_6_8_20" failed.
test (7.17.4)
Process completed with exit code 1.
test (7.17.4)
Process completed with exit code 127.
test (6.8.20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (6.8.20): Cassandra.DistributedTaskQueue.Monitoring/Storage/Writing/RtqElasticsearchOffsetStorage.cs#L46
Nullability of reference types in return type of 'string? RtqElasticsearchOffsetStorage.Read()' doesn't match implicitly implemented member 'string IOffsetStorage<string>.Read()' (possibly because of nullability attributes).
test (6.8.20): Cassandra.DistributedTaskQueue.Monitoring/Api/RtqMonitoringTaskMeta.cs#L61
Non-nullable property 'ParentTaskId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test (6.8.20): Cassandra.DistributedTaskQueue.Monitoring/Api/RtqMonitoringSearchRequest.cs#L12
Non-nullable property 'EnqueueTimestampRange' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test (6.8.20): Cassandra.DistributedTaskQueue.Monitoring/Api/RtqMonitoringSearchRequest.cs#L21
Non-nullable property 'Names' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test (6.8.20): Cassandra.DistributedTaskQueue.Tests/RemoteTaskQueue/ExchangeTests/AutoParentTaskIdTest.cs#L105
Field 'AutoParentTaskIdTest.testTaskLogger' is never assigned to, and will always have its default value null
test (6.8.20): Cassandra.DistributedTaskQueue.Tests/Monitoring/TaskCounterTest.cs#L141
Field 'TaskCounterTest.exchangeServiceClient' is never assigned to, and will always have its default value null
test (6.8.20): Cassandra.DistributedTaskQueue.Tests/Monitoring/TaskSearchClientTests.cs#L441
Field 'TaskSearchClientTests.schema' is never assigned to, and will always have its default value null
test (6.8.20): Cassandra.DistributedTaskQueue.Tests/RemoteTaskQueue/RepositoriesTests/TaskExceptionInfoStorageTest.cs#L264
Field 'TaskExceptionInfoStorageTest.taskExceptionInfoStorage' is never assigned to, and will always have its default value null
test (6.8.20): Cassandra.DistributedTaskQueue.Tests/RemoteTaskQueue/RepositoriesTests/TaskMetaStorageTest.cs#L111
Field 'TaskMetaStorageTest.taskMetaStorage' is never assigned to, and will always have its default value null
test (7.17.4): Cassandra.DistributedTaskQueue.Monitoring/Storage/Writing/RtqElasticsearchOffsetStorage.cs#L46
Nullability of reference types in return type of 'string? RtqElasticsearchOffsetStorage.Read()' doesn't match implicitly implemented member 'string IOffsetStorage<string>.Read()' (possibly because of nullability attributes).
test (7.17.4): Cassandra.DistributedTaskQueue.Monitoring/Api/RtqMonitoringTaskMeta.cs#L61
Non-nullable property 'ParentTaskId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test (7.17.4): Cassandra.DistributedTaskQueue.Monitoring/Api/RtqMonitoringSearchRequest.cs#L12
Non-nullable property 'EnqueueTimestampRange' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test (7.17.4): Cassandra.DistributedTaskQueue.Monitoring/Api/RtqMonitoringSearchRequest.cs#L21
Non-nullable property 'Names' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test (7.17.4): Cassandra.DistributedTaskQueue.Tests/Monitoring/TaskSearchClientTests.cs#L447
Field 'TaskSearchClientTests.handleTasksMetaStorage' is never assigned to, and will always have its default value null
test (7.17.4): Cassandra.DistributedTaskQueue.Tests/Monitoring/TaskCounterTest.cs#L135
Field 'TaskCounterTest.testCounterRepository' is never assigned to, and will always have its default value null
test (7.17.4): Cassandra.DistributedTaskQueue.Tests/RemoteTaskQueue/ExchangeTests/SimpleTaskTest.cs#L152
Field 'SimpleTaskTest.testCounterRepository' is never assigned to, and will always have its default value null
test (7.17.4): Cassandra.DistributedTaskQueue.Tests/RemoteTaskQueue/ExchangeTests/AutoParentTaskIdTest.cs#L105
Field 'AutoParentTaskIdTest.testTaskLogger' is never assigned to, and will always have its default value null
test (7.17.4): Cassandra.DistributedTaskQueue.Tests/Monitoring/TaskSearchClientTests.cs#L444
Field 'TaskSearchClientTests.serializer' is never assigned to, and will always have its default value null