Skip to content

Update SharedInfrastructure for Xunit V3 #4737

Update SharedInfrastructure for Xunit V3

Update SharedInfrastructure for Xunit V3 #4737

Triggered via pull request December 21, 2024 19:07
Status Failure
Total duration 2m 0s
Artifacts

build-and-test.yml

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

Annotations

30 errors and 22 warnings
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/SixLaborsXunitTestFramework.cs#L9
The type 'TestFrameworkAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L102
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L132
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L18
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L36
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L53
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/ImageInfoTests.cs#L11
The type 'FactAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/ImageInfoTests.cs#L33
The type 'FactAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/IO/BufferedReadStreamTests.cs#L15
The type 'TheoryData<T>' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Color/ColorTests.cs#L10
The type 'FactAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net8_" failed.
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/SixLaborsXunitTestFramework.cs#L9
The type 'TestFrameworkAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L102
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L132
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L18
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L36
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/Advanced/AdvancedImageExtensionsTests.cs#L53
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/ImageInfoTests.cs#L11
The type 'FactAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/ImageInfoTests.cs#L33
The type 'FactAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/IO/BufferedReadStreamTests.cs#L15
The type 'TheoryData<T>' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/IO/BufferedReadStreamTests.cs#L24
The type 'TheoryAttribute' exists in both 'xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' and 'xunit.v3.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -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_net8_" failed.
Build (false, windows-latest, net9.0, 9.0.x, true, -x64, false)
The operation was canceled.
Build (false, windows-latest, net8.0, 8.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net8_" failed.
Build (false, windows-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_net8_" 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_net8_" failed.
Build (false, macos-13, net8.0, 8.0.x, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (false, ubuntu-latest, net8.0, 8.0.x, -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.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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/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, net8.0, 8.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, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/LoadResizeSave/LoadResizeSaveStressRunner.cs#L37
This call site is reachable on all platforms. 'ImageFormat.Guid' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, ubuntu-latest, net9.0, 9.0.x, true, -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, net9.0, 9.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, net9.0, 9.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, net9.0, 9.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, net9.0, 9.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, net9.0, 9.0.x, true, -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, net9.0, 9.0.x, true, -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, net9.0, 9.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)