Skip to content

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

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

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

Triggered via pull request March 1, 2026 12:44
Status Failure
Total duration 2m 3s
Artifacts 2

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 (macos-26, net8.0, 8.0.x, -x64, false)
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.macos-26_net8_0_8_0_x_-x6" failed
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.macos-26_net8_0_8_0_x_-x6" failed
Build (macos-26, 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.macos-26_net8_0_8_0_x_-x6" failed
Build (ubuntu-latest, net8.0, 8.0.x, -x64, true)
The operation was canceled.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.macos-26_net8_0_8_0_x_-x6" 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.macos-26_net8_0_8_0_x_-x6" 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.macos-26_net8_0_8_0_x_-x6" failed
Build (windows-latest, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
The strategy configuration was canceled because "Build.macos-26_net8_0_8_0_x_-x6" failed
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
The operation was canceled.
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawTextRepeatedGlyphs.cs#L16
Type 'DrawTextRepeatedGlyphs' owns disposable field(s) 'defaultImage', 'webGpuBackend', 'webGpuCpuImage' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (macos-26, 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 (macos-26, 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 (macos-26, 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 (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)
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.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-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/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, net10.0, 10.0.x, true, -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, 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, net8.0, 8.0.x, -x64, true): 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-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.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 (ubuntu-22.04-arm, 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 (ubuntu-22.04-arm, 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 (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-latest, 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-latest, net10.0, 10.0.x, true, -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 (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)

Artifacts

Produced during runtime
Name Size Digest
actual_output_Linux_net10.0-x64.zip Expired
5.21 MB
sha256:ca70fa99773025c9ae06fa40c9b49dda8bc0a966de1f8075f3aa538d94ec9797
actual_output_macOS_net8.0-x64.zip Expired
5.45 MB
sha256:d204ac95628a357e95a9315ce97b521b4f7fa85ae08232599ceb623254a06fdc