Skip to content

DrawingCanvas API: Replace imperative extension methods with stateful canvas-based drawing model #711

DrawingCanvas API: Replace imperative extension methods with stateful canvas-based drawing model

DrawingCanvas API: Replace imperative extension methods with stateful canvas-based drawing model #711

Triggered via pull request March 2, 2026 23:36
Status Failure
Total duration 1m 58s
Artifacts 1

build-and-test.yml

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

Annotations

15 errors and 60 warnings
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
Process completed with exit code 1.
Build (macos-26, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (macos-26, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (windows-latest, net10.0, 10.0.x, true, -x64, false)
The operation was canceled.
Build (windows-latest, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (windows-latest, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
The operation was canceled.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true)
The operation was canceled.
Build (macos-26, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (macos-26, net10.0, 10.0.x, true, -x64, false)
The operation was canceled.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillPathGradientBrush.cs#L11
Type 'FillPathGradientBrush' owns disposable field(s) 'image' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L43
Member 'DrawLinesCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L76
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L69
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L20
Member 'DrawPathSystemDrawing' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L43
Member 'DrawLinesCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L76
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L69
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillRectangle.cs#L44
Member 'FillPolygonCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillRectangle.cs#L33
Member 'FillRectangleCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L76
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L69
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/ImageProviders/LambdaProvider.cs#L15
Class LambdaProvider must have a public parameterless constructor to support Xunit.Abstractions.IXunitSerializable. (https://xunit.net/xunit.analyzers/rules/xUnit3001)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/ImageProviders/BasicTestPatternProvider.cs#L9
Class TestImageProvider must have a public parameterless constructor to support Xunit.Abstractions.IXunitSerializable. (https://xunit.net/xunit.analyzers/rules/xUnit3001)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L46
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/Backends/WebGPUDrawingBackendTests.cs#L716
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L41
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillWithPattern.cs#L38
Member 'DrawPatternPolygon3Core' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L43
Member 'DrawLinesCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L76
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L69
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillPathGradientBrush.cs#L11
Type 'FillPathGradientBrush' owns disposable field(s) 'image' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L43
Member 'DrawLinesCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L76
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L69
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)

Artifacts

Produced during runtime
Name Size Digest
actual_output_Linux_net10.0-x64.zip
5.22 MB
sha256:a55e834badcdea87ebe93acec2f3719f06dfa2b45214e064fa5144534d75797e