Skip to content

V3 : Fix GIF, PNG, and WEBP Edge Case Handling #4863

V3 : Fix GIF, PNG, and WEBP Edge Case Handling

V3 : Fix GIF, PNG, and WEBP Edge Case Handling #4863

Triggered via pull request March 3, 2025 10:27
Status Failure
Total duration 5m 6s
Artifacts

build-and-test.yml

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

Annotations

29 errors and 41 warnings
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L16
UnscopedRefAttribute is only valid in C# 11 or later or when targeting net7.0 or later.
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L20
UnscopedRefAttribute is only valid in C# 11 or later or when targeting net7.0 or later.
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L172
UnscopedRefAttribute is only valid in C# 11 or later or when targeting net7.0 or later.
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L18
Struct members cannot return 'this' or other instance members by reference
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L18
Cannot use a result of 'Unsafe.As<ColorMatrix, ColorMatrix.Impl>(ref ColorMatrix)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L22
Struct members cannot return 'this' or other instance members by reference
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L22
Cannot use a result of 'Unsafe.AsRef<ColorMatrix>(in ColorMatrix)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L22
Cannot use a result of 'Unsafe.As<ColorMatrix, ColorMatrix.Impl>(ref ColorMatrix)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L174
Struct members cannot return 'this' or other instance members by reference
Build (false, macos-13, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L174
Cannot use a result of 'Unsafe.As<ColorMatrix.Impl, ColorMatrix>(ref ColorMatrix.Impl)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_macos-13_net6_0_6_0" failed.
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
The job was canceled because "false_macos-13_net6_0_6_0" failed.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_macos-13_net6_0_6_0" failed.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, windows-latest, net6.0, 6.0.x, -x64, false)
The job was canceled because "false_macos-13_net6_0_6_0" failed.
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L16
UnscopedRefAttribute is only valid in C# 11 or later or when targeting net7.0 or later.
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L20
UnscopedRefAttribute is only valid in C# 11 or later or when targeting net7.0 or later.
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L172
UnscopedRefAttribute is only valid in C# 11 or later or when targeting net7.0 or later.
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L18
Struct members cannot return 'this' or other instance members by reference
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L18
Cannot use a result of 'Unsafe.As<ColorMatrix, ColorMatrix.Impl>(ref ColorMatrix)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L22
Struct members cannot return 'this' or other instance members by reference
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L22
Cannot use a result of 'Unsafe.AsRef<ColorMatrix>(in ColorMatrix)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L22
Cannot use a result of 'Unsafe.As<ColorMatrix, ColorMatrix.Impl>(ref ColorMatrix)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L174
Struct members cannot return 'this' or other instance members by reference
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): src/ImageSharp/Primitives/ColorMatrix.Impl.cs#L174
Cannot use a result of 'Unsafe.As<ColorMatrix.Impl, ColorMatrix>(ref ColorMatrix.Impl)' in this context because it may expose variables referenced by parameter 'source' outside of their declaration scope
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_macos-13_net6_0_6_0" failed.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, macos-13, net6.0, 6.0.x, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, macos-13, net6.0, 6.0.x, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, macos-13, net6.0, 6.0.x, -x64, false)
No files were found with the provided path: tests/Images/ActualOutput/. No artifacts will be uploaded.
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L15
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L21
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L23
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/LoadResizeSave/LoadResizeSaveStressRunner.cs#L36
This call site is reachable on all platforms. 'ImageCodecInfo.GetImageEncoders()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L21
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L23
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L15
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/Codecs/MultiImageBenchmarkBase.cs#L18
This call site is reachable on all platforms. 'Bitmap' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Processing/Resize.cs#L19
Member 'bytes' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L15
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L21
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L23
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net6.0, 6.0.x, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, windows-latest, net6.0, 6.0.x, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L21
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/FromVector4.cs#L23
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)