Skip to content

Update to NET 8 SDK #221

Update to NET 8 SDK

Update to NET 8 SDK #221

Triggered via pull request November 19, 2023 13:28
Status Failure
Total duration 4m 10s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 20 warnings
ubuntu-latest
Testhost process for source(s) '/home/runner/work/NJsonSchema/NJsonSchema/artifacts/bin/NJsonSchema.Yaml.Tests/release_net6.0/NJsonSchema.Yaml.Tests.dll' exited with error: You must install or update .NET to run this application.
ubuntu-latest
App: /home/runner/work/NJsonSchema/NJsonSchema/artifacts/bin/NJsonSchema.Yaml.Tests/release_net6.0/testhost.dll
ubuntu-latest
Architecture: x64
ubuntu-latest
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
ubuntu-latest
.NET location: /home/runner/work/NJsonSchema/NJsonSchema/.nuke/temp/dotnet-unix/
ubuntu-latest
The following frameworks were found:
ubuntu-latest
8.0.0 at [/home/runner/work/NJsonSchema/NJsonSchema/.nuke/temp/dotnet-unix/shared/Microsoft.NETCore.App]
ubuntu-latest
Learn more:
ubuntu-latest
https://aka.ms/dotnet/app-launch-failed
ubuntu-latest
To install missing framework, download:
windows-latest
Testhost process for source(s) 'D:\a\NJsonSchema\NJsonSchema\artifacts\bin\NJsonSchema.Tests\release_net7.0\NJsonSchema.Tests.dll' exited with error: You must install or update .NET to run this application.
windows-latest
App: D:\a\NJsonSchema\NJsonSchema\artifacts\bin\NJsonSchema.Tests\release_net7.0\testhost.exe
windows-latest
Architecture: x64
windows-latest
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
windows-latest
.NET location: D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win
windows-latest
The following frameworks were found:
windows-latest
8.0.0 at [D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win\shared\Microsoft.NETCore.App]
windows-latest
Learn more:
windows-latest
https://aka.ms/dotnet/app-launch-failed
windows-latest
To install missing framework, download:
ubuntu-latest
Attempting second-chance registration of MSBuild after RegisterDefaults failed
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/.nuke/temp/dotnet-unix/sdk/8.0.100/Microsoft.Common.CurrentVersion.targets(1860,5): warning NU1702: ProjectReference '/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Demo/NJsonSchema.Demo.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/.nuke/temp/dotnet-unix/sdk/8.0.100/Microsoft.Common.CurrentVersion.targets(1860,5): warning NU1702: ProjectReference '/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Benchmark/NJsonSchema.Benchmark.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.NewtonsoftJson.Tests/Generation/StructTests.cs(34,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.NewtonsoftJson.Tests/NJsonSchema.NewtonsoftJson.Tests.csproj::TargetFramework=net6.0]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.NewtonsoftJson.Tests/Generation/RecordTests.cs(23,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.NewtonsoftJson.Tests/NJsonSchema.NewtonsoftJson.Tests.csproj::TargetFramework=net6.0]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/Converters/JsonExceptionConverterTests.cs(98,18): warning xUnit1031: 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) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj::TargetFramework=net462]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/Validation/ValueTypeValidationTests.cs(323,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj::TargetFramework=net462]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/Validation/ValueTypeValidationTests.cs(304,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj::TargetFramework=net462]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/Validation/EnumValidationTests.cs(25,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj::TargetFramework=net462]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/Validation/EnumValidationTests.cs(45,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.Tests/NJsonSchema.Tests.csproj::TargetFramework=net462]
windows-latest
Attempting second-chance registration of MSBuild after RegisterDefaults failed
windows-latest
D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(1860,5): warning NU1702: ProjectReference 'D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo\NJsonSchema.Demo.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(1860,5): warning NU1702: ProjectReference 'D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Benchmark\NJsonSchema.Benchmark.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\Generation\StructTests.cs(34,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\NJsonSchema.NewtonsoftJson.Tests.csproj::TargetFramework=net462]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\Generation\RecordTests.cs(23,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\NJsonSchema.NewtonsoftJson.Tests.csproj::TargetFramework=net462]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Converters\JsonExceptionConverterTests.cs(98,18): warning xUnit1031: 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) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Validation\ValueTypeValidationTests.cs(304,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Validation\ValueTypeValidationTests.cs(323,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Conversion\TypeToSchemaTests.cs(190,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\References\LocalReferencesTests.cs(56,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]