[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 against master#9cf699d2ff4ff23a6d6862a35727f4d5d3567dae for pr-98456-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fberkletree" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sladuca/berkletree on toolchain 9cf699d2ff4ff23a6d6862a35727f4d5d3567dae [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cf699d2ff4ff23a6d6862a35727f4d5d3567dae" "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-4/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: "/workspace/cargo-home/bin/cargo" "+9cf699d2ff4ff23a6d6862a35727f4d5d3567dae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded pairing v0.21.0 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded kzg v0.2.1 [INFO] [stderr] Downloaded bls12_381 v0.6.0 [INFO] [stderr] Downloaded instant v0.1.10 [INFO] [stderr] Downloaded blake3 v1.0.0 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+9cf699d2ff4ff23a6d6862a35727f4d5d3567dae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a387c9b542a84d0b53b3b81b6d0cc942f878cc3fc8abd07a4c855aace01a799 [INFO] running `Command { std: "docker" "start" "-a" "0a387c9b542a84d0b53b3b81b6d0cc942f878cc3fc8abd07a4c855aace01a799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a387c9b542a84d0b53b3b81b6d0cc942f878cc3fc8abd07a4c855aace01a799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a387c9b542a84d0b53b3b81b6d0cc942f878cc3fc8abd07a4c855aace01a799", kill_on_drop: false }` [INFO] [stdout] 0a387c9b542a84d0b53b3b81b6d0cc942f878cc3fc8abd07a4c855aace01a799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+9cf699d2ff4ff23a6d6862a35727f4d5d3567dae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9861c968eccd882a3b72c5a17aa35125673a6cb3d6fb40b1f6aaffa6738ba5ed [INFO] running `Command { std: "docker" "start" "-a" "9861c968eccd882a3b72c5a17aa35125673a6cb3d6fb40b1f6aaffa6738ba5ed", 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] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [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`, `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`, `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`, `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`, `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] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [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: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] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [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: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: 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] 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: associated function `get_batch_witness` is never used [INFO] [stdout] --> src/node.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub(crate) fn get_batch_witness(&self, idxs: Range) -> KZGBatchWitness { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_path` is never used [INFO] [stdout] --> src/node.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub(crate) fn get_by_path( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hash` is never used [INFO] [stdout] --> src/node.rs:709:19 [INFO] [stdout] | [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:5 [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] 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:5 [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: fields `left_path`, `right_path`, `witnesses`, `commitments` and `bitvecs` are never read [INFO] [stdout] --> src/proofs.rs:487:5 [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:5 [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:64:19 [INFO] [stdout] | [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: associated function `get_batch_witness` is never used [INFO] [stdout] --> src/node.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub(crate) fn get_batch_witness(&self, idxs: Range) -> KZGBatchWitness { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_path` is never used [INFO] [stdout] --> src/node.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub(crate) fn get_by_path( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hash` is never used [INFO] [stdout] --> src/node.rs:709:19 [INFO] [stdout] | [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:5 [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] 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:5 [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: fields `left_path`, `right_path`, `witnesses`, `commitments` and `bitvecs` are never read [INFO] [stdout] --> src/proofs.rs:487:5 [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:5 [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:5 [INFO] [stdout] | [INFO] [stdout] 445 | const RAND_SEED: u64 = 42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.12s [INFO] running `Command { std: "docker" "inspect" "9861c968eccd882a3b72c5a17aa35125673a6cb3d6fb40b1f6aaffa6738ba5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9861c968eccd882a3b72c5a17aa35125673a6cb3d6fb40b1f6aaffa6738ba5ed", kill_on_drop: false }` [INFO] [stdout] 9861c968eccd882a3b72c5a17aa35125673a6cb3d6fb40b1f6aaffa6738ba5ed