Skip to content

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

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

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

Re-run triggered April 22, 2026 07:42
Status Cancelled
Total duration 2m 7s
Artifacts 2

build-and-test.yml

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

Annotations

1 error and 21 warnings
Build (macos-26, net8.0, 8.0.x, -x64, true)
Process completed with exit code 1.
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, 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 (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/DrawingCanvasTests.Process.cs#L181
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/DrawingCanvasTests.Process.cs#L173
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/DrawingCanvasTests.Process.cs#L171
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L353
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L353
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L334
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L321
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L311
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L124
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L124
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, 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, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.ManualBenchmarks/DrawingThroughputBenchmark.cs#L14
Declare types in namespaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050)
Build (macos-26, net8.0, 8.0.x, -x64, true): 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 (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/PolygonFactory.cs#L69
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L65
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L59
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.ManualBenchmarks/DrawingThroughputBenchmark.cs#L31
Nullability of reference types in value of type 'List<(IPath Path, SolidBrush? Fill, SolidPen? Stroke)>' doesn't match target type 'List<(IPath Path, SolidBrush Fill, SolidPen Stroke)>'.

Artifacts

Produced during runtime
Name Size Digest
actual_output_macOS_net8.0-x64.zip Expired
43.1 KB
sha256:e25b9d94327bfe7832f811790afa80e5c5848451b21609ce23b2c2c468a3ac06