[INFO] cloning repository https://github.com/Maddiaa0/indexed-tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maddiaa0/indexed-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaddiaa0%2Findexed-tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaddiaa0%2Findexed-tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c2e31b5c97d711f63dda856fad4d2b09a37c026
[INFO] checking Maddiaa0/indexed-tree against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaddiaa0%2Findexed-tree" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Maddiaa0/indexed-tree
[INFO] finished tweaking git repo https://github.com/Maddiaa0/indexed-tree
[INFO] tweaked toml for git repo https://github.com/Maddiaa0/indexed-tree written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Maddiaa0/indexed-tree on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Maddiaa0/indexed-tree 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ruint-macro v1.0.2
[INFO] [stderr]   Downloaded ruint v1.8.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 706ac4387fc45e17171439c1be998a2613ce0ddd4c8e1679860bba2419246bc1
[INFO] running `Command { std: "docker" "start" "-a" "706ac4387fc45e17171439c1be998a2613ce0ddd4c8e1679860bba2419246bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "706ac4387fc45e17171439c1be998a2613ce0ddd4c8e1679860bba2419246bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "706ac4387fc45e17171439c1be998a2613ce0ddd4c8e1679860bba2419246bc1", kill_on_drop: false }`
[INFO] [stdout] 706ac4387fc45e17171439c1be998a2613ce0ddd4c8e1679860bba2419246bc1
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57ecf13c3e702a74924d0dc3d35df5f8b1753df5ed3da12acbd537acf6831b46
[INFO] running `Command { std: "docker" "start" "-a" "57ecf13c3e702a74924d0dc3d35df5f8b1753df5ed3da12acbd537acf6831b46", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling semver v1.0.17
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]     Checking cpufeatures v0.2.7
[INFO] [stderr]    Compiling ruint-macro v1.0.2
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling ruint v1.8.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking indexed-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `nullifier`
[INFO] [stdout]  --> src/lib.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | macro_rules! nullifier {
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_pair` is never used
[INFO] [stdout]  --> src/hash.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn hash_pair(lhs: Uint<256, 4>, rhs: Uint<256, 4>) -> Uint<256, 4> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NullifierLeaf` is never constructed
[INFO] [stdout]  --> src/leaf.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct NullifierLeaf {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/leaf.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl NullifierLeaf {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(leaf: Option<IndexedTreeLeaf>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new_leaf(value: Uint<256, 4>, next_index: usize, next_value: Uint<256, 4>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn zero() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn inner(self) -> IndexedTreeLeaf {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn is_zero(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn hash(&self) -> Uint<256, 4> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexedTreeLeaf` is never constructed
[INFO] [stdout]   --> src/leaf.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct IndexedTreeLeaf {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `empty`, `is_zero`, and `hash_leaf` are never used
[INFO] [stdout]   --> src/leaf.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl IndexedTreeLeaf {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 69 |     pub fn new(value: Uint<256, 4>, next_index: usize, next_value: Uint<256, 4>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn is_zero(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn hash_leaf(&self) -> Uint<256, 4> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryIndexedMerkleTree` is never constructed
[INFO] [stdout]  --> src/memory_indexed_merkle_tree.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MemoryIndexedMerkleTree {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/memory_indexed_merkle_tree.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl MemoryIndexedMerkleTree {
[INFO] [stdout]     | ---------------------------- associated items in this implementation
[INFO] [stdout]  19 |     #[allow(clippy::uninit_vec)]
[INFO] [stdout]  20 |     pub fn new(depth: u64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn get_leaf(&self, index: u64) -> NullifierLeaf {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     fn update_element(&mut self, index: u64, leaf: &NullifierLeaf) -> Uint<256, 4> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn insert_element(&mut self, value: Uint<256, 4>) -> Uint<256, 4> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn get_hash_path(&self, index: u64) -> Vec<[Uint<256, 4>; 2]> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn find_closest_leaf(&self, new_value: &Uint<256, 4>) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/lib.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let root = hash_pair(n20, n21);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.86s
[INFO] running `Command { std: "docker" "inspect" "57ecf13c3e702a74924d0dc3d35df5f8b1753df5ed3da12acbd537acf6831b46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57ecf13c3e702a74924d0dc3d35df5f8b1753df5ed3da12acbd537acf6831b46", kill_on_drop: false }`
[INFO] [stdout] 57ecf13c3e702a74924d0dc3d35df5f8b1753df5ed3da12acbd537acf6831b46
