Skip to content

fix: JUnit reporter was encoding xml files in UTF-16 instead of UTF-8 #13043

fix: JUnit reporter was encoding xml files in UTF-16 instead of UTF-8

fix: JUnit reporter was encoding xml files in UTF-16 instead of UTF-8 #13043

Re-run triggered December 6, 2025 15:52
Status Failure
Total duration 21m 26s
Artifacts 5

dotnet.yml

on: pull_request
Matrix: modularpipeline
Fit to window
Zoom out
Zoom in

Annotations

1 error and 95 warnings
modularpipeline (windows-latest)
Process completed with exit code 1.
modularpipeline (windows-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (windows-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (windows-latest): TUnit.TestProject/SimpleGenericTests.cs#L42
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L304
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L293
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L260
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L252
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L245
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L67
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/TransactionTest.cs#L11
Non-nullable field '_scope' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (ubuntu-latest): TUnit.TestProject/Tests.cs#L245
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): TUnit.TestProject/SimpleGenericTests.cs#L59
Argument of type 'ValueAssertion<T2>' cannot be used for parameter 'source' of type 'IAssertionSource<T2?>' in 'NotEqualsAssertion<T2?> NotEqualsAssertionExtensions.IsNotEqualTo<T2?>(IAssertionSource<T2?> source, T2? notExpected, IEqualityComparer<T2?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (ubuntu-latest): TUnit.TestProject/SimpleGenericTests.cs#L58
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (ubuntu-latest): TUnit.TestProject/SimpleGenericTests.cs#L13
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (ubuntu-latest): TUnit.TestProject/SimpleGenericTests.cs#L26
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (ubuntu-latest): TUnit.TestProject/SimpleGenericTests.cs#L42
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (ubuntu-latest): TUnit.TestProject/Tests.cs#L67
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): TUnit.TestProject/TransactionTest.cs#L11
Non-nullable field '_scope' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (macos-latest): TUnit.TestProject/TestContextIsolationTests.cs#L129
'CollectionAssertionBase<IEnumerable<TestContext>, TestContext>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.TestProject/TestContextIsolationTests.cs#L125
'CollectionAssertionBase<IEnumerable<TestContext>, TestContext>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.TestProject/SimpleGenericTests.cs#L59
Argument of type 'ValueAssertion<T2>' cannot be used for parameter 'source' of type 'IAssertionSource<T2?>' in 'NotEqualsAssertion<T2?> NotEqualsAssertionExtensions.IsNotEqualTo<T2?>(IAssertionSource<T2?> source, T2? notExpected, IEqualityComparer<T2?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (macos-latest): TUnit.TestProject/SimpleGenericTests.cs#L58
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (macos-latest): TUnit.TestProject/SimpleGenericTests.cs#L13
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (macos-latest): TUnit.TestProject/SimpleGenericTests.cs#L42
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (macos-latest): TUnit.TestProject/SimpleGenericTests.cs#L26
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
modularpipeline (macos-latest): TUnit.TestProject/TransactionTest.cs#L11
Non-nullable field '_scope' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
modularpipeline (macos-latest): TUnit.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Test Method and Structure Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.

Artifacts

Produced during runtime
Name Size Digest
NuGetPackages-macos-latest Expired
9.76 MB
sha256:06a881efd7fce9393eaf77fadfdf2f6dde7d37ebc0a041bd3d166bd2fdfaf283
NuGetPackages-ubuntu-latest Expired
9.76 MB
sha256:2316cc673dbd78a7c6e1d492c183c55f7c6115e8299f8547201fcf3d92cfefaa
NuGetPackages-windows-latest Expired
21.4 KB
sha256:bd4a672868e4d1f1cf0d125184f7f5661205a32e13bf8ace333f30abb1bd4274
TestingPlatformDiagnosticLogsmacos-latest Expired
577 KB
sha256:ccc66c9348e363f3d39a5c1aebc1c362569133ce8042ad0380c8b76a86228110
TestingPlatformDiagnosticLogsubuntu-latest Expired
581 KB
sha256:baa418724063af83626cbbd03d872e9fa369d6ce3871f5f67effb778781d8acd