[INFO] cloning repository https://github.com/LucasUTNFRD/Merkle-Tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucasUTNFRD/Merkle-Tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasUTNFRD%2FMerkle-Tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasUTNFRD%2FMerkle-Tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55ce72e4d1334da663694aceefbc69a0a72e4aaa [INFO] checking LucasUTNFRD/Merkle-Tree against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasUTNFRD%2FMerkle-Tree" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasUTNFRD/Merkle-Tree on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucasUTNFRD/Merkle-Tree [INFO] finished tweaking git repo https://github.com/LucasUTNFRD/Merkle-Tree [INFO] tweaked toml for git repo https://github.com/LucasUTNFRD/Merkle-Tree written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LucasUTNFRD/Merkle-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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking LucasUTNFRD/Merkle-Tree against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasUTNFRD%2FMerkle-Tree" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasUTNFRD/Merkle-Tree on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucasUTNFRD/Merkle-Tree [INFO] finished tweaking git repo https://github.com/LucasUTNFRD/Merkle-Tree [INFO] tweaked toml for git repo https://github.com/LucasUTNFRD/Merkle-Tree written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LucasUTNFRD/Merkle-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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f684d5e4c8d8473c004154de55a861bd6358ee2dafc45d557088ff3b997fffe [INFO] running `Command { std: "docker" "start" "-a" "1f684d5e4c8d8473c004154de55a861bd6358ee2dafc45d557088ff3b997fffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f684d5e4c8d8473c004154de55a861bd6358ee2dafc45d557088ff3b997fffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f684d5e4c8d8473c004154de55a861bd6358ee2dafc45d557088ff3b997fffe", kill_on_drop: false }` [INFO] [stdout] 1f684d5e4c8d8473c004154de55a861bd6358ee2dafc45d557088ff3b997fffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c380dd2c71c3c9e4e52ec67cbc4311d21d8d9d81437e87ecfe5cea322166c079 [INFO] running `Command { std: "docker" "start" "-a" "c380dd2c71c3c9e4e52ec67cbc4311d21d8d9d81437e87ecfe5cea322166c079", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rusty-merkle-tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tree = MerkleTree::new(&block); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tree = MerkleTree::new(&block); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Direction` is more private than the item `MerkleTree::generate_proof` [INFO] [stdout] --> src/merkle.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn generate_proof>(&self, data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MerkleTree::generate_proof` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Direction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/merkle.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Direction` is more private than the item `MerkleTree::verify_proof` [INFO] [stdout] --> src/merkle.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn verify_proof>(&self, data: &T, proof: &MerkleProof) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MerkleTree::verify_proof` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Direction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/merkle.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LeafNotFound` is never constructed [INFO] [stdout] --> src/merkle.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum MerkleError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 7 | LeafNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/merkle.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MerkleProof` is never used [INFO] [stdout] --> src/merkle.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type MerkleProof = Vec<(Hash, Direction)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_direction` is never used [INFO] [stdout] --> src/merkle.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn determine_direction(index: usize) -> Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `generate_proof`, `verify_proof`, and `add` are never used [INFO] [stdout] --> src/merkle.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MerkleTree { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn root(&self) -> Hash { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn generate_proof>(&self, data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn verify_proof>(&self, data: &T, proof: &MerkleProof) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn add(&mut self, data: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tree = MerkleTree::new(&block); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tree = MerkleTree::new(&block); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `merkle::Direction` is more private than the item `merkle::MerkleTree::generate_proof` [INFO] [stdout] --> src/merkle.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn generate_proof>(&self, data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `merkle::MerkleTree::generate_proof` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `merkle::Direction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/merkle.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `merkle::Direction` is more private than the item `merkle::MerkleTree::verify_proof` [INFO] [stdout] --> src/merkle.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn verify_proof>(&self, data: &T, proof: &MerkleProof) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `merkle::MerkleTree::verify_proof` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `merkle::Direction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/merkle.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/merkle.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MerkleTree { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn add(&mut self, data: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "c380dd2c71c3c9e4e52ec67cbc4311d21d8d9d81437e87ecfe5cea322166c079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c380dd2c71c3c9e4e52ec67cbc4311d21d8d9d81437e87ecfe5cea322166c079", kill_on_drop: false }` [INFO] [stdout] c380dd2c71c3c9e4e52ec67cbc4311d21d8d9d81437e87ecfe5cea322166c079