Skip to content

Switch to .NET 8

Switch to .NET 8 #406

Triggered via pull request January 4, 2025 11:47
Status Failure
Total duration 44s
Artifacts

dotnetcore.yml

on: pull_request
Build warnings check
34s
Build warnings check
Matrix: Runtime build check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 41 warnings
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
There is no application host available for the specified RuntimeIdentifier 'win-arm'.
Runtime build check (win-arm)
Process completed with exit code 1.
Tests for .NET on ubuntu-latest
The current .NET SDK does not support targeting .NET 8.0. Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 8.0.
Tests for .NET on ubuntu-latest
The current .NET SDK does not support targeting .NET 8.0. Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 8.0.
Tests for .NET on ubuntu-latest
Process completed with exit code 1.
Runtime build check (win-arm64)
The job was canceled because "win-arm" failed.
Runtime build check (win-arm64)
The operation was canceled.
Runtime build check (linux-arm64)
The job was canceled because "win-arm" failed.
Tests for .NET on windows-latest
The job was canceled because "ubuntu-latest" failed.
Tests for .NET on windows-latest
The operation was canceled.
Runtime build check (linux-arm64)
The operation was canceled.
Runtime build check (win-x86)
The job was canceled because "win-arm" failed.
Runtime build check (win-x86)
The operation was canceled.
Runtime build check (win-x64)
The job was canceled because "win-arm" failed.
Runtime build check (win-x64)
The operation was canceled.
Runtime build check (linux-musl-x64)
The job was canceled because "win-arm" failed.
Runtime build check (linux-musl-x64)
The operation was canceled.
Runtime build check (osx-arm64)
The job was canceled because "win-arm" failed.
Runtime build check (osx-arm64)
The operation was canceled.
Runtime build check (linux-x64)
The job was canceled because "win-arm" failed.
Runtime build check (linux-x64)
The operation was canceled.
Runtime build check (osx-x64)
The job was canceled because "win-arm" failed.
Runtime build check (osx-x64)
The operation was canceled.
Runtime build check (linux-arm)
The job was canceled because "win-arm" failed.
Runtime build check (linux-arm)
The operation was canceled.
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build warnings check: src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build warnings check: src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build warnings check: src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Tests for .NET on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-arm64): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-arm64): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (linux-arm64): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (linux-arm64): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (linux-arm64): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x86): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x86): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x86): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x64): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L65
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L123
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L224
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x64): src/cyclonedx/Serialization/CsvSerializer.cs#L264
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Runtime build check (win-x64): src/cyclonedx/Commands/KeyGenCommand.cs#L40
Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSACryptoServiceProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)