Skip to content

Rewrite Line Breaker. #1011

Rewrite Line Breaker.

Rewrite Line Breaker. #1011

Triggered via pull request January 7, 2025 09:52
Status Failure
Total duration 1m 11s
Artifacts

build-and-test.yml

on: pull_request
Matrix: Build
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 25 warnings
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
Process completed with exit code 1.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
The job was canceled because "false_ubuntu-latest_net6_" failed.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
The operation was canceled.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net6_" failed.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, macos-latest, net6.0, 6.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net6_" failed.
Build (false, macos-latest, net6.0, 6.0.x, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net6_" failed.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net6_" failed.
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
No files were found with the provided path: tests/Images/ActualOutput/. No artifacts will be uploaded.
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/TestFonts.cs#L313
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/ImageComparison/ImageSimilarityReport.cs#L104
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L852
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/MeasureTextBenchmark.cs#L57
The behavior of 'SystemFonts.Get(string)' could vary based on the current user's locale settings. Replace this call in 'MeasureTextBenchmark.MeasureTextBenchmark()' with a call to 'SystemFonts.Get(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/MeasureTextBenchmark.cs#L67
Change MeasureTextBenchmark.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/Program.cs#L8
Type 'Program' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L24
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L25
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L26
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L27
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L28
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L29
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)