Skip to content

Add .NET 10 target framework support #1932

Add .NET 10 target framework support

Add .NET 10 target framework support #1932

Re-run triggered November 18, 2025 08:39
Status Failure
Total duration 14m 17s
Artifacts 6

buildtest.yaml

on: pull_request
Matrix: Dotnet build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 30 warnings
e2e
Process completed with exit code 1.
Dotnet build (windows-latest): src/KubernetesClient/KubernetesJson.cs#L175
In externally visible method 'string KubernetesJson.Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/Models/ResourceQuantity.cs#L174
In externally visible method 'ResourceQuantity.implicit operator decimal(ResourceQuantity v)', validate parameter 'v' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/Models/KubernetesDateTimeOffsetYamlConverter.cs#L62
In externally visible method 'void KubernetesDateTimeOffsetYamlConverter.WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)', validate parameter 'emitter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/KubernetesJson.cs#L27
In externally visible method 'void Iso8601TimeSpanConverter.Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/KubernetesJson.cs#L68
In externally visible method 'void KubernetesDateTimeOffsetConverter.Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/KubernetesJson.cs#L205
In externally visible method 'string KubernetesJson.Serialize(JsonNode value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/KubernetesJson.cs#L175
In externally visible method 'string KubernetesJson.Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest): src/KubernetesClient/KubernetesJson.cs#L185
In externally visible method 'string KubernetesJson.Serialize(JsonDocument value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
e2e: src/KubernetesClient/GenericClient.cs#L126
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/GenericClient.cs#L119
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2730
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2609
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1465
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1348
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L760
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L643
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L579
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L451
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'

Artifacts

Produced during runtime
Name Size Digest
test-results-macOS-latest
6.04 MB
sha256:66a55b354e63234d6451f4b22a8bbb49831f80cfea9c0e4d1fa58590488fe631
test-results-windows-latest
9.51 MB
sha256:2e010a0162cc8445199870028e269b26f4ec8e481be0ca9f2ca98aad8a9208f7