[INFO] fetching crate grin_core 5.3.3... [INFO] building grin_core-5.3.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate grin_core 5.3.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate grin_core 5.3.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate grin_core 5.3.3 [INFO] tweaked toml for crates.io crate grin_core 5.3.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grin_core 5.3.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.10.1) [INFO] [stderr] Adding croaring v1.1.0 (available: v2.4.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 801022a9a5cacd8ee0f8e119221679d7803ddec7547ac2c7c8e7df04f6b4af06 [INFO] running `Command { std: "docker" "start" "-a" "801022a9a5cacd8ee0f8e119221679d7803ddec7547ac2c7c8e7df04f6b4af06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "801022a9a5cacd8ee0f8e119221679d7803ddec7547ac2c7c8e7df04f6b4af06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801022a9a5cacd8ee0f8e119221679d7803ddec7547ac2c7c8e7df04f6b4af06", kill_on_drop: false }` [INFO] [stdout] 801022a9a5cacd8ee0f8e119221679d7803ddec7547ac2c7c8e7df04f6b4af06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9b6c7620be8f8f57ee2e6c294aa72d12684d66abdf450fd1b3d636dccbfbf9f [INFO] running `Command { std: "docker" "start" "-a" "c9b6c7620be8f8f57ee2e6c294aa72d12684d66abdf450fd1b3d636dccbfbf9f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.14 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling croaring-sys v2.1.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling thread-id v5.0.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling mock_instant v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling croaring v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling log4rs v1.4.0 [INFO] [stderr] Compiling grin_util v5.3.3 [INFO] [stderr] Compiling grin_keychain v5.3.3 [INFO] [stderr] Compiling grin_core v5.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/pow/common.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 43 + pub fn new(backend: &'a B) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 53 + pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] 191 + pub fn new(backend: &'a mut B) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 - pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] 201 + pub fn at(backend: &'a mut B, size: u64) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.22s [INFO] running `Command { std: "docker" "inspect" "c9b6c7620be8f8f57ee2e6c294aa72d12684d66abdf450fd1b3d636dccbfbf9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b6c7620be8f8f57ee2e6c294aa72d12684d66abdf450fd1b3d636dccbfbf9f", kill_on_drop: false }` [INFO] [stdout] c9b6c7620be8f8f57ee2e6c294aa72d12684d66abdf450fd1b3d636dccbfbf9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df15687c83392591f8d1c0a2578859b87723c94fe57baa4b26f177f7793fdd1b [INFO] running `Command { std: "docker" "start" "-a" "df15687c83392591f8d1c0a2578859b87723c94fe57baa4b26f177f7793fdd1b", kill_on_drop: false }` [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/pow/common.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 43 + pub fn new(backend: &'a B) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 53 + pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_core v5.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] 191 + pub fn new(backend: &'a mut B) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 - pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] 201 + pub fn at(backend: &'a mut B, size: u64) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestElem` is never constructed [INFO] [stdout] --> tests/common.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct TestElem(pub [u32; 4]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] 191 + pub fn new(backend: &'a mut B) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 - pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] 201 + pub fn at(backend: &'a mut B, size: u64) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/pow/common.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 43 + pub fn new(backend: &'a B) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 53 + pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] running `Command { std: "docker" "inspect" "df15687c83392591f8d1c0a2578859b87723c94fe57baa4b26f177f7793fdd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df15687c83392591f8d1c0a2578859b87723c94fe57baa4b26f177f7793fdd1b", kill_on_drop: false }` [INFO] [stdout] df15687c83392591f8d1c0a2578859b87723c94fe57baa4b26f177f7793fdd1b