Skip to content

Bump OpenTelemetry.Extensions.Hosting from 1.0.0-rc9.4 to 1.5.1 #2052

Bump OpenTelemetry.Extensions.Hosting from 1.0.0-rc9.4 to 1.5.1

Bump OpenTelemetry.Extensions.Hosting from 1.0.0-rc9.4 to 1.5.1 #2052

Triggered via pull request June 30, 2023 05:12
Status Failure
Total duration 1m 13s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 8 warnings
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryHostBuilderExtensions.cs#L53
'IServiceCollection' does not contain a definition for 'AddOpenTelemetryTracing' and no accessible extension method 'AddOpenTelemetryTracing' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
build: src/Motor.Extensions.Diagnostics.Telemetry/TelemetryHostBuilderExtensions.cs#L53
'IServiceCollection' does not contain a definition for 'AddOpenTelemetryTracing' and no accessible extension method 'AddOpenTelemetryTracing' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
build
Process completed with exit code 1.
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: 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.