[INFO] fetching crate alumet 0.8.0... [INFO] checking alumet-0.8.0 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate alumet 0.8.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alumet 0.8.0 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded env_logger v0.11.7 [INFO] [stderr] Downloaded scc v2.3.3 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac0ff8224ba08dab9e93577c6365e7d401343d8a3e75048ccce9d44dd4d00fcb [INFO] running `Command { std: "docker" "start" "-a" "ac0ff8224ba08dab9e93577c6365e7d401343d8a3e75048ccce9d44dd4d00fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0ff8224ba08dab9e93577c6365e7d401343d8a3e75048ccce9d44dd4d00fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0ff8224ba08dab9e93577c6365e7d401343d8a3e75048ccce9d44dd4d00fcb", kill_on_drop: false }` [INFO] [stdout] ac0ff8224ba08dab9e93577c6365e7d401343d8a3e75048ccce9d44dd4d00fcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca21d80fdf5937238ec0104cc3398251a7ae8ff150f27513b322f28b52dd9233 [INFO] running `Command { std: "docker" "start" "-a" "ca21d80fdf5937238ec0104cc3398251a7ae8ff150f27513b322f28b52dd9233", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking sdd v3.0.8 [INFO] [stderr] Checking jiff v0.2.5 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking scc v2.3.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking timerfd v1.6.0 [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] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking thiserror v1.0.69 [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 futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.02s [INFO] running `Command { std: "docker" "inspect" "ca21d80fdf5937238ec0104cc3398251a7ae8ff150f27513b322f28b52dd9233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca21d80fdf5937238ec0104cc3398251a7ae8ff150f27513b322f28b52dd9233", kill_on_drop: false }` [INFO] [stdout] ca21d80fdf5937238ec0104cc3398251a7ae8ff150f27513b322f28b52dd9233