Skip to content

Extract Kafka Header to CloudEvent #4657

Extract Kafka Header to CloudEvent

Extract Kafka Header to CloudEvent #4657

Triggered via pull request May 29, 2026 12:19
Status Failure
Total duration 3m 23s
Artifacts 2

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 36 warnings
format
Process completed with exit code 1.
format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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.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)
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.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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test-net9: test/Motor.Extensions.Conversion.JsonNet_UnitTest/OutputMessage.cs#L5
Non-nullable property 'Firstname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-net9: test/Motor.Extensions.Conversion.Protobuf_UnitTest/ProtobufDeserializerTests.cs#L43
Cannot convert null literal to non-nullable reference type.
test-net9: test/Motor.Extensions.Conversion.Protobuf_UnitTest/ProtobufSerializerTests.cs#L35
Cannot convert null literal to non-nullable reference type.
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.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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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'.
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.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.'

Artifacts

Produced during runtime
Name Size Digest
artifacts
1.33 MB
sha256:fb2221cab590e015a6d5b7203aa478f57cece36050b1eb60bb6d08c84e51b7ea
artifacts-bridge
33.5 MB
sha256:9e286c7c666ca563800d13109a2bd6c10d8606d533c987f506aa9c729a0be752