[INFO] cloning repository https://github.com/Sladuca/berkletree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sladuca/berkletree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fberkletree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fberkletree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95125d7b875ad04ada8d105b1397b3bb77a3aea3 [INFO] checking Sladuca/berkletree/95125d7b875ad04ada8d105b1397b3bb77a3aea3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fberkletree" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sladuca/berkletree on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sladuca/berkletree [INFO] finished tweaking git repo https://github.com/Sladuca/berkletree [INFO] tweaked toml for git repo https://github.com/Sladuca/berkletree written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Sladuca/berkletree already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 172e5b2bfe8227c56cc64f98357f5e1fa0772cdb1c7fd39c8b7bf1c9b531d87b [INFO] running `Command { std: "docker" "start" "-a" "172e5b2bfe8227c56cc64f98357f5e1fa0772cdb1c7fd39c8b7bf1c9b531d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "172e5b2bfe8227c56cc64f98357f5e1fa0772cdb1c7fd39c8b7bf1c9b531d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172e5b2bfe8227c56cc64f98357f5e1fa0772cdb1c7fd39c8b7bf1c9b531d87b", kill_on_drop: false }` [INFO] [stdout] 172e5b2bfe8227c56cc64f98357f5e1fa0772cdb1c7fd39c8b7bf1c9b531d87b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48595f2f9d9d1c5e281a0d433902d7bf8cd856be7c6c5b77fb887bfd09a7449e [INFO] running `Command { std: "docker" "start" "-a" "48595f2f9d9d1c5e281a0d433902d7bf8cd856be7c6c5b77fb887bfd09a7449e", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling blake3 v1.0.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking pairing v0.21.0 [INFO] [stderr] Checking bls12_381 v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking kzg v0.2.1 [INFO] [stderr] Checking berkletree v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitvec::vec::BitVec` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bitvec::vec::BitVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryInto` and `process::Child` [INFO] [stdout] --> src/node.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainsResult` and `RangeResult` [INFO] [stdout] --> src/node.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ContainsResult, GetResult, InnerNodeProof, KVProof, MembershipProof, NonMembershipProof, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | RangeResult, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scalar` [INFO] [stdout] --> src/proofs.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use bls12_381::{Bls12, Scalar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/proofs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitvec::vec::BitVec` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bitvec::vec::BitVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryInto` and `process::Child` [INFO] [stdout] --> src/node.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainsResult` and `RangeResult` [INFO] [stdout] --> src/node.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ContainsResult, GetResult, InnerNodeProof, KVProof, MembershipProof, NonMembershipProof, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | RangeResult, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scalar` [INFO] [stdout] --> src/proofs.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use bls12_381::{Bls12, Scalar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/proofs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/test_utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/proofs.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify<'params, K: AsRef<[u8]>, const MAX_KEY_LEN: usize>( [INFO] [stdout] | ------- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 161 | .verify::<'_, K, MAX_KEY_LEN>(key, value_hash, verifier) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/proofs.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify<'params, K: AsRef<[u8]>, const MAX_KEY_LEN: usize>( [INFO] [stdout] | ------- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 366 | left.verify::<'params, [u8; MAX_KEY_LEN], MAX_KEY_LEN>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/proofs.rs:370:41 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify<'params, K: AsRef<[u8]>, const MAX_KEY_LEN: usize>( [INFO] [stdout] | ------- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 370 | ) && right.verify::<'params, [u8; MAX_KEY_LEN], MAX_KEY_LEN>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/proofs.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify<'params, K: AsRef<[u8]>, const MAX_KEY_LEN: usize>( [INFO] [stdout] | ------- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 161 | .verify::<'_, K, MAX_KEY_LEN>(key, value_hash, verifier) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/proofs.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify<'params, K: AsRef<[u8]>, const MAX_KEY_LEN: usize>( [INFO] [stdout] | ------- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 366 | left.verify::<'params, [u8; MAX_KEY_LEN], MAX_KEY_LEN>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/proofs.rs:370:41 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify<'params, K: AsRef<[u8]>, const MAX_KEY_LEN: usize>( [INFO] [stdout] | ------- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 370 | ) && right.verify::<'params, [u8; MAX_KEY_LEN], MAX_KEY_LEN>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_ok` [INFO] [stdout] --> src/proofs.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (path_ok, prev_child_hash) = verify_path(None, &self.path, &self.commitments, verifier); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_ok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf_proof` [INFO] [stdout] --> src/proofs.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | leaf_proof, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `leaf_proof: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/proofs.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | key, [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/proofs.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl KeyWithCounter { [INFO] [stdout] | ---------------------------------------------------------- associated function in this implementation [INFO] [stdout] 64 | pub(crate) fn new(key: [u8; MAX_KEY_LEN], count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_batch_witness` and `get_by_path` are never used [INFO] [stdout] --> src/node.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 111 | / impl<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] 112 | | Node<'params, Q, MAX_KEY_LEN, MAX_VAL_LEN> [INFO] [stdout] | |______________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn get_batch_witness(&self, idxs: Range) -> KZGBatchWitness { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub(crate) fn get_by_path( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/node.rs:709:19 [INFO] [stdout] | [INFO] [stdout] 708 | impl KeyWithCounter { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 709 | pub(crate) fn hash(&self) -> Blake3Hash { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch_witness` is never read [INFO] [stdout] --> src/node.rs:738:16 [INFO] [stdout] | [INFO] [stdout] 730 | pub struct InternalNode<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 738 | pub(crate) batch_witness: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/node.rs:758:19 [INFO] [stdout] | [INFO] [stdout] 755 | / impl<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] 756 | | InternalNode<'params, Q, MAX_KEY_LEN, MAX_VAL_LEN> [INFO] [stdout] | |______________________________________________________- associated function in this implementation [INFO] [stdout] 757 | { [INFO] [stdout] 758 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch_witness` is never read [INFO] [stdout] --> src/node.rs:1380:16 [INFO] [stdout] | [INFO] [stdout] 1373 | pub struct LeafNode<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1380 | pub(crate) batch_witness: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeafNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proofs.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 481 | KeyExists(MembershipProof), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 481 | KeyExists(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left_path`, `right_path`, `witnesses`, `commitments`, and `bitvecs` are never read [INFO] [stdout] --> src/proofs.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 486 | pub struct RangeProof { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 487 | pub(crate) left_path: RangePath, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 488 | pub(crate) right_path: RangePath, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 489 | pub(crate) witnesses: Vec>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 490 | pub(crate) commitments: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 491 | pub(crate) bitvecs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left` and `proof` are never read [INFO] [stdout] --> src/proofs.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct RangeResult<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 510 | { [INFO] [stdout] 511 | pub(crate) left: [u8; MAX_KEY_LEN], [INFO] [stdout] | ^^^^ [INFO] [stdout] 512 | pub(crate) right: [u8; MAX_KEY_LEN], [INFO] [stdout] 513 | pub(crate) proof: RangeProof, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 413 | let (bitvecs, witnesses, commitments) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | let proof = RangeProof { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | Ok(RangeResult { [INFO] [stdout] | ____________^ [INFO] [stdout] 427 | | proof, [INFO] [stdout] 428 | | root: self.root.clone(), [INFO] [stdout] 429 | | current_path: left_path.clone(), [INFO] [stdout] 430 | | left: left_padded, [INFO] [stdout] 431 | | right: right_padded, [INFO] [stdout] 432 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `berkletree` (lib) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `path_ok` [INFO] [stdout] --> src/proofs.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (path_ok, prev_child_hash) = verify_path(None, &self.path, &self.commitments, verifier); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_ok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf_proof` [INFO] [stdout] --> src/proofs.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | leaf_proof, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `leaf_proof: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/proofs.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | key, [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/proofs.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verifier` [INFO] [stdout] --> src/lib.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | let verifier = KZGVerifier::new(¶ms); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | for (key, value) in keys.iter().zip(values.iter()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verifier` [INFO] [stdout] --> src/lib.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | let verifier = KZGVerifier::new(¶ms); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> src/lib.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 727 | let proof = tree [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl KeyWithCounter { [INFO] [stdout] | ---------------------------------------------------------- associated function in this implementation [INFO] [stdout] 64 | pub(crate) fn new(key: [u8; MAX_KEY_LEN], count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_batch_witness` and `get_by_path` are never used [INFO] [stdout] --> src/node.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 111 | / impl<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] 112 | | Node<'params, Q, MAX_KEY_LEN, MAX_VAL_LEN> [INFO] [stdout] | |______________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn get_batch_witness(&self, idxs: Range) -> KZGBatchWitness { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub(crate) fn get_by_path( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/node.rs:709:19 [INFO] [stdout] | [INFO] [stdout] 708 | impl KeyWithCounter { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 709 | pub(crate) fn hash(&self) -> Blake3Hash { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch_witness` is never read [INFO] [stdout] --> src/node.rs:738:16 [INFO] [stdout] | [INFO] [stdout] 730 | pub struct InternalNode<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 738 | pub(crate) batch_witness: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/node.rs:758:19 [INFO] [stdout] | [INFO] [stdout] 755 | / impl<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] 756 | | InternalNode<'params, Q, MAX_KEY_LEN, MAX_VAL_LEN> [INFO] [stdout] | |______________________________________________________- associated function in this implementation [INFO] [stdout] 757 | { [INFO] [stdout] 758 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch_witness` is never read [INFO] [stdout] --> src/node.rs:1380:16 [INFO] [stdout] | [INFO] [stdout] 1373 | pub struct LeafNode<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1380 | pub(crate) batch_witness: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeafNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proofs.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 481 | KeyExists(MembershipProof), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 481 | KeyExists(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left_path`, `right_path`, `witnesses`, `commitments`, and `bitvecs` are never read [INFO] [stdout] --> src/proofs.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 486 | pub struct RangeProof { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 487 | pub(crate) left_path: RangePath, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 488 | pub(crate) right_path: RangePath, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 489 | pub(crate) witnesses: Vec>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 490 | pub(crate) commitments: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 491 | pub(crate) bitvecs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left` and `proof` are never read [INFO] [stdout] --> src/proofs.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct RangeResult<'params, const Q: usize, const MAX_KEY_LEN: usize, const MAX_VAL_LEN: usize> [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 510 | { [INFO] [stdout] 511 | pub(crate) left: [u8; MAX_KEY_LEN], [INFO] [stdout] | ^^^^ [INFO] [stdout] 512 | pub(crate) right: [u8; MAX_KEY_LEN], [INFO] [stdout] 513 | pub(crate) proof: RangeProof, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAND_SEED` is never used [INFO] [stdout] --> src/lib.rs:445:11 [INFO] [stdout] | [INFO] [stdout] 445 | const RAND_SEED: u64 = 42; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 413 | let (bitvecs, witnesses, commitments) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | let proof = RangeProof { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | Ok(RangeResult { [INFO] [stdout] | ____________^ [INFO] [stdout] 427 | | proof, [INFO] [stdout] 428 | | root: self.root.clone(), [INFO] [stdout] 429 | | current_path: left_path.clone(), [INFO] [stdout] 430 | | left: left_padded, [INFO] [stdout] 431 | | right: right_padded, [INFO] [stdout] 432 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `berkletree` (lib test) due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48595f2f9d9d1c5e281a0d433902d7bf8cd856be7c6c5b77fb887bfd09a7449e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48595f2f9d9d1c5e281a0d433902d7bf8cd856be7c6c5b77fb887bfd09a7449e", kill_on_drop: false }` [INFO] [stdout] 48595f2f9d9d1c5e281a0d433902d7bf8cd856be7c6c5b77fb887bfd09a7449e