[INFO] cloning repository https://github.com/emnul/zkprim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emnul/zkprim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femnul%2Fzkprim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femnul%2Fzkprim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bfff29cb33a97a28291198a2e5ffd5ee0160956b
[INFO] checking emnul/zkprim against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femnul%2Fzkprim" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/emnul/zkprim
[INFO] finished tweaking git repo https://github.com/emnul/zkprim
[INFO] tweaked toml for git repo https://github.com/emnul/zkprim written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/emnul/zkprim on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/emnul/zkprim 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "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 test-case-core v3.3.1
[INFO] [stderr]   Downloaded test-case v3.3.1
[INFO] [stderr]   Downloaded test-case-macros v3.3.1
[INFO] [stderr]   Downloaded keccak v0.2.0
[INFO] [stderr]   Downloaded hex-literal v1.1.0
[INFO] [stderr]   Downloaded hybrid-array v0.4.10
[INFO] [stderr]   Downloaded const-hex v1.18.1
[INFO] [stderr]   Downloaded sha3 v0.11.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 864c5bca74a0719bf46bcbc337ef3dc379cefe19084850a1a7b3e16fae0e7dd1
[INFO] running `Command { std: "docker" "start" "-a" "864c5bca74a0719bf46bcbc337ef3dc379cefe19084850a1a7b3e16fae0e7dd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "864c5bca74a0719bf46bcbc337ef3dc379cefe19084850a1a7b3e16fae0e7dd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "864c5bca74a0719bf46bcbc337ef3dc379cefe19084850a1a7b3e16fae0e7dd1", kill_on_drop: false }`
[INFO] [stdout] 864c5bca74a0719bf46bcbc337ef3dc379cefe19084850a1a7b3e16fae0e7dd1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7537ec6fa38be03b13928f2f272236465a819d4e97af3de84ff1af3f54f99330
[INFO] running `Command { std: "docker" "start" "-a" "7537ec6fa38be03b13928f2f272236465a819d4e97af3de84ff1af3f54f99330", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking keccak v0.2.0
[INFO] [stderr]     Checking const-hex v1.18.1
[INFO] [stderr]     Checking hex-literal v1.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking hybrid-array v0.4.10
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]     Checking crypto-common v0.2.1
[INFO] [stderr]     Checking digest v0.11.2
[INFO] [stderr]     Checking sha3 v0.11.0
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]     Checking test-case v3.3.1
[INFO] [stderr]     Checking zkprim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hex_literal::hex`
[INFO] [stdout]    --> src/tree.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |     use hex_literal::hex;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `hash_recursive`, `num_leaves_from_depth`, `left_child`, and `right_child` are never used
[INFO] [stdout]    --> src/tree.rs:65:8
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl MerkleTree {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn hash_recursive(nodes: &mut [Hash], index: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     fn num_leaves_from_depth(depth: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn left_child(index: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn right_child(index: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initial_root` is never used
[INFO] [stdout]    --> src/tree.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 |     fn initial_root(depth: usize) -> Hash {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_to_hash` is never used
[INFO] [stdout]    --> src/tree.rs:221:8
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn u32_to_hash(u: u32) -> Hash {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tree.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut tree = MerkleTree::new(2, INITIAL);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tree.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let mut tree = MerkleTree::new(2, INITIAL);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `hash_recursive`, `num_leaves_from_depth`, `left_child`, and `right_child` are never used
[INFO] [stdout]    --> src/tree.rs:65:8
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl MerkleTree {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn hash_recursive(nodes: &mut [Hash], index: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     fn num_leaves_from_depth(depth: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn left_child(index: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn right_child(index: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.21s
[INFO] running `Command { std: "docker" "inspect" "7537ec6fa38be03b13928f2f272236465a819d4e97af3de84ff1af3f54f99330", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7537ec6fa38be03b13928f2f272236465a819d4e97af3de84ff1af3f54f99330", kill_on_drop: false }`
[INFO] [stdout] 7537ec6fa38be03b13928f2f272236465a819d4e97af3de84ff1af3f54f99330
