[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fberkletree" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sladuca/berkletree on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded kzg v0.2.1 [INFO] [stderr] Downloaded pairing v0.21.0 [INFO] [stderr] Downloaded blake3 v1.0.0 [INFO] [stderr] Downloaded bls12_381 v0.6.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f19276160a3bfc2155d17f9142534ec399d4f20b785a37431d89f4ebbc8e0b9 [INFO] running `Command { std: "docker" "start" "-a" "4f19276160a3bfc2155d17f9142534ec399d4f20b785a37431d89f4ebbc8e0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f19276160a3bfc2155d17f9142534ec399d4f20b785a37431d89f4ebbc8e0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f19276160a3bfc2155d17f9142534ec399d4f20b785a37431d89f4ebbc8e0b9", kill_on_drop: false }` [INFO] [stdout] 4f19276160a3bfc2155d17f9142534ec399d4f20b785a37431d89f4ebbc8e0b9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f0bba668538c80a7532302803c7e3f7bdffad1a582ae78145ab8a3607f5e257 [INFO] running `Command { std: "docker" "start" "-a" "6f0bba668538c80a7532302803c7e3f7bdffad1a582ae78145ab8a3607f5e257", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.69 [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 bitvec v0.22.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling blake3 v1.0.0 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [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] 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] 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: 22 warnings emitted [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] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "6f0bba668538c80a7532302803c7e3f7bdffad1a582ae78145ab8a3607f5e257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0bba668538c80a7532302803c7e3f7bdffad1a582ae78145ab8a3607f5e257", kill_on_drop: false }` [INFO] [stdout] 6f0bba668538c80a7532302803c7e3f7bdffad1a582ae78145ab8a3607f5e257