[INFO] fetching crate collection 0.1.1... [INFO] checking collection-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate collection 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate collection 0.1.1 [INFO] finished tweaking crates.io crate collection 0.1.1 [INFO] tweaked toml for crates.io crate collection 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate collection 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding seahash v3.0.7 (available: v4.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seahash v3.0.7 [INFO] [stderr] Downloaded trait-group v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a811042d818cebaf9a389a9f69469e35c4b0941c12b2d426130907756f9d11c1 [INFO] running `Command { std: "docker" "start" "-a" "a811042d818cebaf9a389a9f69469e35c4b0941c12b2d426130907756f9d11c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a811042d818cebaf9a389a9f69469e35c4b0941c12b2d426130907756f9d11c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a811042d818cebaf9a389a9f69469e35c4b0941c12b2d426130907756f9d11c1", kill_on_drop: false }` [INFO] [stdout] a811042d818cebaf9a389a9f69469e35c4b0941c12b2d426130907756f9d11c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f2b772c0ba898ff7b24caf0bee49dcc698a00f2af34c895dfa7d64e2b36eb01 [INFO] running `Command { std: "docker" "start" "-a" "9f2b772c0ba898ff7b24caf0bee49dcc698a00f2af34c895dfa7d64e2b36eb01", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking trait-group v0.1.0 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking collection v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ops/map.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn insert(&mut self, key: K, V); [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `collection` [INFO] [stdout] --> src/collection/mod.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | macro_rules! collection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ops/map.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn insert(&mut self, key: K, V); [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cardinality` is never constructed [INFO] [stdout] --> src/meta/cardinality.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cardinality(T); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `inner` are never used [INFO] [stdout] --> src/meta/cardinality.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Cardinality [INFO] [stdout] 11 | | where T: Val [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | pub fn new(t: &T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Max` is never constructed [INFO] [stdout] --> src/meta/max.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Max(T); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Key` is never constructed [INFO] [stdout] --> src/meta/key.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Key(K); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/meta/key.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Key { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(key: K) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SetOps` is never used [INFO] [stdout] --> src/ops/set.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait SetOps [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SetOpsCheckSum` is never used [INFO] [stdout] --> src/ops/set.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait SetOpsCheckSum [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VectorOps` is never used [INFO] [stdout] --> src/ops/vector.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VectorOps [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KV` is never constructed [INFO] [stdout] --> src/ops/map.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct KV [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `val`, and `into_val` are never used [INFO] [stdout] --> src/ops/map.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | / impl KV [INFO] [stdout] 26 | | where K: Val + Ord + PartialEq, [INFO] [stdout] 27 | | V: Clone [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] 28 | { [INFO] [stdout] 29 | fn new(k: K, v: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn val(&self) -> &V { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn into_val(self) -> V { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValContext` is never constructed [INFO] [stdout] --> src/ops/map.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ValContext<'a, T, M, R> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ops/map.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 74 | / impl<'a, T, M, R> ValContext<'a, T, M, R> [INFO] [stdout] 75 | | where T: 'a + Val + Keyed, [INFO] [stdout] 76 | | M: 'a + Meta, [INFO] [stdout] 77 | | R: Relative [INFO] [stdout] | |_____________________- associated function in this implementation [INFO] [stdout] 78 | { [INFO] [stdout] 79 | pub fn new(context: MutContext<'a, T, M, R>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MapOps` is never used [INFO] [stdout] --> src/ops/map.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait MapOps [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MapOpsKeySum` is never used [INFO] [stdout] --> src/ops/map.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait MapOpsKeySum [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:258:37 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn mut_context(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 259 | branch: Branch) [INFO] [stdout] 260 | -> MutContext { [INFO] [stdout] | ------------------- the same lifetime is hidden 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] 260 | -> MutContext<'_, T, M, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn relative_n(&self, to: usize) -> RelStash { [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] 39 | pub fn relative_n(&self, to: usize) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn relative(&self, to: Location) -> RelStash { [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] 46 | pub fn relative(&self, to: Location) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn top(&self) -> RelStash { [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] 66 | pub fn top(&self) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn top(&self) -> RelStash { [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] 165 | pub fn top(&self) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn relative(&self, to: Location) -> RelStash { [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] 172 | pub fn relative(&self, to: Location) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn relative_n(&self, to: usize) -> RelStash { [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] 179 | pub fn relative_n(&self, to: usize) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn meta(&self) -> Cow { [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] 37 | pub fn meta(&self) -> Cow<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn meta(&self) -> Option> { [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] 165 | pub fn meta(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/meta/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn submeta(&self) -> Cow; [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] 25 | fn submeta(&self) -> Cow<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/meta/key.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | fn submeta(&self) -> Cow> { [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] 110 | fn submeta(&self) -> Cow<'_, CheckSum> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/vector.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_mut(&mut self, i: usize) -> Option>; [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] 19 | fn get_mut(&mut self, i: usize) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/vector.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_mut(&mut self, i: usize) -> Option> { [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] 43 | fn get_mut(&mut self, i: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/map.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_mut(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 115 | key: K) [INFO] [stdout] 116 | -> Option, M, Beginning>>; [INFO] [stdout] | ---------------------------------- the same lifetime is hidden 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] 116 | -> Option, M, Beginning>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/map.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | fn get_mut(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 189 | key: K) [INFO] [stdout] 190 | -> Option, M, Beginning>> { [INFO] [stdout] | ---------------------------------- the same lifetime is hidden 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] 190 | -> Option, M, Beginning>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/ops/vector.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VectorOps [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_val` is never used [INFO] [stdout] --> src/ops/map.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 25 | / impl KV [INFO] [stdout] 26 | | where K: Val + Ord + PartialEq, [INFO] [stdout] 27 | | V: Clone [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn into_val(self) -> V { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/ops/map.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait MapOps [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 112 | fn remove(&mut self, key: K) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:258:37 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn mut_context(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 259 | branch: Branch) [INFO] [stdout] 260 | -> MutContext { [INFO] [stdout] | ------------------- the same lifetime is hidden 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] 260 | -> MutContext<'_, T, M, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn relative_n(&self, to: usize) -> RelStash { [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] 39 | pub fn relative_n(&self, to: usize) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn relative(&self, to: Location) -> RelStash { [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] 46 | pub fn relative(&self, to: Location) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn top(&self) -> RelStash { [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] 66 | pub fn top(&self) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn top(&self) -> RelStash { [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] 165 | pub fn top(&self) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn relative(&self, to: Location) -> RelStash { [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] 172 | pub fn relative(&self, to: Location) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stash/mod.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn relative_n(&self, to: usize) -> RelStash { [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] 179 | pub fn relative_n(&self, to: usize) -> RelStash<'_, T, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn meta(&self) -> Cow { [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] 37 | pub fn meta(&self) -> Cow<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/node.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn meta(&self) -> Option> { [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] 165 | pub fn meta(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/meta/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn submeta(&self) -> Cow; [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] 25 | fn submeta(&self) -> Cow<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/meta/key.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | fn submeta(&self) -> Cow> { [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] 110 | fn submeta(&self) -> Cow<'_, CheckSum> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/set.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / collection!(Set { [INFO] [stdout] 112 | | max: Max, [INFO] [stdout] 113 | | checksum: CheckSum, [INFO] [stdout] 114 | | } where T: Ord + Hash); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/set.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / collection!(Set { [INFO] [stdout] 112 | | max: Max, [INFO] [stdout] 113 | | checksum: CheckSum, [INFO] [stdout] 114 | | } where T: Ord + Hash); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/vector.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_mut(&mut self, i: usize) -> Option>; [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] 19 | fn get_mut(&mut self, i: usize) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/vector.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_mut(&mut self, i: usize) -> Option> { [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] 43 | fn get_mut(&mut self, i: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/vector.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / collection!(Vector { [INFO] [stdout] 177 | | cardinality: Cardinality, [INFO] [stdout] 178 | | checksum: CheckSum, [INFO] [stdout] 179 | | } where T: Hash); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/vector.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / collection!(Vector { [INFO] [stdout] 177 | | cardinality: Cardinality, [INFO] [stdout] 178 | | checksum: CheckSum, [INFO] [stdout] 179 | | } where T: Hash); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/map.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_mut(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 115 | key: K) [INFO] [stdout] 116 | -> Option, M, Beginning>>; [INFO] [stdout] | ---------------------------------- the same lifetime is hidden 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] 116 | -> Option, M, Beginning>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ops/map.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | fn get_mut(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 189 | key: K) [INFO] [stdout] 190 | -> Option, M, Beginning>> { [INFO] [stdout] | ---------------------------------- the same lifetime is hidden 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] 190 | -> Option, M, Beginning>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/map.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | / collection!(Map { [INFO] [stdout] 229 | | key: Key, [INFO] [stdout] 230 | | keysum: KeySum, [INFO] [stdout] 231 | | valsum: ValSum, [INFO] [stdout] 232 | | } where T: Keyed, T::Key: Hash, T::Value: Hash); [INFO] [stdout] | |___________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/map.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | / collection!(Map { [INFO] [stdout] 229 | | key: Key, [INFO] [stdout] 230 | | keysum: KeySum, [INFO] [stdout] 231 | | valsum: ValSum, [INFO] [stdout] 232 | | } where T: Keyed, T::Key: Hash, T::Value: Hash); [INFO] [stdout] | |___________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collection/mod.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<$_submeta<$_subtype>> { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ops/map.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | / collection!(Map { [INFO] [stdout] 229 | | key: Key, [INFO] [stdout] 230 | | keysum: KeySum, [INFO] [stdout] 231 | | valsum: ValSum, [INFO] [stdout] 232 | | } where T: Keyed, T::Key: Hash, T::Value: Hash); [INFO] [stdout] | |___________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `as_ref` which comes from the expansion of the macro `collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn submeta(&self) -> Cow<'_, $_submeta<$_subtype>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "9f2b772c0ba898ff7b24caf0bee49dcc698a00f2af34c895dfa7d64e2b36eb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f2b772c0ba898ff7b24caf0bee49dcc698a00f2af34c895dfa7d64e2b36eb01", kill_on_drop: false }` [INFO] [stdout] 9f2b772c0ba898ff7b24caf0bee49dcc698a00f2af34c895dfa7d64e2b36eb01