[INFO] fetching crate tetsy-trie-db 0.22.3... [INFO] building tetsy-trie-db-0.22.3 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate tetsy-trie-db 0.22.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tetsy-trie-db 0.22.3 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.9.1 (available: v0.15.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47fb223e21d04bd3cda90df0bdb7f1d6c45a27e60dfba69e7f2aa56b88ee5b77 [INFO] running `Command { std: "docker" "start" "-a" "47fb223e21d04bd3cda90df0bdb7f1d6c45a27e60dfba69e7f2aa56b88ee5b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47fb223e21d04bd3cda90df0bdb7f1d6c45a27e60dfba69e7f2aa56b88ee5b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47fb223e21d04bd3cda90df0bdb7f1d6c45a27e60dfba69e7f2aa56b88ee5b77", kill_on_drop: false }` [INFO] [stdout] 47fb223e21d04bd3cda90df0bdb7f1d6c45a27e60dfba69e7f2aa56b88ee5b77 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a3670aadae689bed88db54c603209be54cc043657a70cc0689ba3a9d3fdf656 [INFO] running `Command { std: "docker" "start" "-a" "3a3670aadae689bed88db54c603209be54cc043657a70cc0689ba3a9d3fdf656", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/triedb.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn iter<'a>(&'a self)-> Result< [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 139 | Box, CError>> + 'a>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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: elided lifetime has a name [INFO] [stdout] --> src/sectriedb.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 77 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 78 | Box, CError>> + 'a>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/fatdb.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 67 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 68 | Box, CError>> + 'a>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nibble/nibbleslice.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> NibbleSlice<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn right(&'a self) -> Partial { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nibble/nibbleslice.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> NibbleSlice<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn left(&'a self) -> Prefix { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:203:42 [INFO] [stdout] | [INFO] [stdout] 202 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 203 | Box, CError >> + 'a>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:317:42 [INFO] [stdout] | [INFO] [stdout] 316 | fn iter<'a>(&'a self) -> Result< [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 317 | Box, CError>> + 'a>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/triedb.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | while let Some(item) = self.inner.next() { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `item` calls a custom destructor [INFO] [stdout] | `item` will be dropped later as of Edition 2024 [INFO] [stdout] 300 | match item { [INFO] [stdout] 301 | Ok((mut prefix, _, node)) => { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `prefix` calls a custom destructor [INFO] [stdout] | `prefix` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `item` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `prefix` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/iter_build.rs:262:36 [INFO] [stdout] | [INFO] [stdout] 259 | let mut depth_queue = CacheAccum::::new(); [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | `depth_queue` calls a custom destructor [INFO] [stdout] | `depth_queue` will be dropped later as of Edition 2024 [INFO] [stdout] 260 | // compare iter ordering [INFO] [stdout] 261 | let mut iter_input = input.into_iter(); [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `iter_input` calls a custom destructor [INFO] [stdout] | `iter_input` will be dropped later as of Edition 2024 [INFO] [stdout] 262 | if let Some(mut previous_value) = iter_input.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 309 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/trie_codec.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | while let Some(mut last_entry) = stack.pop() { [INFO] [stdout] | -------------- ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `last_entry` calls a custom destructor [INFO] [stdout] | `last_entry` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | output[last_entry.output_index] = last_entry.encode_node()?; [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 216 | } [INFO] [stdout] 217 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `last_entry` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/trie_codec.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 188 | for item in iter { [INFO] [stdout] | ---- ---- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `item` calls a custom destructor [INFO] [stdout] | `item` will be dropped later as of Edition 2024 [INFO] [stdout] 189 | match item { [INFO] [stdout] 190 | Ok((prefix, node_hash, node)) => { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `prefix` calls a custom destructor [INFO] [stdout] | `prefix` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | while let Some(mut last_entry) = stack.pop() { [INFO] [stdout] | -------------- ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `last_entry` calls a custom destructor [INFO] [stdout] | `last_entry` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | output[last_entry.output_index] = last_entry.encode_node()?; [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 216 | } [INFO] [stdout] 217 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 236 | Err(err) => match *err { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `err` calls a custom destructor [INFO] [stdout] | `err` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `item` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `prefix` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `last_entry` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/trie_codec.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | while let Some(entry) = stack.pop() { [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `entry` calls a custom destructor [INFO] [stdout] | `entry` will be dropped later as of Edition 2024 [INFO] [stdout] 247 | output[entry.output_index] = entry.encode_node()?; [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 248 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `entry` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [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: 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: 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] [stderr] error: could not compile `tetsy-trie-db` (lib) due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a3670aadae689bed88db54c603209be54cc043657a70cc0689ba3a9d3fdf656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3670aadae689bed88db54c603209be54cc043657a70cc0689ba3a9d3fdf656", kill_on_drop: false }` [INFO] [stdout] 3a3670aadae689bed88db54c603209be54cc043657a70cc0689ba3a9d3fdf656