Skip to content

Treat warnings as errors in this sample #1187

Treat warnings as errors in this sample

Treat warnings as errors in this sample #1187

Triggered via push January 14, 2025 18:18
Status Failure
Total duration 16m 47s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 40 warnings
build
[xUnit.net 00:00:18.31] ValueTypeTests.Vogen.linq_querying_with_value_types.store_several_and_use_in_LINQ_select [FAIL]
build
[xUnit.net 00:00:20.71] ValueTypeTests.StrongTypedId.linq_querying_with_value_types.store_several_and_use_in_LINQ_select [FAIL]
build
Target "TestValueTypes" has thrown an exception
build
Process completed with exit code 255.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.CommandLine/Marten.CommandLine.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.AspNetCore/Marten.AspNetCore.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.CommandLine/Marten.CommandLine.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.AspNetCore/Marten.AspNetCore.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.CommandLine/Marten.CommandLine.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.AspNetCore/Marten.AspNetCore.csproj::TargetFramework=net8.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/MartenBenchmarks/MartenBenchmarks.csproj::TargetFramework=net7.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/EventSourceWorker/EventSourceWorker.csproj::TargetFramework=net7.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/IssueService/IssueService.csproj::TargetFramework=net7.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net7.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net9.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/MartenBenchmarks/MartenBenchmarks.csproj::TargetFramework=net7.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/EventSourceWorker/EventSourceWorker.csproj::TargetFramework=net7.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net6.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten.PLv8/Marten.PLv8.csproj::TargetFramework=net6.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/EventSourceWorker/EventSourceWorker.csproj::TargetFramework=net7.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/MartenBenchmarks/MartenBenchmarks.csproj::TargetFramework=net7.0]
build
/usr/share/dotnet/sdk/9.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/marten/marten/src/IssueService/IssueService.csproj::TargetFramework=net7.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net7.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net8.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net6.0]
build
/home/runner/.nuget/packages/microsoft.codeanalysis.netanalyzers/8.0.0/buildTransitive/Microsoft.CodeAnalysis.NetAnalyzers.targets(648,5): warning : The .NET SDK has newer analyzers with version '9.0.0' than what version '8.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net9.0]
build
/home/runner/work/marten/marten/src/Marten/ITenantOperations.cs(13,12): warning CS0108: 'ITenantOperations.TenantId' hides inherited member 'IQuerySession.TenantId'. Use the new keyword if hiding was intended. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/Marten/ITenantQueryOperations.cs(12,12): warning CS0108: 'ITenantQueryOperations.TenantId' hides inherited member 'IQuerySession.TenantId'. Use the new keyword if hiding was intended. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/Marten/Linq/ICompiledQuery.cs(47,18): warning CS8714: The type 'TDoc' cannot be used as type parameter 'TDoc' in the generic type or method 'ICompiledQuery<TDoc, TOut>'. Nullability of type argument 'TDoc' doesn't match 'notnull' constraint. [/home/runner/work/marten/marten/src/Marten/Marten.csproj::TargetFramework=net6.0]
build
npm WARN EBADENGINE Unsupported engine {
build
npm WARN EBADENGINE package: '@vitejs/[email protected]',
build
npm WARN EBADENGINE required: { node: '^18.0.0 || >=20.0.0' },
build
npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
build
npm WARN EBADENGINE }
build
npm WARN EBADENGINE Unsupported engine {
build
npm WARN EBADENGINE package: '[email protected]',
build
npm WARN EBADENGINE required: { node: '>=18.14.0' },
build
npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
build
npm WARN EBADENGINE }