Skip to content

Bump Confluent.Kafka from 1.9.0 to 2.2.0 #2174

Bump Confluent.Kafka from 1.9.0 to 2.2.0

Bump Confluent.Kafka from 1.9.0 to 2.2.0 #2174

Triggered via pull request August 2, 2023 04:56
Status Failure
Total duration 10m 16s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 22 warnings
build
Process completed with exit code 1.
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/Motor.Extensions.Conversion.JsonNet/JsonNetDeserializer.cs#L20
Possible null reference return.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L48
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.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L51
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#L51
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: test/Motor.Extensions.Hosting_UnitTest/BackgroundTaskQueueTests.cs#L44
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting_UnitTest/MultiOutputServiceAdapterTests.cs#L84
Converting null literal or possible null value to non-nullable type.
build: test/Motor.Extensions.Hosting_UnitTest/MultiOutputServiceAdapterTests.cs#L84
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/Validation/RequireValidAttributeTests.cs#L51
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/Validation/RequireValidAttributeTests.cs#L52
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/Validation/RequireValidAttributeTests.cs#L53
Cannot convert null literal to non-nullable reference type.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L48
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.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L51
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#L51
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.Conversion.JsonNet/JsonNetDeserializer.cs#L20
Possible null reference return.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/Validation/RequireValidAttributeTests.cs#L51
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/Validation/RequireValidAttributeTests.cs#L52
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/Validation/RequireValidAttributeTests.cs#L53
Cannot convert null literal to non-nullable reference type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/RabbitMQConnectionFactoryTests.cs#L17
Converting null literal or possible null value to non-nullable type.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/RabbitMQConnectionFactoryTests.cs#L17
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQConsumerOptions<string>?' cannot be used as type parameter 'TOptions' in the generic type or method 'RabbitMQConnectionFactory<string>.From<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQConsumerOptions<string>?' doesn't match constraint type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQBaseOptions'.
build: test/Motor.Extensions.Hosting.RabbitMQ_UnitTest/RabbitMQConnectionFactoryTests.cs#L77
Cannot convert null literal to non-nullable reference type.