Skip to content

fix: requirements.txt to reduce vulnerabilities #52

fix: requirements.txt to reduce vulnerabilities

fix: requirements.txt to reduce vulnerabilities #52

Re-run triggered July 28, 2024 15:20
Status Failure
Total duration 5m 52s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 15 warnings
build
Error: LinkageError occurred while loading main class org.sonarsource.scanner.cli.Main
build
java.lang.UnsupportedClassVersionError: org/sonarsource/scanner/cli/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
build
The SonarScanner did not complete successfully
build
15:26:10.474 Post-processing failed. Exit code: 1
build
Target "SonarEnd" has thrown an exception
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-java@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontEnumGenerator\FontParser.cs(44,50): warning S6444: Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontEnumGenerator\FontEnumGenerator.csproj]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontEnumGenerator\FontParser.cs(24,21): warning S6444: Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontEnumGenerator\FontEnumGenerator.csproj]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WinForms\IconCache.cs(51,19): warning S3260: Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\IconChar.cs(4,22): warning S1939: 'int' should not be explicitly used as the underlying type. (https://rules.sonarsource.com/csharp/RSPEC-1939) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WPF\IconSourceBase.cs(22,9): warning S1699: Remove this call from a constructor to the overridable 'UpdateImageSource' method. (https://rules.sonarsource.com/csharp/RSPEC-1699) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WPF\ToGeometryBase.cs(15,35): warning S2743: A static field in a generic type is not shared among instances of different close constructed types. (https://rules.sonarsource.com/csharp/RSPEC-2743) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WPF\IconHelper.cs(196,30): warning S6602: "Array.Find" static method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WPF\IconHelper.cs(258,71): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WPF\IconBlockBase.cs(35,20): warning S1699: Remove this call from a constructor to the overridable 'FontFor' method. (https://rules.sonarsource.com/csharp/RSPEC-1699) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\WPF\Awesome.cs(279,22): warning S6444: Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444) [D:\a\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp\FontAwesome.Sharp.csproj::TargetFramework=net6.0-windows]
build
.NET Core 3.1 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build
.NET 5.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build
.NET 7.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.