[INFO] fetching crate alumet 0.8.0... [INFO] checking alumet-0.8.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate alumet 0.8.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate alumet 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate alumet 0.8.0 [INFO] tweaked toml for crates.io crate alumet 0.8.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate alumet 0.8.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate alumet 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 017c8b2d159eaa24dae7cf8cffa1b90dec17e8c51a35fb7c4909f2e25fb9df0c [INFO] running `Command { std: "docker" "start" "-a" "017c8b2d159eaa24dae7cf8cffa1b90dec17e8c51a35fb7c4909f2e25fb9df0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "017c8b2d159eaa24dae7cf8cffa1b90dec17e8c51a35fb7c4909f2e25fb9df0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017c8b2d159eaa24dae7cf8cffa1b90dec17e8c51a35fb7c4909f2e25fb9df0c", kill_on_drop: false }` [INFO] [stdout] 017c8b2d159eaa24dae7cf8cffa1b90dec17e8c51a35fb7c4909f2e25fb9df0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c681cf551e2ee8e96ca7d6f05f57b8cae5c3d1d9f388df53b2d46f80b83646bb [INFO] running `Command { std: "docker" "start" "-a" "c681cf551e2ee8e96ca7d6f05f57b8cae5c3d1d9f388df53b2d46f80b83646bb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking sdd v3.0.8 [INFO] [stderr] Checking scc v2.3.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking jiff v0.2.5 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking timerfd v1.6.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-timerfd v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking alumet v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_inner` is never used [INFO] [stdout] --> src/measurement.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 449 | impl<'a> MeasurementAccumulator<'a> { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 456 | pub(crate) fn as_inner(&'a self) -> &'a MeasurementBuffer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntrospectionResponse` is never constructed [INFO] [stdout] --> src/pipeline/control/request/introspect.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct IntrospectionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreateOne` is never constructed [INFO] [stdout] --> src/pipeline/elements/source/control.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ControlMessage { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | CreateOne(CreateOneMessage), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Future` is never constructed [INFO] [stdout] --> src/pipeline/elements/source/trigger.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 261 | enum TriggerMechanismSpec { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 262 | TimeInterval(time::Instant, time::Duration), [INFO] [stdout] 263 | Future(fn() -> BoxFuture<'static, SourceTriggerOutput>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriggerMechanismSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll_interval_mut` is never used [INFO] [stdout] --> src/pipeline/elements/source/trigger/builder.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl TimeTriggerBuilder { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn poll_interval_mut(&mut self) -> &mut Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginErrorContext` is never constructed [INFO] [stdout] --> src/pipeline/error.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PluginErrorContext(PluginName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_plugin` is never used [INFO] [stdout] --> src/pipeline/error.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl PipelineError { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn for_plugin(plugin: PluginName, error: anyhow::Error) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agent/config.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn substitute_env(mut input: &str) -> Result, InvalidSubstitutionError> { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn substitute_env(mut input: &str) -> Result, InvalidSubstitutionError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/measurement.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn as_accumulator(&mut self) -> MeasurementAccumulator { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 400 | pub fn as_accumulator(&mut self) -> MeasurementAccumulator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn read(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn read(&self) -> RwLockReadGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | pub async fn write(&self) -> tokio::sync::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ --------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 290 | pub async fn write(&self) -> tokio::sync::RwLockWriteGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn read(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn read(&self) -> RwLockReadGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | pub(crate) fn blocking_read(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | pub(crate) fn blocking_read(&self) -> RwLockReadGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pipeline/builder.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn inspect(&self) -> BuilderInspector { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 422 | pub fn inspect(&self) -> BuilderInspector<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pipeline/util/channel.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn recv(&mut self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 10 - async fn recv(&mut self) -> Result; [INFO] [stdout] 10 + fn recv(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `measurements` [INFO] [stdout] --> tests/control.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | measurements: &mut alumet::measurement::MeasurementAccumulator, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_measurements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> tests/control.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | timestamp: alumet::measurement::Timestamp, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `measurements` [INFO] [stdout] --> tests/control.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | measurements: &mut alumet::measurement::MeasurementBuffer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_measurements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> tests/control.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | ctx: &alumet::pipeline::elements::transform::TransformContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `measurements` [INFO] [stdout] --> tests/control.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | measurements: &alumet::measurement::MeasurementBuffer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_measurements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> tests/control.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | ctx: &alumet::pipeline::elements::output::OutputContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestPlugin` is never constructed [INFO] [stdout] --> tests/metric_duplicates.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct TestPlugin; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_inner` is never used [INFO] [stdout] --> src/measurement.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 449 | impl<'a> MeasurementAccumulator<'a> { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 456 | pub(crate) fn as_inner(&'a self) -> &'a MeasurementBuffer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntrospectionResponse` is never constructed [INFO] [stdout] --> src/pipeline/control/request/introspect.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct IntrospectionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreateOne` is never constructed [INFO] [stdout] --> src/pipeline/elements/source/control.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ControlMessage { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | CreateOne(CreateOneMessage), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Future` is never constructed [INFO] [stdout] --> src/pipeline/elements/source/trigger.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 261 | enum TriggerMechanismSpec { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 262 | TimeInterval(time::Instant, time::Duration), [INFO] [stdout] 263 | Future(fn() -> BoxFuture<'static, SourceTriggerOutput>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriggerMechanismSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll_interval_mut` is never used [INFO] [stdout] --> src/pipeline/elements/source/trigger/builder.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl TimeTriggerBuilder { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn poll_interval_mut(&mut self) -> &mut Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginErrorContext` is never constructed [INFO] [stdout] --> src/pipeline/error.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PluginErrorContext(PluginName); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_plugin` is never used [INFO] [stdout] --> src/pipeline/error.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl PipelineError { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn for_plugin(plugin: PluginName, error: anyhow::Error) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agent/config.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn substitute_env(mut input: &str) -> Result, InvalidSubstitutionError> { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn substitute_env(mut input: &str) -> Result, InvalidSubstitutionError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/measurement.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn as_accumulator(&mut self) -> MeasurementAccumulator { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 400 | pub fn as_accumulator(&mut self) -> MeasurementAccumulator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn read(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn read(&self) -> RwLockReadGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | pub async fn write(&self) -> tokio::sync::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ --------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 290 | pub async fn write(&self) -> tokio::sync::RwLockWriteGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn read(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn read(&self) -> RwLockReadGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics/online.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | pub(crate) fn blocking_read(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | pub(crate) fn blocking_read(&self) -> RwLockReadGuard<'_, MetricRegistry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pipeline/builder.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn inspect(&self) -> BuilderInspector { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 422 | pub fn inspect(&self) -> BuilderInspector<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pipeline/util/channel.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn recv(&mut self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 10 - async fn recv(&mut self) -> Result; [INFO] [stdout] 10 + fn recv(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.24s [INFO] running `Command { std: "docker" "inspect" "c681cf551e2ee8e96ca7d6f05f57b8cae5c3d1d9f388df53b2d46f80b83646bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c681cf551e2ee8e96ca7d6f05f57b8cae5c3d1d9f388df53b2d46f80b83646bb", kill_on_drop: false }` [INFO] [stdout] c681cf551e2ee8e96ca7d6f05f57b8cae5c3d1d9f388df53b2d46f80b83646bb