Skip to content

.NET

.NET #3758

Triggered via merge group December 8, 2025 04:27
Status Success
Total duration 4m 0s
Artifacts 3

dotnet.yml

on: merge_group
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
build: src/Motor.Extensions.Hosting.Bridge/Internals/PassThoughService.cs#L25
Argument of type 'MotorCloudEvent<ByteData?>' cannot be used for parameter 'result' of type 'MotorCloudEvent<ByteData>' in 'Task<MotorCloudEvent<ByteData>?> Task.FromResult<MotorCloudEvent<ByteData>?>(MotorCloudEvent<ByteData>? result)' due to differences in the nullability of reference types.
build: src/Motor.Extensions.Hosting.Bridge/Internals/PassThoughService.cs#L25
The type 'Motor.Extensions.Hosting.Bridge.Internals.ByteData?' cannot be used as type parameter 'T' in the generic type or method 'MotorCloudEvent<ByteData>.CreateNew<T>(T, bool)'. Nullability of type argument 'Motor.Extensions.Hosting.Bridge.Internals.ByteData?' doesn't match 'class' constraint.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L55
Argument of type 'IOptions<RabbitMQPublisherOptions<T>?>' cannot be used for parameter 'config' of type 'IOptions<RabbitMQPublisherOptions<T>>' in 'RabbitMQMessagePublisher<T>.RabbitMQMessagePublisher(IRabbitMQConnectionFactory<T> connectionFactory, IOptions<RabbitMQPublisherOptions<T>> config, IOptions<PublisherOptions> publisherOptions, CloudEventFormatter cloudEventFormatter)' due to differences in the nullability of reference types.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L55
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'Options.Create<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match 'class' constraint.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L52
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'RabbitMQConnectionFactory<T>.From<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match constraint type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQBaseOptions'.
build: src/Motor.Extensions.Conversion.JsonNet/JsonNetDeserializer.cs#L21
Possible null reference return.
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L69
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L64
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L61
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L56
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L53
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
build: src/Motor.Extensions.Conversion.JsonNet/JsonNetDeserializer.cs#L21
Possible null reference return.
test-net9: src/Motor.Extensions.Hosting.NATS/NATSMessageConsumer.cs#L58
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
test-net9: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L55
Argument of type 'IOptions<RabbitMQPublisherOptions<T>?>' cannot be used for parameter 'config' of type 'IOptions<RabbitMQPublisherOptions<T>>' in 'RabbitMQMessagePublisher<T>.RabbitMQMessagePublisher(IRabbitMQConnectionFactory<T> connectionFactory, IOptions<RabbitMQPublisherOptions<T>> config, IOptions<PublisherOptions> publisherOptions, CloudEventFormatter cloudEventFormatter)' due to differences in the nullability of reference types.
test-net9: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L55
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'Options.Create<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match 'class' constraint.
test-net9: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L52
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'RabbitMQConnectionFactory<T>.From<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match constraint type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQBaseOptions'.
test-net9: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L69
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net9: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L64
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net9: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L61
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net9: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L56
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net9: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L53
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net8: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L69
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net8: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L64
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net8: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L61
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net8: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L56
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net8: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryDelegatingMessageHandler.cs#L53
'ActivityExtensions.SetStatus(Activity?, Status)' is obsolete: 'Call Activity.SetStatus instead this method will be removed in a future version.'
test-net8: src/Motor.Extensions.Hosting.NATS/NATSMessageConsumer.cs#L58
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
test-net8: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L55
Argument of type 'IOptions<RabbitMQPublisherOptions<T>?>' cannot be used for parameter 'config' of type 'IOptions<RabbitMQPublisherOptions<T>>' in 'RabbitMQMessagePublisher<T>.RabbitMQMessagePublisher(IRabbitMQConnectionFactory<T> connectionFactory, IOptions<RabbitMQPublisherOptions<T>> config, IOptions<PublisherOptions> publisherOptions, CloudEventFormatter cloudEventFormatter)' due to differences in the nullability of reference types.
test-net8: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L55
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'Options.Create<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match 'class' constraint.
test-net8: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L52
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'RabbitMQConnectionFactory<T>.From<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match constraint type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQBaseOptions'.
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals: Dockerfile#L10
JSONArgsRecommended: JSON arguments recommended for ENTRYPOINT to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/

Artifacts

Produced during runtime
Name Size Digest
GDATASoftwareAG~motornet~MN7A68.dockerbuild
15.2 KB
sha256:d7cca7bff204881d3fb80d231a1a2454f3ad0ccff1ad24e53622a84fe6cc9a33
artifacts
1.26 MB
sha256:e1e05834b4309f18784aea06c2db85eaaf7329c9cb868c1deabba477460b9272
artifacts-bridge
30 MB
sha256:bc4568cc3cf8b0ea4dd729b66ca3d5b770a1e17c9eee10469e10963394627c6f