Bump the cargo-dependencies group across 1 directory with 29 updates #2398
Annotations
5 errors and 3 warnings
fpx/src/main.rs#L57
[clippy] reported by reviewdog 🐶
error[E0308]: mismatched types
--> fpx/src/main.rs:57:17
|
56 | .with_trace_config(
| ----------------- arguments to this method are incorrect
57 | / Config::default()
58 | | .with_resource(Resource::new(vec![KeyValue::new("service.name", "fpx")])),
| |_____________________________________________________________________________________________^ expected `Config`, found `opentelemetry_sdk::trace::Config`
|
= note: `opentelemetry_sdk::trace::Config` and `Config` have similar names, but are actually distinct types
note: `opentelemetry_sdk::trace::Config` is defined in crate `opentelemetry_sdk`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.27.1/src/trace/config.rs:21:1
|
21 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
note: `Config` is defined in crate `opentelemetry_sdk`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.26.0/src/trace/config.rs:21:1
|
21 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `opentelemetry_sdk` are being used?
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-otlp-0.26.0/src/span.rs:64:12
|
64 | pub fn with_trace_config(mut self, trace_config: sdk::trace::Config) -> Self {
| ^^^^^^^^^^^^^^^^^
Raw Output:
fpx/src/main.rs:57:17:e:error[E0308]: mismatched types
--> fpx/src/main.rs:57:17
|
56 | .with_trace_config(
| ----------------- arguments to this method are incorrect
57 | / Config::default()
58 | | .with_resource(Resource::new(vec![KeyValue::new("service.name", "fpx")])),
| |_____________________________________________________________________________________________^ expected `Config`, found `opentelemetry_sdk::trace::Config`
|
= note: `opentelemetry_sdk::trace::Config` and `Config` have similar names, but are actually distinct types
note: `opentelemetry_sdk::trace::Config` is defined in crate `opentelemetry_sdk`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.27.1/src/trace/config.rs:21:1
|
21 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
note: `Config` is defined in crate `opentelemetry_sdk`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.26.0/src/trace/config.rs:21:1
|
21 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `opentelemetry_sdk` are being used?
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-otlp-0.26.0/src/span.rs:64:12
|
64 | pub fn with_trace_config(mut self, trace_config: sdk::trace::Config) -> Self {
| ^^^^^^^^^^^^^^^^^
__END__
|
fpx/src/main.rs#L60
[clippy] reported by reviewdog 🐶
error[E0277]: the trait bound `opentelemetry_sdk::runtime::Tokio: opentelemetry_sdk::runtime::RuntimeChannel` is not satisfied
--> fpx/src/main.rs:60:28
|
60 | .install_batch(runtime::Tokio)
| ------------- ^^^^^^^^^^^^^^ the trait `opentelemetry_sdk::runtime::RuntimeChannel` is not implemented for `opentelemetry_sdk::runtime::Tokio`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.27.1/src/runtime.rs:193:1
|
193 | impl RuntimeChannel for Tokio {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `opentelemetry_sdk` are being used?
help: there are multiple different versions of crate `opentelemetry_sdk` in the dependency graph
--> fpx/src/main.rs:5:5
|
5 | use opentelemetry_otlp::WithExportConfig;
| ^^^^^^^^^^^^^^^^^^ one version of crate `opentelemetry_sdk` is used here, as a dependency of crate `opentelemetry_proto`
6 | use opentelemetry_sdk::trace::Config;
| ^^^^^^^^^^^^^^^^^ one version of crate `opentelemetry_sdk` is used here, as a direct dependency of the current crate
= help: you can use `cargo tree` to explore your dependency tree
note: required by a bound in `opentelemetry_otlp::OtlpTracePipeline::<opentelemetry_otlp::SpanExporterBuilder>::install_batch`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-otlp-0.26.0/src/span.rs:117:29
|
117 | pub fn install_batch<R: RuntimeChannel>(
| ^^^^^^^^^^^^^^ required by this bound in `OtlpTracePipeline::<SpanExporterBuilder>::install_batch`
Raw Output:
fpx/src/main.rs:60:28:e:error[E0277]: the trait bound `opentelemetry_sdk::runtime::Tokio: opentelemetry_sdk::runtime::RuntimeChannel` is not satisfied
--> fpx/src/main.rs:60:28
|
60 | .install_batch(runtime::Tokio)
| ------------- ^^^^^^^^^^^^^^ the trait `opentelemetry_sdk::runtime::RuntimeChannel` is not implemented for `opentelemetry_sdk::runtime::Tokio`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry_sdk-0.27.1/src/runtime.rs:193:1
|
193 | impl RuntimeChannel for Tokio {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `opentelemetry_sdk` are being used?
help: there are multiple different versions of crate `opentelemetry_sdk` in the dependency graph
--> fpx/src/main.rs:5:5
|
5 | use opentelemetry_otlp::WithExportConfig;
| ^^^^^^^^^^^^^^^^^^ one version of crate `opentelemetry_sdk` is used here, as a dependency of crate `opentelemetry_proto`
6 | use opentelemetry_sdk::trace::Config;
| ^^^^^^^^^^^^^^^^^ one version of crate `opentelemetry_sdk` is used here, as a direct dependency of the current crate
= help: you can use `cargo tree` to explore your dependency tree
note: required by a bound in `opentelemetry_otlp::OtlpTracePipeline::<opentelemetry_otlp::SpanExporterBuilder>::install_batch`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-otlp-0.26.0/src/span.rs:117:29
|
117 | pub fn install_batch<R: RuntimeChannel>(
| ^^^^^^^^^^^^^^ required by this bound in `OtlpTracePipeline::<SpanExporterBuilder>::install_batch`
__END__
|
fpx/src/main.rs#L63
[clippy] reported by reviewdog 🐶
error[E0277]: the trait bound `opentelemetry_sdk::trace::provider::TracerProvider: opentelemetry::trace::TracerProvider` is not satisfied
--> fpx/src/main.rs:63:52
|
63 | opentelemetry::global::set_tracer_provider(tracer_provider.clone());
| ------------------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^ the trait `opentelemetry::trace::TracerProvider` is not implemented for `opentelemetry_sdk::trace::provider::TracerProvider`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `opentelemetry::trace::TracerProvider`:
opentelemetry::global::GlobalTracerProvider
opentelemetry::trace::noop::NoopTracerProvider
opentelemetry_sdk::trace::TracerProvider
note: required by a bound in `opentelemetry::global::set_tracer_provider`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.1/src/global/trace.rs:430:8
|
426 | pub fn set_tracer_provider<P, T, S>(new_provider: P) -> GlobalTracerProvider
| ------------------- required by a bound in this function
...
430 | P: trace::TracerProvider<Tracer = T> + Send + Sync + 'static,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `set_tracer_provider`
Raw Output:
fpx/src/main.rs:63:52:e:error[E0277]: the trait bound `opentelemetry_sdk::trace::provider::TracerProvider: opentelemetry::trace::TracerProvider` is not satisfied
--> fpx/src/main.rs:63:52
|
63 | opentelemetry::global::set_tracer_provider(tracer_provider.clone());
| ------------------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^ the trait `opentelemetry::trace::TracerProvider` is not implemented for `opentelemetry_sdk::trace::provider::TracerProvider`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `opentelemetry::trace::TracerProvider`:
opentelemetry::global::GlobalTracerProvider
opentelemetry::trace::noop::NoopTracerProvider
opentelemetry_sdk::trace::TracerProvider
note: required by a bound in `opentelemetry::global::set_tracer_provider`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.1/src/global/trace.rs:430:8
|
426 | pub fn set_tracer_provider<P, T, S>(new_provider: P) -> GlobalTracerProvider
| ------------------- required by a bound in this function
...
430 | P: trace::TracerProvider<Tracer = T> + Send + Sync + 'static,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `set_tracer_provider`
__END__
|
fpx/src/main.rs#L65
[clippy] reported by reviewdog 🐶
error[E0599]: no method named `tracer` found for struct `opentelemetry_sdk::trace::provider::TracerProvider` in the current scope
--> fpx/src/main.rs:65:38
|
65 | let tracer = tracer_provider.tracer("fpx");
| ^^^^^^
|
note: there are multiple different versions of crate `opentelemetry` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.26.0/src/trace/tracer_provider.rs:10:1
|
10 | pub trait TracerProvider {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed
...
38 | fn tracer(&self, name: impl Into<Cow<'static, str>>) -> Self::Tracer {
| -------------------------------------------------------------------- the method is available for `opentelemetry_sdk::trace::provider::TracerProvider` here
|
::: fpx/src/main.rs:3:5
|
3 | use opentelemetry::trace::TracerProvider;
| ------------------------------------ `TracerProvider` imported here doesn't correspond to the right version of crate `opentelemetry`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.1/src/trace/tracer_provider.rs:10:1
|
10 | pub trait TracerProvider {
| ------------------------ this is the trait that was imported
help: there is a method `boxed_tracer` with a similar name
|
65 | let tracer = tracer_provider.boxed_tracer("fpx");
| ~~~~~~~~~~~~
Raw Output:
fpx/src/main.rs:65:38:e:error[E0599]: no method named `tracer` found for struct `opentelemetry_sdk::trace::provider::TracerProvider` in the current scope
--> fpx/src/main.rs:65:38
|
65 | let tracer = tracer_provider.tracer("fpx");
| ^^^^^^
|
note: there are multiple different versions of crate `opentelemetry` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.26.0/src/trace/tracer_provider.rs:10:1
|
10 | pub trait TracerProvider {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed
...
38 | fn tracer(&self, name: impl Into<Cow<'static, str>>) -> Self::Tracer {
| -------------------------------------------------------------------- the method is available for `opentelemetry_sdk::trace::provider::TracerProvider` here
|
::: fpx/src/main.rs:3:5
|
3 | use opentelemetry::trace::TracerProvider;
| ------------------------------------ `TracerProvider` imported here doesn't correspond to the right version of crate `opentelemetry`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.1/src/trace/tracer_provider.rs:10:1
|
10 | pub trait TracerProvider {
| ------------------------ this is the trait that was imported
help: there is a method `boxed_tracer` with a similar name
|
65 | let tracer = tracer_provider.boxed_tracer("fpx");
| ~~~~~~~~~~~~
__END__
|
|
fpx/src/main.rs#L58
[clippy] reported by reviewdog 🐶
warning: use of deprecated method `opentelemetry_sdk::trace::Config::with_resource`: Config is becoming private. Please use Builder::with_resource(...) instead.
--> fpx/src/main.rs:58:22
|
58 | .with_resource(Resource::new(vec![KeyValue::new("service.name", "fpx")])),
| ^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Raw Output:
fpx/src/main.rs:58:22:w:warning: use of deprecated method `opentelemetry_sdk::trace::Config::with_resource`: Config is becoming private. Please use Builder::with_resource(...) instead.
--> fpx/src/main.rs:58:22
|
58 | .with_resource(Resource::new(vec![KeyValue::new("service.name", "fpx")])),
| ^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
__END__
|
fpx/src/main.rs#L3
[clippy] reported by reviewdog 🐶
warning: unused import: `opentelemetry::trace::TracerProvider`
--> fpx/src/main.rs:3:5
|
3 | use opentelemetry::trace::TracerProvider;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw Output:
fpx/src/main.rs:3:5:w:warning: unused import: `opentelemetry::trace::TracerProvider`
--> fpx/src/main.rs:3:5
|
3 | use opentelemetry::trace::TracerProvider;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
|
fpx/src/main.rs#L13
[clippy] reported by reviewdog 🐶
warning: unused import: `tracing_subscriber::util::SubscriberInitExt`
--> fpx/src/main.rs:13:5
|
13 | use tracing_subscriber::util::SubscriberInitExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Raw Output:
fpx/src/main.rs:13:5:w:warning: unused import: `tracing_subscriber::util::SubscriberInitExt`
--> fpx/src/main.rs:13:5
|
13 | use tracing_subscriber::util::SubscriberInitExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
__END__
|
This job failed
Loading