Skip to content

Fix shared instance disposal using ObjectTracker reference counting at registration time #10044

Fix shared instance disposal using ObjectTracker reference counting at registration time

Fix shared instance disposal using ObjectTracker reference counting at registration time #10044

Triggered via pull request August 21, 2025 11:23
Status Failure
Total duration 7m 49s
Artifacts

dotnet.yml

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

Annotations

21 errors, 39 warnings, and 3 notices
modularpipeline (macos-latest)
Process completed with exit code 1.
modularpipeline (macos-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (macos-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (macos-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (macos-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (macos-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (macos-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (ubuntu-latest)
Process completed with exit code 1.
modularpipeline (ubuntu-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (ubuntu-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (ubuntu-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (ubuntu-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (ubuntu-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (ubuntu-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (windows-latest)
Process completed with exit code 1.
modularpipeline (windows-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (windows-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (windows-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (windows-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (windows-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (windows-latest): TUnit.Core/Attributes/TestData/ClassDataSources.cs#L19
The variable 'isNew' is assigned but its value is never used
modularpipeline (macos-latest)
No files were found with the provided path: **/*.*nupkg. No artifacts will be uploaded.
modularpipeline (macos-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (macos-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
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 (ubuntu-latest)
No files were found with the provided path: **/*.*nupkg. No artifacts will be uploaded.
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (ubuntu-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-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 (windows-latest)
No files were found with the provided path: **/*.*nupkg. No artifacts will be uploaded.
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.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (windows-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (windows-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (windows-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-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 (windows-latest): TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs#L168
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (windows-latest): TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs#L72
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs#L724
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
modularpipeline (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
modularpipeline (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
modularpipeline (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677