[INFO] cloning repository https://github.com/ignazio-bovo/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/ignazio-bovo/merkle_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignazio-bovo%2Fmerkle_tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignazio-bovo%2Fmerkle_tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b43bad8bcec4458ed177c8cb7dd5ec8f8f7b5e5
[INFO] checking ignazio-bovo/merkle_tree against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignazio-bovo%2Fmerkle_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/ignazio-bovo/merkle_tree
[INFO] finished tweaking git repo https://github.com/ignazio-bovo/merkle_tree
[INFO] tweaked toml for git repo https://github.com/ignazio-bovo/merkle_tree written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ignazio-bovo/merkle_tree on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ignazio-bovo/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" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sp-std v3.0.0
[INFO] [stderr]   Downloaded sp-io v3.0.0
[INFO] [stderr]   Downloaded sp-wasm-interface v3.0.0
[INFO] [stderr]   Downloaded wasmi v0.6.2
[INFO] [stderr]   Downloaded wasmi-validation v0.3.0
[INFO] [stderr]   Downloaded arrayvec v0.7.0
[INFO] [stderr]   Downloaded parity-scale-codec-derive v2.1.0
[INFO] [stderr]   Downloaded cpufeatures v0.1.4
[INFO] [stderr]   Downloaded sp-runtime v3.0.0
[INFO] [stderr]   Downloaded sp-core v3.0.0
[INFO] [stderr]   Downloaded parity-scale-codec v2.1.1
[INFO] [stderr]   Downloaded sp-trie v3.0.0
[INFO] [stderr]   Downloaded anyhow v1.0.40
[INFO] [stderr]   Downloaded unicode-normalization v0.1.18
[INFO] [stderr]   Downloaded redox_syscall v0.2.8
[INFO] [stderr]   Downloaded sp-debug-derive v3.0.0
[INFO] [stderr]   Downloaded syn v1.0.72
[INFO] [stderr]   Downloaded sp-storage v3.0.0
[INFO] [stderr]   Downloaded sp-runtime-interface v3.0.0
[INFO] [stderr]   Downloaded sp-tracing v3.0.0
[INFO] [stderr]   Downloaded libc v0.2.95
[INFO] [stderr]   Downloaded tracing-subscriber v0.2.18
[INFO] [stderr]   Downloaded sp-runtime-interface-proc-macro v3.0.0
[INFO] [stderr]   Downloaded sp-externalities v0.9.0
[INFO] [stderr]   Downloaded uint v0.9.0
[INFO] [stderr]   Downloaded signature v1.3.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.19
[INFO] [stderr]   Downloaded sp-panic-handler v3.0.0
[INFO] [stderr]   Downloaded sp-arithmetic v3.0.0
[INFO] [stderr]   Downloaded sp-application-crypto v3.0.0
[INFO] [stderr]   Downloaded addr2line v0.15.1
[INFO] [stderr]   Downloaded sp-keystore v0.9.0
[INFO] [stderr]   Downloaded backtrace v0.3.59
[INFO] [stderr]   Downloaded parity-scale-codec v1.3.7
[INFO] [stderr]   Downloaded byte-slice-cast v0.3.5
[INFO] [stderr]   Downloaded sp-state-machine v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8
[INFO] running `Command { std: "docker" "start" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]     Checking funty v1.1.0
[INFO] [stderr]     Checking wyz v0.2.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking arrayvec v0.7.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking byte-slice-cast v1.0.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking subtle v2.4.0
[INFO] [stderr]     Checking lock_api v0.4.4
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking tracing-core v0.1.18
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking sp-std v3.0.0
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling ref-cast v1.0.6
[INFO] [stderr]     Checking bitvec v0.20.4
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking futures-sink v0.3.15
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking uint v0.9.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking parity-wasm v0.41.0
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking sharded-slab v0.1.1
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]     Checking cpufeatures v0.1.4
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling parity-util-mem v0.9.0
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking hash-db v0.15.2
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking memory_units v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking futures-io v0.3.15
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking tinyvec v1.2.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking environmental v1.1.3
[INFO] [stderr]     Checking signature v1.3.0
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking hmac-drbg v0.2.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking wasmi-validation v0.3.0
[INFO] [stderr]     Checking pbkdf2 v0.3.0
[INFO] [stderr]     Checking ed25519 v1.1.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking pbkdf2 v0.4.0
[INFO] [stderr]     Checking sha2 v0.9.5
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]     Checking dyn-clone v1.0.4
[INFO] [stderr]     Checking fixed-hash v0.7.0
[INFO] [stderr]     Checking libsecp256k1 v0.3.5
[INFO] [stderr]     Checking twox-hash v1.6.0
[INFO] [stderr]     Checking tiny-keccak v2.0.2
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking gimli v0.24.0
[INFO] [stderr]     Checking base58 v0.1.0
[INFO] [stderr]     Checking wasmi v0.6.2
[INFO] [stderr]     Checking object v0.24.0
[INFO] [stderr]     Checking rustc-demangle v0.1.19
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]     Checking trie-root v0.16.0
[INFO] [stderr]     Checking trie-db v0.22.5
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking byte-slice-cast v0.3.5
[INFO] [stderr]     Checking unicode-normalization v0.1.18
[INFO] [stderr]     Checking parity-scale-codec v1.3.7
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking addr2line v0.15.1
[INFO] [stderr]     Checking sp-panic-handler v3.0.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling zeroize_derive v1.1.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.1
[INFO] [stderr]    Compiling sp-debug-derive v3.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling parity-util-mem-derive v0.1.0
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling derive_more v0.99.14
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking curve25519-dalek v2.1.2
[INFO] [stderr]     Checking curve25519-dalek v3.1.0
[INFO] [stderr]     Checking secrecy v0.7.0
[INFO] [stderr]     Checking thiserror v1.0.25
[INFO] [stderr]     Checking tiny-bip39 v0.8.0
[INFO] [stderr]     Checking futures-executor v0.3.15
[INFO] [stderr]     Checking futures v0.3.15
[INFO] [stderr]     Checking impl-serde v0.3.1
[INFO] [stderr]     Checking tracing-serde v0.1.2
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking substrate-bip39 v0.4.2
[INFO] [stderr]     Checking tracing-subscriber v0.2.18
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.1.0
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v3.0.0
[INFO] [stderr]     Checking parity-scale-codec v2.1.1
[INFO] [stderr]     Checking impl-codec v0.5.0
[INFO] [stderr]     Checking sp-storage v3.0.0
[INFO] [stderr]     Checking sp-wasm-interface v3.0.0
[INFO] [stderr]     Checking sp-tracing v3.0.0
[INFO] [stderr]     Checking sp-arithmetic v3.0.0
[INFO] [stderr]     Checking primitive-types v0.9.0
[INFO] [stderr]     Checking sp-externalities v0.9.0
[INFO] [stderr]     Checking sp-runtime-interface v3.0.0
[INFO] [stderr]     Checking memory-db v0.26.0
[INFO] [stderr]     Checking sp-core v3.0.0
[INFO] [stderr]     Checking sp-trie v3.0.0
[INFO] [stderr]     Checking sp-keystore v0.9.0
[INFO] [stderr]     Checking sp-state-machine v0.9.0
[INFO] [stderr]     Checking sp-io v3.0.0
[INFO] [stderr]     Checking sp-application-crypto v3.0.0
[INFO] [stderr]     Checking sp-runtime v3.0.0
[INFO] [stderr]     Checking rust_gym v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/main.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use codec::{Encode, Decode};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |         new_len = (out.len() - last_len);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -         new_len = (out.len() - last_len);
[INFO] [stdout] 69 +         new_len = out.len() - last_len;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:100:19
[INFO] [stdout]     |
[INFO] [stdout] 100 |         new_len = (out.len() - last_len);
[INFO] [stdout]     |                   ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         new_len = (out.len() - last_len);
[INFO] [stdout] 100 +         new_len = out.len() - last_len;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_len` is never read
[INFO] [stdout]   --> src/main.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut new_len = out.len();
[INFO] [stdout]    |                       ^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |         new_len = (out.len() - last_len);
[INFO] [stdout]    |         -------------------------------- `new_len` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_len` is never read
[INFO] [stdout]    --> src/main.rs:87:23
[INFO] [stdout]     |
[INFO] [stdout]  87 |     let mut new_len = out.len();
[INFO] [stdout]     |                       ^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 100 |         new_len = (out.len() - last_len);
[INFO] [stdout]     |         -------------------------------- `new_len` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:172:32
[INFO] [stdout]     |
[INFO] [stdout] 172 |             Err(msg) => panic!(msg)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 172 |             Err(msg) => panic!("{}", msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:189:32
[INFO] [stdout]     |
[INFO] [stdout] 189 |             Err(msg) => panic!(msg)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 189 |             Err(msg) => panic!("{}", msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/main.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use codec::{Encode, Decode};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |         new_len = (out.len() - last_len);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -         new_len = (out.len() - last_len);
[INFO] [stdout] 69 +         new_len = out.len() - last_len;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:100:19
[INFO] [stdout]     |
[INFO] [stdout] 100 |         new_len = (out.len() - last_len);
[INFO] [stdout]     |                   ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         new_len = (out.len() - last_len);
[INFO] [stdout] 100 +         new_len = out.len() - last_len;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:206:32
[INFO] [stdout]     |
[INFO] [stdout] 206 |             Err(msg) => panic!(msg)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 206 |             Err(msg) => panic!("{}", msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:223:32
[INFO] [stdout]     |
[INFO] [stdout] 223 |             Err(msg) => panic!(msg)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 223 |             Err(msg) => panic!("{}", msg)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_len` is never read
[INFO] [stdout]   --> src/main.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut new_len = out.len();
[INFO] [stdout]    |                       ^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |         new_len = (out.len() - last_len);
[INFO] [stdout]    |         -------------------------------- `new_len` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_len` is never read
[INFO] [stdout]    --> src/main.rs:87:23
[INFO] [stdout]     |
[INFO] [stdout]  87 |     let mut new_len = out.len();
[INFO] [stdout]     |                       ^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 100 |         new_len = (out.len() - last_len);
[INFO] [stdout]     |         -------------------------------- `new_len` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merkle_path` is never used
[INFO] [stdout]  --> src/main.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn merkle_path(len: usize, index: usize) -> Vec<Option<usize>> {//Result<Vec<usize>, &'static str>{
[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 `gen_proof_` is never used
[INFO] [stdout]   --> src/main.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn gen_proof_(b: &Vec<i32>) -> Result<Vec<H256>, &'static str>{
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_proof` is never used
[INFO] [stdout]   --> src/main.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn gen_proof(b: &Vec<u64>) -> Vec<u64>{
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_proof` is never used
[INFO] [stdout]    --> src/main.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn verify_proof(path: &[Option<H256>],    
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `helper_build_merkle_path` is never used
[INFO] [stdout]    --> src/main.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn helper_build_merkle_path(b: &[i32], idx: usize, out: &[H256]) -> Vec<Option<H256>>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.36s
[INFO] running `Command { std: "docker" "inspect" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8", kill_on_drop: false }`
[INFO] [stdout] 1aea481bff5df1fa685cdeb2d6b171c140a3b8508188d4fe5345d795e000fbd8
