Skip to content

Replaced arrays with spans in query. Replaced array allocation with b… #1007

Replaced arrays with spans in query. Replaced array allocation with b…

Replaced arrays with spans in query. Replaced array allocation with b… #1007

Triggered via push December 16, 2024 07:12
Status Success
Total duration 2m 30s
Artifacts

dotnet.yml

on: push
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

62 warnings
test-macos-latest-8: src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
test-macos-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-8: test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
test-macos-latest-8: src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected
test-macos-latest-9: src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
test-macos-latest-9: test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
test-macos-latest-9: src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected
test-macos-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-macos-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-ubuntu-latest-9: src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
test-ubuntu-latest-9: test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
test-ubuntu-latest-9: src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected
test-ubuntu-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-ubuntu-latest-8: src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
test-ubuntu-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-ubuntu-latest-8: test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
test-ubuntu-latest-8: src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected
test-windows-latest-9: src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
test-windows-latest-9: src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected
test-windows-latest-9: test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
test-windows-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-9: src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-9: src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
test-windows-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
test-windows-latest-8: test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
test-windows-latest-8: src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected