Skip to content

Bump to .Net 9 + Update Nuget Packages to non vulnerable version #496

Bump to .Net 9 + Update Nuget Packages to non vulnerable version

Bump to .Net 9 + Update Nuget Packages to non vulnerable version #496

Triggered via pull request May 26, 2025 10:07
@NikoMixNikoMix
synchronize #278
NikoMix:main
Status Failure
Total duration 2m 29s
Artifacts 2

build.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 21 warnings
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (ubuntu-latest)
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
Build (macos-14)
Process completed with exit code 1.
Build (macos-14): src/core/Statiq.Core/JavaScript/JavaScriptEnginePool.cs#L14
The non-generic type 'JsPool' cannot be used with type arguments
Build (macos-14): src/core/Statiq.Core/JavaScript/PooledJavaScriptEngine.cs#L18
The non-generic type 'JsPool' cannot be used with type arguments
Build (macos-14): src/core/Statiq.Core/JavaScript/PooledJavaScriptEngine.cs#L26
The non-generic type 'JsPool' cannot be used with type arguments
Build (macos-14): src/extensions/Statiq.Scriban/StatiqScriptObject.cs#L11
'StatiqScriptObject' does not implement interface member 'IScriptObject.TrySetValue(TemplateContext, SourceSpan, string, object, bool)'
Build (macos-14): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.IndexType'
Build (macos-14): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.HasIndexer'
Build (macos-14): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.TrySetItem(TemplateContext, SourceSpan, object, object, object)'
Build (macos-14): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.TryGetItem(TemplateContext, SourceSpan, object, object, out object)'
Build (windows-latest)
Process completed with exit code 1.
Build (windows-latest): src/core/Statiq.Core/JavaScript/PooledJavaScriptEngine.cs#L18
The non-generic type 'JsPool' cannot be used with type arguments
Build (windows-latest): src/core/Statiq.Core/JavaScript/PooledJavaScriptEngine.cs#L26
The non-generic type 'JsPool' cannot be used with type arguments
Build (windows-latest): src/core/Statiq.Core/JavaScript/JavaScriptEnginePool.cs#L14
The non-generic type 'JsPool' cannot be used with type arguments
Build (windows-latest): src/extensions/Statiq.Scriban/StatiqScriptObject.cs#L11
'StatiqScriptObject' does not implement interface member 'IScriptObject.TrySetValue(TemplateContext, SourceSpan, string, object, bool)'
Build (windows-latest): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.IndexType'
Build (windows-latest): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.HasIndexer'
Build (windows-latest): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.TrySetItem(TemplateContext, SourceSpan, object, object, object)'
Build (windows-latest): src/extensions/Statiq.Scriban/StatiqDocumentAccessor.cs#L12
'StatiqDocumentAccessor' does not implement interface member 'IObjectAccessor.TryGetItem(TemplateContext, SourceSpan, object, object, out object)'
Statiq.CodeAnalysis.Tests.AnalyzeCSharpFixture+ExecuteTests ► SetsCompilation: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpFixture+ExecuteTests ► SetsCompilationAssenblyName: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► ClassMemberExcludedByPredicate: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► ClassMembersContainsMethods: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► ClassOperatorsContainsOperators: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► ContainingTypeIsCorrect: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► DestinationPathIsCorrect: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► DisplayNameIsCorrect: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► ImplementsIsCorrect: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► MultipleImplementsIsCorrect: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Statiq.CodeAnalysis.Tests.AnalyzeCSharpMethodsFixture+ExecuteTests ► NestedImplementsIsCorrect: src/extensions/Statiq.CodeAnalysis/Analysis/AnalyzeSymbolVisitor.cs#L84
Failed test found in: tests/extensions/Statiq.CodeAnalysis.Tests/TestResults/test-results.trx Error: System.Reflection.AmbiguousMatchException : Ambiguous match found for 'Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions System.Collections.Immutable.ImmutableArray`1[T] GetAccessibleMembersInThisAndBaseTypes[T](Microsoft.CodeAnalysis.ITypeSymbol, Microsoft.CodeAnalysis.ISymbol)'.
Build (ubuntu-latest)
No files were found with the provided path: **/test-results.trx. No artifacts will be uploaded.
Build (macos-14): src/core/Statiq.Common/Util/LockingStreamWrapper.cs#L26
The property name 'Stream' is confusing given the existence of method 'GetStream'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
Build (macos-14): src/core/Statiq.Common/Meta/IMetadata.cs#L11
Rename Statiq.Common.IMetadata to end in either 'Dictionary' or 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710)
Build (macos-14): src/core/Statiq.Common/Util/ConcurrentCache{TKey,TValue}.cs#L18
Rename Statiq.Common.ConcurrentCache<TKey, TValue> to end in either 'Dictionary' or 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710)
Build (macos-14): src/core/Statiq.Common/Configuration/IConfiguratorCollection.cs#L9
Rename type name IConfiguratorCollection so that it does not end in 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build (macos-14): src/core/Statiq.Common/Configuration/IConfigurable.cs#L6
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
Build (macos-14): src/core/Statiq.Common/Settings/ISettings.cs#L10
Rename Statiq.Common.ISettings to end in either 'Dictionary' or 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710)
Build (macos-14): src/core/Statiq.Common/Reflection/ClassCatalog.cs#L18
Rename Statiq.Common.ClassCatalog to end in either 'Dictionary' or 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710)
Build (macos-14): src/core/Statiq.Common/Bootstrapper/IBaseCommand.cs#L3
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
Build (macos-14): src/core/Statiq.Common/Util/ItemStreams/ItemStream{TItem}.cs#L199
'MarshalByRefObject.InitializeLifetimeService()' is obsolete: 'This Remoting API is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0010)
Build (macos-14): src/core/Statiq.Common/Util/ItemStreams/ItemStream{TItem}.cs#L199
Member 'ItemStream<TItem>.InitializeLifetimeService()' overrides obsolete member 'MarshalByRefObject.InitializeLifetimeService()'. Add the Obsolete attribute to 'ItemStream<TItem>.InitializeLifetimeService()'.
Build (windows-latest): src/core/Statiq.Common/Meta/IMetadata.cs#L11
Rename Statiq.Common.IMetadata to end in either 'Dictionary' or 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710)
Build (windows-latest): src/core/Statiq.Common/Configuration/IConfiguratorCollection.cs#L9
Rename type name IConfiguratorCollection so that it does not end in 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build (windows-latest): src/core/Statiq.Common/Configuration/IConfigurable.cs#L6
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
Build (windows-latest): src/core/Statiq.Common/Bootstrapper/IBaseCommand.cs#L3
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
Build (windows-latest): src/core/Statiq.Common/Events/IReadOnlyEventCollection.cs#L10
Rename type name IReadOnlyEventCollection so that it does not end in 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build (windows-latest): src/core/Statiq.Common/Events/IEventCollection.cs#L8
Rename type name IEventCollection so that it does not end in 'Collection' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build (windows-latest): src/core/Statiq.Common/Events/EventHandler.cs#L11
Rename type name EventHandler so that it does not end in 'EventHandler' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build (windows-latest): src/core/Statiq.Common/Events/AsyncEventHandler.cs#L12
Rename type name AsyncEventHandler so that it does not end in 'EventHandler' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build (windows-latest): src/core/Statiq.Common/Util/ItemStreams/ItemStream{TItem}.cs#L199
'MarshalByRefObject.InitializeLifetimeService()' is obsolete: 'This Remoting API is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0010)
Build (windows-latest): src/core/Statiq.Common/Util/ItemStreams/ItemStream{TItem}.cs#L199
Member 'ItemStream<TItem>.InitializeLifetimeService()' overrides obsolete member 'MarshalByRefObject.InitializeLifetimeService()'. Add the Obsolete attribute to 'ItemStream<TItem>.InitializeLifetimeService()'.

Artifacts

Produced during runtime
Name Size Digest
test-results-macos-14 Expired
55.3 KB
sha256:becf717c3d64fb01affc663f2e40ed2759fd92ff88ed6f1a4d7dda1c966f8935
test-results-windows-latest Expired
56.4 KB
sha256:09e9b0ddcc52fd61e36b70c5fabfb1cb971201df9c5f7cddef5070f36fc9546c