[INFO] fetching crate tetsy-trie-db 0.22.3... [INFO] testing tetsy-trie-db-0.22.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tetsy-trie-db 0.22.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tetsy-trie-db 0.22.3 [INFO] finished tweaking crates.io crate tetsy-trie-db 0.22.3 [INFO] tweaked toml for crates.io crate tetsy-trie-db 0.22.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tetsy-trie-db 0.22.3 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.9.1 (available: v0.16.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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-hex v2.1.0 [INFO] [stderr] Downloaded tetsy-hash-db v0.15.3 [INFO] [stderr] Downloaded ahash v0.4.8 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a78a8187204c2ad1da3420d6425d55f68462fce557187ff107d4ea4232e70871 [INFO] running `Command { std: "docker" "start" "-a" "a78a8187204c2ad1da3420d6425d55f68462fce557187ff107d4ea4232e70871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a78a8187204c2ad1da3420d6425d55f68462fce557187ff107d4ea4232e70871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78a8187204c2ad1da3420d6425d55f68462fce557187ff107d4ea4232e70871", kill_on_drop: false }` [INFO] [stdout] a78a8187204c2ad1da3420d6425d55f68462fce557187ff107d4ea4232e70871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0504f4c9c281e4e63cf06f89a882193f01ba89941b67996176bda5120a385ce [INFO] running `Command { std: "docker" "start" "-a" "c0504f4c9c281e4e63cf06f89a882193f01ba89941b67996176bda5120a385ce", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:1182:6 [INFO] [stdout] | [INFO] [stdout] 1182 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:1228:6 [INFO] [stdout] | [INFO] [stdout] 1228 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/lib.rs:269:2 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TrieFactory { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 268 | spec: TrieSpec, [INFO] [stdout] 269 | layout: L, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrieFactory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 203 | Box, CError >> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | Box, CError >> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 317 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 317 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn node(&self) -> Node { [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] 204 | pub fn node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proof/generate.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proof/verify.rs:454:6 [INFO] [stdout] | [INFO] [stdout] 454 | &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 454 | let _ = &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/triedb.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn iter<'a>(&'a self)-> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 139 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/triedbmut.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 334 | let _ = &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sectriedb.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn raw(&self) -> &TrieDB { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 47 | pub fn raw(&self) -> &TrieDB<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sectriedb.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fatdb.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 68 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibblevec.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn as_prefix(&self) -> Prefix { [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] 101 | pub fn as_prefix(&self) -> Prefix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibblevec.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn as_nibbleslice(&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] 199 | pub fn as_nibbleslice(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice { [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] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn right(&'a self) -> Partial { [INFO] [stdout] | ^^ ------- the same lifetime is hidden 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] 146 | pub fn right(&'a self) -> Partial<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn left(&'a self) -> Prefix { [INFO] [stdout] | ^^ ------ the same lifetime is hidden 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] 217 | pub fn left(&'a self) -> Prefix<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_codec.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn decode(data: &[u8]) -> Result { [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] 47 | fn decode(data: &[u8]) -> Result, Self::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "c0504f4c9c281e4e63cf06f89a882193f01ba89941b67996176bda5120a385ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0504f4c9c281e4e63cf06f89a882193f01ba89941b67996176bda5120a385ce", kill_on_drop: false }` [INFO] [stdout] c0504f4c9c281e4e63cf06f89a882193f01ba89941b67996176bda5120a385ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c5cae2dde569d1c940a82956c15d6066c9178571e8ca4258a99236c3aae8b55 [INFO] running `Command { std: "docker" "start" "-a" "9c5cae2dde569d1c940a82956c15d6066c9178571e8ca4258a99236c3aae8b55", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:1182:6 [INFO] [stdout] | [INFO] [stdout] 1182 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:1228:6 [INFO] [stdout] | [INFO] [stdout] 1228 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/lib.rs:269:2 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TrieFactory { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 268 | spec: TrieSpec, [INFO] [stdout] 269 | layout: L, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrieFactory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 203 | Box, CError >> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | Box, CError >> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 317 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 317 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn node(&self) -> Node { [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] 204 | pub fn node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proof/generate.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proof/verify.rs:454:6 [INFO] [stdout] | [INFO] [stdout] 454 | &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 454 | let _ = &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/triedb.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn iter<'a>(&'a self)-> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 139 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/triedbmut.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 334 | let _ = &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sectriedb.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn raw(&self) -> &TrieDB { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 47 | pub fn raw(&self) -> &TrieDB<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sectriedb.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fatdb.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 68 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibblevec.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn as_prefix(&self) -> Prefix { [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] 101 | pub fn as_prefix(&self) -> Prefix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibblevec.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn as_nibbleslice(&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] 199 | pub fn as_nibbleslice(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice { [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] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn right(&'a self) -> Partial { [INFO] [stdout] | ^^ ------- the same lifetime is hidden 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] 146 | pub fn right(&'a self) -> Partial<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn left(&'a self) -> Prefix { [INFO] [stdout] | ^^ ------ the same lifetime is hidden 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] 217 | pub fn left(&'a self) -> Prefix<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_codec.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn decode(data: &[u8]) -> Result { [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] 47 | fn decode(data: &[u8]) -> Result, Self::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:1182:6 [INFO] [stdout] | [INFO] [stdout] 1182 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:1228:6 [INFO] [stdout] | [INFO] [stdout] 1228 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/lib.rs:269:2 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TrieFactory { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 268 | spec: TrieSpec, [INFO] [stdout] 269 | layout: L, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrieFactory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 203 | Box, CError >> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | Box, CError >> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 317 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 317 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn node(&self) -> Node { [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] 204 | pub fn node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proof/generate.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proof/verify.rs:454:6 [INFO] [stdout] | [INFO] [stdout] 454 | &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 454 | let _ = &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/triedb.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn iter<'a>(&'a self)-> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 139 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/triedbmut.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 334 | let _ = &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sectriedb.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn raw(&self) -> &TrieDB { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 47 | pub fn raw(&self) -> &TrieDB<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sectriedb.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fatdb.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 68 | Box, CError>> + 'a>, [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | Box, CError>> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibblevec.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn as_prefix(&self) -> Prefix { [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] 101 | pub fn as_prefix(&self) -> Prefix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibblevec.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn as_nibbleslice(&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] 199 | pub fn as_nibbleslice(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice { [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] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn right(&'a self) -> Partial { [INFO] [stdout] | ^^ ------- the same lifetime is hidden 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] 146 | pub fn right(&'a self) -> Partial<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nibble/nibbleslice.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn left(&'a self) -> Prefix { [INFO] [stdout] | ^^ ------ the same lifetime is hidden 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] 217 | pub fn left(&'a self) -> Prefix<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_codec.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn decode(data: &[u8]) -> Result { [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] 47 | fn decode(data: &[u8]) -> Result, Self::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "9c5cae2dde569d1c940a82956c15d6066c9178571e8ca4258a99236c3aae8b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5cae2dde569d1c940a82956c15d6066c9178571e8ca4258a99236c3aae8b55", kill_on_drop: false }` [INFO] [stdout] 9c5cae2dde569d1c940a82956c15d6066c9178571e8ca4258a99236c3aae8b55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd45ec5eb79c244b1d2db88fd07e636e7bf196d3d8b6aca234811bfd11a3a9e5 [INFO] running `Command { std: "docker" "start" "-a" "bd45ec5eb79c244b1d2db88fd07e636e7bf196d3d8b6aca234811bfd11a3a9e5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/triedbmut.rs:1182:6 [INFO] [stderr] | [INFO] [stderr] 1182 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/triedbmut.rs:1228:6 [INFO] [stderr] | [INFO] [stderr] 1228 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: field `layout` is never read [INFO] [stderr] --> src/lib.rs:269:2 [INFO] [stderr] | [INFO] [stderr] 267 | pub struct TrieFactory { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 268 | spec: TrieSpec, [INFO] [stderr] 269 | layout: L, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TrieFactory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:202:15 [INFO] [stderr] | [INFO] [stderr] 202 | fn iter<'a>(&'a self) -> Result< [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 203 | Box, CError >> + 'a>, [INFO] [stderr] | --------------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 203 | Box, CError >> + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:316:15 [INFO] [stderr] | [INFO] [stderr] 316 | fn iter<'a>(&'a self) -> Result< [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 317 | Box, CError>> + 'a>, [INFO] [stderr] | -------------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 317 | Box, CError>> + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:204:14 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn node(&self) -> Node { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | pub fn node(&self) -> Node<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/proof/generate.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 211 | let _ = &mut hash.as_mut()[..encoded_child.len()].copy_from_slice(encoded_child); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/proof/verify.rs:454:6 [INFO] [stderr] | [INFO] [stderr] 454 | &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 454 | let _ = &mut hash.as_mut()[..node_data.len()].copy_from_slice(node_data.as_ref()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/triedb.rs:138:15 [INFO] [stderr] | [INFO] [stderr] 138 | fn iter<'a>(&'a self)-> Result< [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 139 | Box, CError>> + 'a>, [INFO] [stderr] | -------------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 139 | Box, CError>> + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/triedbmut.rs:334:5 [INFO] [stderr] | [INFO] [stderr] 334 | &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 334 | let _ = &mut hash.as_mut()[..data.len()].copy_from_slice(data); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sectriedb.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn raw(&self) -> &TrieDB { [INFO] [stderr] | ^^^^^ ---------- [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | pub fn raw(&self) -> &TrieDB<'_, L> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/sectriedb.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | fn iter<'a>(&'a self) -> Result< [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 78 | Box, CError>> + 'a>, [INFO] [stderr] | -------------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 78 | Box, CError>> + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/fatdb.rs:67:15 [INFO] [stderr] | [INFO] [stderr] 67 | fn iter<'a>(&'a self) -> Result< [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 68 | Box, CError>> + 'a>, [INFO] [stderr] | -------------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 68 | Box, CError>> + 'a>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nibble/nibblevec.rs:101:19 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn as_prefix(&self) -> Prefix { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn as_prefix(&self) -> Prefix<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nibble/nibblevec.rs:199:24 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn as_nibbleslice(&self) -> Option { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 199 | pub fn as_nibbleslice(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nibble/nibbleslice.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice { [INFO] [stderr] | ^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | pub fn from_stored(i: &NodeKey) -> NibbleSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/nibble/nibbleslice.rs:146:16 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn right(&'a self) -> Partial { [INFO] [stderr] | ^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 146 | pub fn right(&'a self) -> Partial<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/nibble/nibbleslice.rs:217:15 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn left(&'a self) -> Prefix { [INFO] [stderr] | ^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 217 | pub fn left(&'a self) -> Prefix<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node_codec.rs:47:18 [INFO] [stderr] | [INFO] [stderr] 47 | fn decode(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | fn decode(data: &[u8]) -> Result, Self::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tetsy-trie-db` (lib) generated 19 warnings (run `cargo fix --lib -p tetsy-trie-db` to apply 13 suggestions) [INFO] [stderr] warning: `tetsy-trie-db` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tetsy_trie_db-cbee1824e188439d) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test nibble::leftnibbleslice::tests::test_contains ... ok [INFO] [stdout] test nibble::leftnibbleslice::tests::test_at ... ok [INFO] [stdout] test nibble::leftnibbleslice::tests::test_len ... ok [INFO] [stdout] test nibble::leftnibbleslice::tests::test_cmp ... ok [INFO] [stdout] test nibble::nibbleslice::tests::basics ... ok [INFO] [stdout] test nibble::nibbleslice::tests::compare ... ok [INFO] [stdout] test nibble::nibbleslice::tests::encoded_pre ... ok [INFO] [stdout] test nibble::leftnibbleslice::tests::test_starts_with ... ok [INFO] [stdout] test nibble::nibbleslice::tests::from_encoded_pre ... ok [INFO] [stdout] test nibble::nibbleslice::tests::iterator ... ok [INFO] [stdout] test nibble::nibbleslice::tests::shared ... ok [INFO] [stdout] test nibble::nibblevec::tests::append_partial ... ok [INFO] [stdout] test nibble::nibbleslice::tests::range_iter ... ok [INFO] [stdout] test triedbmut::tests::nice_debug_for_node ... ok [INFO] [stdout] test triedbmut::tests::combine_test ... ok [INFO] [stdout] test nibble::nibblevec::tests::drop_lasts_test ... ok [INFO] [stdout] test nibble::nibblevec::tests::push_pop ... ok [INFO] [stderr] Doc-tests tetsy_trie_db [INFO] [stdout] test nibble::nibbleslice::tests::mid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/triedbmut.rs:1182:6 [INFO] [stderr] | [INFO] [stderr] 1182 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/triedbmut.rs:1228:6 [INFO] [stderr] | [INFO] [stderr] 1228 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/triedb.rs - triedb::TrieDB (line 36) ... ignored [INFO] [stdout] test src/triedbmut.rs - triedbmut::TrieDBMut (line 396) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd45ec5eb79c244b1d2db88fd07e636e7bf196d3d8b6aca234811bfd11a3a9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd45ec5eb79c244b1d2db88fd07e636e7bf196d3d8b6aca234811bfd11a3a9e5", kill_on_drop: false }` [INFO] [stdout] bd45ec5eb79c244b1d2db88fd07e636e7bf196d3d8b6aca234811bfd11a3a9e5