Skip to content

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

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

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

Triggered via pull request March 2, 2026 14:27
Status Failure
Total duration 2m 19s
Artifacts 3

build-and-test.yml

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

Annotations

17 errors and 70 warnings
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true)
Process completed with exit code 1.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net8_0_8_0_" failed
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
Process completed with exit code 1.
Build (macos-26, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net8_0_8_0_" failed
Build (macos-26, net10.0, 10.0.x, true, -x64, false)
Process completed with exit code 1.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net8_0_8_0_" failed
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
The operation was canceled.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
Process completed with exit code 1.
Build (windows-latest, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net8_0_8_0_" 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_net8_0_8_0_" failed
Build (ubuntu-22.04-arm, 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_net8_0_8_0_" failed
Build (windows-latest, net10.0, 10.0.x, true, -x64, false)
The operation was canceled.
Build (macos-26, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net8_0_8_0_" failed
Build (macos-26, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/Attributes/GroupOutputAttribute.cs#L9
Specify AttributeUsage on GroupOutputAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/AsyncStreamWrapper.cs#L7
'AsyncStreamWrapper' overrides array-based 'WriteAsync' but does not override memory-based 'WriteAsync'. Consider overriding memory-based 'WriteAsync' to improve performance. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/AsyncStreamWrapper.cs#L7
'AsyncStreamWrapper' overrides array-based 'ReadAsync' but does not override memory-based 'ReadAsync'. Consider overriding memory-based 'ReadAsync' to improve performance. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844)
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/FillRectangle.cs#L19
Member 'FillRectangleSystemDrawing' 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#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-latest, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillWithPattern.cs#L18
Member 'DrawPatternPolygonSystemDrawing' 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/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, 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 (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawText.cs#L18
Type 'DrawText' owns disposable field(s) 'image', 'sdBitmap', 'sdFont', 'skBitmap', 'skCanvas' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (ubuntu-22.04-arm, 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-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 (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/EllipseStressTest.cs#L14
Type 'EllipseStressTest' 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/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.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)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillRectangle.cs#L19
Member 'FillRectangleSystemDrawing' 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.Benchmarks/Drawing/FillWithPattern.cs#L18
Member 'DrawPatternPolygonSystemDrawing' 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/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-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 (macos-26, net8.0, 8.0.x, -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 (macos-26, net8.0, 8.0.x, -x64, false): 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 (macos-26, 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 (macos-26, 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 (macos-26, 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)

Artifacts

Produced during runtime
Name Size Digest
actual_output_Linux_net10.0-x64.zip Expired
5.22 MB
sha256:84505db7b535b26c53137abe4fe619a06bfb0d2f69c96abca878546b2295e972
actual_output_Linux_net8.0-x64.zip Expired
53 KB
sha256:b91a4f1c1060f8be3790470c9c25df21952b475b32503ead382c4187bc03bef9
actual_output_macOS_net10.0-x64.zip Expired
5.46 MB
sha256:36836e92c300fac06eb362d421af1465968fa0714fea974b4e9ffd330281b276