Skip to content

cleanup projects and environment variables #4686

cleanup projects and environment variables

cleanup projects and environment variables #4686

Re-run triggered November 14, 2024 09:33
Status Failure
Total duration 2m 22s
Artifacts

build-and-test.yml

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

Annotations

20 errors and 11 warnings
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Image{TPixel}.cs#L163
Change type of property 'PixelSourceUnsafe' from 'SixLabors.ImageSharp.Advanced.IPixelSource<TPixel>' to 'SixLabors.ImageSharp.ImageFrame<TPixel>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Metadata/Profiles/ICC/IccProfile.cs#L158
Prefer the generic overload 'System.Enum.IsDefined<TEnum>(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Metadata/Profiles/ICC/IccProfile.cs#L159
Prefer the generic overload 'System.Enum.IsDefined<TEnum>(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Metadata/Profiles/ICC/IccProfile.cs#L160
Prefer the generic overload 'System.Enum.IsDefined<TEnum>(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Metadata/Profiles/ICC/DataReader/IccDataReader.TagDataEntry.cs#L147
Prefer the generic overload 'System.Enum.IsDefined<TEnum>(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Processing/Processors/Convolution/Parameters/BokehBlurKernelDataProvider.cs#L24
Change type of property 'KernelScales' from 'System.Collections.Generic.IReadOnlyList<float>' to 'float[]' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Processing/Processors/Convolution/Parameters/BokehBlurKernelDataProvider.cs#L29
Change type of property 'KernelComponents' from 'System.Collections.Generic.IReadOnlyList<System.Numerics.Vector4[]>' to 'System.Numerics.Vector4[][]' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Formats/Webp/Lossy/YuvConversion.cs#L51
Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Formats/Webp/Lossy/YuvConversion.cs#L72
Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): src/ImageSharp/Formats/Webp/Lossy/YuvConversion.cs#L88
Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Build (false, windows-latest, net8.0, 8.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net9_" failed.
Build (false, windows-latest, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (false, windows-latest, net9.0, 9.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net9_" failed.
Build (false, windows-latest, net9.0, 9.0.x, true, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net9_" failed.
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (false, macos-13, net9.0, 9.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net9_" failed.
Build (false, macos-13, net9.0, 9.0.x, true, -x64, false)
The operation was canceled.
Build (false, macos-13, net8.0, 8.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net9_" failed.
Build (false, macos-13, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false)
No files were found with the provided path: tests/Images/ActualOutput/. No artifacts will be uploaded.
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/StructCasting.cs#L28
Argument 1 should be a variable because it is passed to a 'ref readonly' parameter
Build (false, ubuntu-latest, net8.0, 8.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, net8.0, 8.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, net8.0, 8.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, net8.0, 8.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, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/Codecs/Jpeg/BlockOperations/Block8x8F_LoadFromInt16.cs#L16
Member 'dest' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/Codecs/Jpeg/BlockOperations/Block8x8F_Quantize.cs#L14
Member 'result' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/Codecs/Jpeg/EncodeJpegComparison.cs#L25
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/Codecs/Jpeg/EncodeJpegFeatures.cs#L32
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/Codecs/Jpeg/EncodeJpegFeatures.cs#L35
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)