Skip to content

Fix #448 and #450 #1046

Fix #448 and #450

Fix #448 and #450 #1046

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

build-and-test.yml

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

Annotations

47 errors and 40 warnings
Build (false, macos-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, macos-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, macos-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, macos-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, macos-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, 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_macos-latest_net7_0" 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_macos-latest_net7_0" failed
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, 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_macos-latest_net7_0" failed
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_macos-latest_net7_0" failed
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, net6.0, 6.0.x, -x64, false)
The strategy configuration was canceled because "Build.false_macos-latest_net7_0" failed
Build (false, macos-latest, net7.0, 7.0.x, true, -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, net7.0, 7.0.x, true, -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, 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, macos-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, macos-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, macos-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, macos-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, macos-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, 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): samples/DrawWithImageSharp/Program.cs#L32
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#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, ubuntu-latest, net7.0, 7.0.x, true, -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, 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, 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)'.
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): 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.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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)'.

Artifacts

Produced during runtime
Name Size Digest
actual_output_macOS_net6.0-x64.zip
732 KB
sha256:ad3664260ec63c92f70ac6a78087e80072daaa5707a4e3c8493cf10abf752641
actual_output_macOS_net7.0-x64.zip
752 KB
sha256:0ab0e630ccbdd277bc52d5ae5c2bfae9065f7a665c4c81869f7364fbd7f4d626