Skip to content

Upgrade projects to target .NET 9.0 and update package references #393

Upgrade projects to target .NET 9.0 and update package references

Upgrade projects to target .NET 9.0 and update package references #393

Triggered via push December 3, 2024 11:17
Status Failure
Total duration 1m 23s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
build (ubuntu-latest)
Process completed with exit code 1.
build (windows-latest)
The job was canceled because "ubuntu-latest" failed.
build (windows-latest)
The operation was canceled.
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): BTDB.SourceGenerator/Main.cs#L12
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
build (ubuntu-latest): BTDBTest/AssertionException.cs#L21
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (ubuntu-latest): BTDBTest/ObjectDBTest.cs#L2820
Public method 'ReportTypeIncompatibility' on test class 'ObjectDbTest' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build (ubuntu-latest): BTDBTest/ChunkStorageTest.cs#L64
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build (ubuntu-latest): BTDBTest/ChunkStorageTest.cs#L78
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build (ubuntu-latest): BTDBTest/DiskChunkCacheTest.cs#L43
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build (ubuntu-latest): BTDBTest/DiskChunkCacheTest.cs#L54
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build (ubuntu-latest): BTDBTest/EnumCompatibilityTest.cs#L30
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build (ubuntu-latest): BTDBTest/DiskChunkCacheTest.cs#L69
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build (ubuntu-latest): BTDBTest/ChunkStorageTest.cs#L93
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)