[INFO] fetching crate grin_core 5.3.3... [INFO] building grin_core-5.3.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate grin_core 5.3.3 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate grin_core 5.3.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grin_util v5.3.3 [INFO] [stderr] Downloaded grin_keychain v5.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a5c973f4e87acb1fee3c11c2b90161f342acee5a8a89b6b0374390922b8411b [INFO] running `Command { std: "docker" "start" "-a" "5a5c973f4e87acb1fee3c11c2b90161f342acee5a8a89b6b0374390922b8411b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a5c973f4e87acb1fee3c11c2b90161f342acee5a8a89b6b0374390922b8411b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5c973f4e87acb1fee3c11c2b90161f342acee5a8a89b6b0374390922b8411b", kill_on_drop: false }` [INFO] [stdout] 5a5c973f4e87acb1fee3c11c2b90161f342acee5a8a89b6b0374390922b8411b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e676bdead6e68f6c4051ad560a060dc1e403a5d633bdfde27746c3d9e01f2299 [INFO] running `Command { std: "docker" "start" "-a" "e676bdead6e68f6c4051ad560a060dc1e403a5d633bdfde27746c3d9e01f2299", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling thread-id v5.0.0 [INFO] [stderr] Compiling mock_instant v0.6.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [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 thiserror v2.0.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.14 [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/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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 25.63s [INFO] running `Command { std: "docker" "inspect" "e676bdead6e68f6c4051ad560a060dc1e403a5d633bdfde27746c3d9e01f2299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e676bdead6e68f6c4051ad560a060dc1e403a5d633bdfde27746c3d9e01f2299", kill_on_drop: false }` [INFO] [stdout] e676bdead6e68f6c4051ad560a060dc1e403a5d633bdfde27746c3d9e01f2299 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1800a5fa207e1edb5387a337f67591f1adb193dd085184c384e325c5a6479087 [INFO] running `Command { std: "docker" "start" "-a" "1800a5fa207e1edb5387a337f67591f1adb193dd085184c384e325c5a6479087", kill_on_drop: false }` [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/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: 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] [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: 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/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: 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 8.54s [INFO] running `Command { std: "docker" "inspect" "1800a5fa207e1edb5387a337f67591f1adb193dd085184c384e325c5a6479087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1800a5fa207e1edb5387a337f67591f1adb193dd085184c384e325c5a6479087", kill_on_drop: false }` [INFO] [stdout] 1800a5fa207e1edb5387a337f67591f1adb193dd085184c384e325c5a6479087