Skip to content

Fix #448 and #450 #1047

Fix #448 and #450

Fix #448 and #450 #1047

Triggered via pull request April 22, 2025 06:23
Status Failure
Total duration 1m 4s
Artifacts 1

build-and-test.yml

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

Annotations

38 errors and 31 warnings
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L76
Invalid token '(' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token ')' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '.' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '6' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '(' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L76
Invalid token '(' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token ')' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '.' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '6' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '(' in class, record, struct, or interface member declaration
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.false_ubuntu-latest_net6_" failed
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
The operation was canceled.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
The strategy configuration was canceled because "Build.false_ubuntu-latest_net6_" failed
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.false_ubuntu-latest_net6_" failed
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L76
Invalid token '(' in class, record, struct, or interface member declaration
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token ')' in class, record, struct, or interface member declaration
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '.' in class, record, struct, or interface member declaration
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '6' in class, record, struct, or interface member declaration
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/Unicode/LineBreakEnumeratorTests.cs#L75
Invalid token '(' in class, record, struct, or interface member declaration
Build (false, macos-latest, net6.0, 6.0.x, -x64, false)
The strategy configuration was canceled because "Build.false_ubuntu-latest_net6_" failed
Build (false, macos-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 strategy configuration was canceled because "Build.false_ubuntu-latest_net6_" failed
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): samples/DrawWithImageSharp/Program.cs#L324
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'Program.RenderTextProcessorWithAlignment(FontFamily, string,
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): samples/DrawWithImageSharp/Program.cs#L323
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'Program.RenderTextProcessorWithAlignment(FontFamily, string,
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)
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#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#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#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#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): 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): 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/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, macos-latest, net6.0, 6.0.x, -x64, false): samples/DrawWithImageSharp/Program.cs#L31
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, macos-latest, net6.0, 6.0.x, -x64, false): samples/DrawWithImageSharp/Program.cs#L30
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, macos-latest, net6.0, 6.0.x, -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)
Build (false, macos-latest, net6.0, 6.0.x, -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, macos-latest, net6.0, 6.0.x, -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, macos-latest, net6.0, 6.0.x, -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, macos-latest, net6.0, 6.0.x, -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, macos-latest, net6.0, 6.0.x, -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)

Artifacts

Produced during runtime
Name Size Digest
actual_output_Linux_net6.0-x64.zip Expired
587 KB
sha256:c70fac28d7e43bbb7bf077e1c3000ceb2c5701fe52b4db90a46f439c0764a58b