[INFO] fetching crate tetsy-trie-db 0.22.3... [INFO] checking tetsy-trie-db-0.22.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tetsy-trie-db 0.22.3 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tetsy-trie-db 0.22.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c88104906232e80549b519f4fc72a8d9fa08f04486db44f8bf4d6374654fc61 [INFO] running `Command { std: "docker" "start" "-a" "8c88104906232e80549b519f4fc72a8d9fa08f04486db44f8bf4d6374654fc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c88104906232e80549b519f4fc72a8d9fa08f04486db44f8bf4d6374654fc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c88104906232e80549b519f4fc72a8d9fa08f04486db44f8bf4d6374654fc61", kill_on_drop: false }` [INFO] [stdout] 8c88104906232e80549b519f4fc72a8d9fa08f04486db44f8bf4d6374654fc61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 833f46233b505f640d18962355779b83dfc15b11bcffc291dc523fd7436f978a [INFO] running `Command { std: "docker" "start" "-a" "833f46233b505f640d18962355779b83dfc15b11bcffc291dc523fd7436f978a", kill_on_drop: false }` [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking tetsy-hash-db v0.15.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking 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: 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] [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 1.97s [INFO] running `Command { std: "docker" "inspect" "833f46233b505f640d18962355779b83dfc15b11bcffc291dc523fd7436f978a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833f46233b505f640d18962355779b83dfc15b11bcffc291dc523fd7436f978a", kill_on_drop: false }` [INFO] [stdout] 833f46233b505f640d18962355779b83dfc15b11bcffc291dc523fd7436f978a