Update opentelemetry-rust monorepo to 0.26.0 #1213
Annotations
6 errors and 3 warnings
Clippy!:
src/lib.rs#L128
error[E0277]: the trait bound `opentelemetry_sdk::trace::Tracer: opentelemetry::trace::tracer::Tracer` is not satisfied
--> src/cli/cmds/server.rs:128:30
|
128 | .with_tracer(tracer)
| ----------- ^^^^^^ the trait `opentelemetry::trace::tracer::Tracer` is not implemented for `opentelemetry_sdk::trace::Tracer`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `opentelemetry::trace::tracer::Tracer`:
opentelemetry::global::trace::BoxedTracer
opentelemetry::trace::noop::NoopTracer
opentelemetry_sdk::trace::tracer::Tracer
note: required by a bound in `tracing_opentelemetry::OpenTelemetryLayer::<S, T>::with_tracer`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-opentelemetry-0.23.0/src/layer.rs:581:17
|
579 | pub fn with_tracer<Tracer>(self, tracer: Tracer) -> OpenTelemetryLayer<S, Tracer>
| ----------- required by a bound in this associated function
580 | where
581 | Tracer: otel::Tracer + PreSampledTracer + 'static,
| ^^^^^^^^^^^^ required by this bound in `OpenTelemetryLayer::<S, T>::with_tracer`
|
Clippy!:
src/lib.rs#L128
error[E0277]: the trait bound `opentelemetry_sdk::trace::Tracer: tracing_opentelemetry::PreSampledTracer` is not satisfied
--> src/cli/cmds/server.rs:128:30
|
128 | .with_tracer(tracer)
| ----------- ^^^^^^ the trait `tracing_opentelemetry::PreSampledTracer` is not implemented for `opentelemetry_sdk::trace::Tracer`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tracing_opentelemetry::PreSampledTracer`:
opentelemetry::trace::noop::NoopTracer
opentelemetry_sdk::trace::tracer::Tracer
note: required by a bound in `tracing_opentelemetry::OpenTelemetryLayer::<S, T>::with_tracer`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-opentelemetry-0.23.0/src/layer.rs:581:32
|
579 | pub fn with_tracer<Tracer>(self, tracer: Tracer) -> OpenTelemetryLayer<S, Tracer>
| ----------- required by a bound in this associated function
580 | where
581 | Tracer: otel::Tracer + PreSampledTracer + 'static,
| ^^^^^^^^^^^^^^^^ required by this bound in `OpenTelemetryLayer::<S, T>::with_tracer`
|
Clippy!:
src/lib.rs#L129
error[E0599]: the method `with_filter` exists for struct `OpenTelemetryLayer<_, Tracer>`, but its trait bounds were not satisfied
--> src/cli/cmds/server.rs:129:18
|
127 | / tracing_opentelemetry::layer()
128 | | .with_tracer(tracer)
129 | | .with_filter(LevelFilter::from_level(config.logging.level))
| | -^^^^^^^^^^^ method cannot be called on `OpenTelemetryLayer<_, Tracer>` due to unsatisfied trait bounds
| |_________________|
|
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-opentelemetry-0.23.0/src/layer.rs:37:1
|
37 | pub struct OpenTelemetryLayer<S, T> {
| ----------------------------------- doesn't satisfy `_: Layer<_>`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.25.0/src/trace/tracer.rs:27:1
|
27 | pub struct Tracer {
| ----------------- doesn't satisfy `_: PreSampledTracer` or `_: Tracer`
|
= note: the following trait bounds were not satisfied:
`opentelemetry_sdk::trace::Tracer: opentelemetry::trace::tracer::Tracer`
which is required by `tracing_opentelemetry::OpenTelemetryLayer<_, opentelemetry_sdk::trace::Tracer>: tracing_subscriber::Layer<_>`
`opentelemetry_sdk::trace::Tracer: tracing_opentelemetry::PreSampledTracer`
which is required by `tracing_opentelemetry::OpenTelemetryLayer<_, opentelemetry_sdk::trace::Tracer>: tracing_subscriber::Layer<_>`
|
Clippy!
error: aborting due to 3 previous errors; 3 warnings emitted
|
Clippy!
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
|
Clippy!
{
"rendered": "Some errors have detailed explanations: E0277, E0599.\n",
"$message_type": "diagnostic",
"children": [],
"code": null,
"level": "failure-note",
"message": "Some errors have detailed explanations: E0277, E0599.",
"spans": []
}
|
Clippy!:
src/lib.rs#L142
warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader
--> src/cli/cmds/screenshot.rs:142:51
|
142 | let img: image::DynamicImage = image::io::Reader::new(Cursor::new(&contents)).decode()?;
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Clippy!:
src/lib.rs#L102
warning: use of deprecated method `opentelemetry::trace::TracerProvider::versioned_tracer`: Please use tracer_builder() instead
--> src/cli/cmds/server.rs:102:23
|
102 | Some(provider.versioned_tracer(
| ^^^^^^^^^^^^^^^^
|
Clippy!:
src/lib.rs#L30
warning: unused import: `util::SubscriberInitExt`
--> src/cli/cmds/server.rs:30:48
|
30 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt, Layer};
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Loading