Skip to content

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

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

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

Triggered via pull request April 19, 2026 09:14
Status Failure
Total duration 1m 43s
Artifacts

build-and-test.yml

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

Annotations

21 errors and 40 warnings
Build (ubuntu-latest, 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): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L35
'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' does not contain a definition for 'SetShapeOptions' and no accessible extension method 'SetShapeOptions' accepting a first argument of type 'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' could be found (are you missing a using directive or an assembly reference?)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L35
'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' does not contain a definition for 'SetShapeOptions' and no accessible extension method 'SetShapeOptions' accepting a first argument of type 'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' could be found (are you missing a using directive or an assembly reference?)
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 (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 (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 (macos-26, net8.0, 8.0.x, -x64, true)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (macos-26, net8.0, 8.0.x, -x64, true)
The operation was canceled.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false)
The strategy configuration was canceled because "Build.ubuntu-latest_net10_0_10_" failed
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L35
'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' does not contain a definition for 'SetShapeOptions' and no accessible extension method 'SetShapeOptions' accepting a first argument of type 'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' could be found (are you missing a using directive or an assembly reference?)
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L35
'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' does not contain a definition for 'SetShapeOptions' and no accessible extension method 'SetShapeOptions' accepting a first argument of type 'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' could be found (are you missing a using directive or an assembly reference?)
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, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L35
'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' does not contain a definition for 'SetShapeOptions' and no accessible extension method 'SetShapeOptions' accepting a first argument of type 'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' could be found (are you missing a using directive or an assembly reference?)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L35
'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' does not contain a definition for 'SetShapeOptions' and no accessible extension method 'SetShapeOptions' accepting a first argument of type 'FakeImageOperationsProvider.FakeImageOperations<Rgba32>' could be found (are you missing a using directive or an assembly reference?)
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.
WarmLFS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
No files were found with the provided path: tests/Images/ActualOutput/. No artifacts will be uploaded.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L235
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L219
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L203
Argument of type '(GraphicsPath sdPath, SolidBrush? fill, Pen? stroke)' cannot be used for parameter 'item' of type '(GraphicsPath, SolidBrush, Pen)' in 'void List<(GraphicsPath, SolidBrush, Pen)>.Add((GraphicsPath, SolidBrush, Pen) item)' due to differences in the nullability of reference types.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L199
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L194
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L175
Argument of type '(SKPath skPath, SKPaint? fillPaint, SKPaint? strokePaint)' cannot be used for parameter 'item' of type '(SKPath, SKPaint, SKPaint)' in 'void List<(SKPath, SKPaint, SKPaint)>.Add((SKPath, SKPaint, SKPaint) item)' due to differences in the nullability of reference types.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L165
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L155
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestFile.cs#L25
Non-nullable field 'bytes' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L53
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (windows-latest, net8.0, 8.0.x, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (windows-latest, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (macos-26, net8.0, 8.0.x, -x64, true)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, 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, net8.0, 8.0.x, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (macos-26, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/