Skip to content

Attempt build with dotnet 8. #209

Attempt build with dotnet 8.

Attempt build with dotnet 8. #209

Triggered via push February 16, 2024 17:15
Status Failure
Total duration 1m 18s
Artifacts

dotnet-core.yml

on: push
build-and-test
1m 7s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 22 warnings
build-and-test
Process completed with exit code 1.
build-and-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-and-test: src/Itinero/Network/DataStructures/SparseArray.cs#L16
Possible null reference assignment.
build-and-test: src/Itinero/Network/Search/Edges/EdgeSearch.cs#L194
Async-iterator 'EdgeSearch.SnapAllInBoxAsync(RoutingNetwork, ((double longitude, double latitude, float? e) topLeft, (double longitude, double latitude, float? e) bottomRight), IEdgeChecker?, bool, double, CancellationToken)' 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-and-test: src/Itinero/Network/Search/Edges/EdgeSearch.cs#L370
Async-iterator 'EdgeSearch.SnapToAllVerticesInBoxAsync(RoutingNetwork, ((double longitude, double latitude, float? e) topLeft, (double longitude, double latitude, float? e) bottomRight), IEdgeChecker?, double, CancellationToken)' 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-and-test: src/Itinero/Network/Tiles/ArrayBaseExtensions.cs#L16
Possible null reference assignment.
build-and-test: src/Itinero/Routing/RouterExtensions.cs#L40
Nullable value type may be null.
build-and-test: src/Itinero/Network/Restrictions/RestrictionExtensions.cs#L52
The tuple element name 'Id' is ignored because a different name or no name is specified by the target type '(EdgeId, bool)'.
build-and-test: src/Itinero/Routes/RouteExtensions.cs#L215
Possible null reference argument for parameter 'result' in 'Result<Route>.Result(Route result)'.
build-and-test: src/Itinero/Network/DataStructures/SparseArray.cs#L16
Possible null reference assignment.
build-and-test: src/Itinero/Network/Search/Edges/EdgeSearch.cs#L194
Async-iterator 'EdgeSearch.SnapAllInBoxAsync(RoutingNetwork, ((double longitude, double latitude, float? e) topLeft, (double longitude, double latitude, float? e) bottomRight), IEdgeChecker?, bool, double, CancellationToken)' 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-and-test: src/Itinero/Network/Search/Edges/EdgeSearch.cs#L370
Async-iterator 'EdgeSearch.SnapToAllVerticesInBoxAsync(RoutingNetwork, ((double longitude, double latitude, float? e) topLeft, (double longitude, double latitude, float? e) bottomRight), IEdgeChecker?, double, CancellationToken)' 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-and-test: src/Itinero/Network/Tiles/ArrayBaseExtensions.cs#L16
Possible null reference assignment.
build-and-test: src/Itinero/Network/Restrictions/RestrictionExtensions.cs#L52
The tuple element name 'Id' is ignored because a different name or no name is specified by the target type '(EdgeId, bool)'.
build-and-test: src/Itinero/Routing/RouterExtensions.cs#L40
Nullable value type may be null.
build-and-test: src/Itinero/Routes/RouteExtensions.cs#L215
Possible null reference argument for parameter 'result' in 'Result<Route>.Result(Route result)'.