Skip to content

fix: NativeAOT/Trimming for generated tools #20

fix: NativeAOT/Trimming for generated tools

fix: NativeAOT/Trimming for generated tools #20

Triggered via pull request March 8, 2025 03:23
@gunpal5gunpal5
synchronize #20
gunpal5:main
Status Failure
Total duration 50s
Artifacts

pull-request.yml

on: pull_request
Test  /  Build, test and publish
46s
Test / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
Test / Build, test and publish
Process completed with exit code 1.
Test / Build, test and publish
The namespace 'CSharpToJsonSchema.IntegrationTests' already contains a definition for 'GetCurrentWeatherAsyncArgs'
Test / Build, test and publish
The namespace 'CSharpToJsonSchema.IntegrationTests' already contains a definition for 'GetCurrentWeatherArgs'
Test / Build, test and publish
The namespace 'CSharpToJsonSchema.IntegrationTests' already contains a definition for 'GetCurrentWeatherArgs'
Test / Build, test and publish
The namespace 'CSharpToJsonSchema.IntegrationTests' already contains a definition for 'GetCurrentWeatherAsyncArgs'
Test / Build, test and publish
The namespace 'CSharpToJsonSchema.IntegrationTests' already contains a definition for 'GetCurrentWeatherArgs'
Test / Build, test and publish
The namespace 'CSharpToJsonSchema.IntegrationTests' already contains a definition for 'GetCurrentWeatherArgs'
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionary.cs#L6
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'ImmutableDictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionary.cs#L6
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'ImmutableDictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L20
The using directive for 'CSharpToJsonSchema.Generators.JsonGen.System.Text.Json' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L19
The using directive for 'CSharpToJsonSchema.Generators.JsonGen.Model' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L18
The using directive for 'CSharpToJsonSchema.Generators.JsonGen.Helpers' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L17
The using directive for 'CSharpToJsonSchema.Generators.JsonGen.Base' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L15
The using directive for 'System.Text' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L14
The using directive for 'System.Diagnostics.CodeAnalysis' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L13
The using directive for 'System.Diagnostics' appeared previously in this namespace
Test / Build, test and publish: src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L12
The using directive for 'System.Collections.Immutable' appeared previously in this namespace