[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] testing ignazio-bovo/merkle_tree against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignazio-bovo%2Fmerkle_tree" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ignazio-bovo/merkle_tree on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/ignazio-bovo/merkle_tree already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-panic-handler v3.0.0 [INFO] [stderr] Downloaded sp-application-crypto v3.0.0 [INFO] [stderr] Downloaded sp-state-machine v0.9.0 [INFO] [stderr] Downloaded sp-runtime-interface v3.0.0 [INFO] [stderr] Downloaded parity-scale-codec v1.3.7 [INFO] [stderr] Downloaded sp-storage v3.0.0 [INFO] [stderr] Downloaded sp-core v3.0.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.1.0 [INFO] [stderr] Downloaded trie-db v0.22.5 [INFO] [stderr] Downloaded sp-keystore v0.9.0 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57aee32dc7408b5ece66a848be3a47a82b6fd7b285b9a8cfd574c97d85405d6f [INFO] running `Command { std: "docker" "start" "-a" "57aee32dc7408b5ece66a848be3a47a82b6fd7b285b9a8cfd574c97d85405d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57aee32dc7408b5ece66a848be3a47a82b6fd7b285b9a8cfd574c97d85405d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57aee32dc7408b5ece66a848be3a47a82b6fd7b285b9a8cfd574c97d85405d6f", kill_on_drop: false }` [INFO] [stdout] 57aee32dc7408b5ece66a848be3a47a82b6fd7b285b9a8cfd574c97d85405d6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d67e4ec46e0f4f1c1b0e48426dd376a4f2f8409d957839ff11a0a41b89ccd6e9 [INFO] running `Command { std: "docker" "start" "-a" "d67e4ec46e0f4f1c1b0e48426dd376a4f2f8409d957839ff11a0a41b89ccd6e9", 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] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling arrayvec v0.7.0 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling environmental v1.1.3 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling trie-root v0.16.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling trie-db v0.22.5 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling addr2line v0.15.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sp-panic-handler v3.0.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [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] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling 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] Compiling parity-scale-codec v2.1.1 [INFO] [stderr] Compiling impl-codec v0.5.0 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling sp-application-crypto v3.0.0 [INFO] [stderr] Compiling sp-runtime v3.0.0 [INFO] [stderr] Compiling rust_gym v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Decode`, `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)]` 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)]` 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:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut new_len = out.len(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_len` is never read [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut new_len = out.len(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merkle_path` [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn merkle_path(len: usize, index: usize) -> Vec> {//Result, &'static str>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_proof_` [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn gen_proof_(b: &Vec) -> Result, &'static str>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_proof` [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn gen_proof(b: &Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify_proof` [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn verify_proof(path: &[Option], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper_build_merkle_path` [INFO] [stdout] --> src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn helper_build_merkle_path(b: &[i32], idx: usize, out: &[H256]) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 12s [INFO] running `Command { std: "docker" "inspect" "d67e4ec46e0f4f1c1b0e48426dd376a4f2f8409d957839ff11a0a41b89ccd6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d67e4ec46e0f4f1c1b0e48426dd376a4f2f8409d957839ff11a0a41b89ccd6e9", kill_on_drop: false }` [INFO] [stdout] d67e4ec46e0f4f1c1b0e48426dd376a4f2f8409d957839ff11a0a41b89ccd6e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 68c0ba6e4e6dcea3c6a015f0eeb514798f95a45fa3109a416c0b5c33a6556144 [INFO] running `Command { std: "docker" "start" "-a" "68c0ba6e4e6dcea3c6a015f0eeb514798f95a45fa3109a416c0b5c33a6556144", kill_on_drop: false }` [INFO] [stderr] Compiling rust_gym v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Decode`, `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)]` 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)]` 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:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut new_len = out.len(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_len` is never read [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut new_len = out.len(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being 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: `#[warn(non_fmt_panics)]` on by default [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 [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 [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: 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 [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 [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.32s [INFO] running `Command { std: "docker" "inspect" "68c0ba6e4e6dcea3c6a015f0eeb514798f95a45fa3109a416c0b5c33a6556144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c0ba6e4e6dcea3c6a015f0eeb514798f95a45fa3109a416c0b5c33a6556144", kill_on_drop: false }` [INFO] [stdout] 68c0ba6e4e6dcea3c6a015f0eeb514798f95a45fa3109a416c0b5c33a6556144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] af88c481c635d5d4cd6ee3c9be2871b9147bc4541c1fe6d52345b8328fcff13c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "af88c481c635d5d4cd6ee3c9be2871b9147bc4541c1fe6d52345b8328fcff13c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Decode`, `Encode` [INFO] [stdout] [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stdout] running 8 tests [INFO] [stderr] | [INFO] [stdout] test elements_does_belong_to_collection_odd ... ok [INFO] [stderr] 2 | use codec::{Encode, Decode}; [INFO] [stdout] test test_merkle_path_1 ... ok [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stdout] test test_merkle_path_4 ... ok [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:69:19 [INFO] [stderr] | [INFO] [stderr] 69 | new_len = (out.len() - last_len); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 69 - new_len = (out.len() - last_len); [INFO] [stderr] 69 + new_len = out.len() - last_len; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:100:19 [INFO] [stderr] | [INFO] [stderr] 100 | new_len = (out.len() - last_len); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 100 - new_len = (out.len() - last_len); [INFO] [stderr] 100 + new_len = out.len() - last_len; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: value assigned to `new_len` is never read [INFO] [stderr] --> src/main.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | let mut new_len = out.len(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `new_len` is never read [INFO] [stderr] --> src/main.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let mut new_len = out.len(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:172:32 [INFO] [stderr] | [INFO] [stderr] 172 | Err(msg) => panic!(msg) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 172 | Err(msg) => panic!("{}", msg) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:189:32 [INFO] [stderr] | [INFO] [stderr] 189 | Err(msg) => panic!(msg) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 189 | Err(msg) => panic!("{}", msg) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:206:32 [INFO] [stderr] | [INFO] [stderr] 206 | Err(msg) => panic!(msg) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 206 | Err(msg) => panic!("{}", msg) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:223:32 [INFO] [stderr] | [INFO] [stderr] 223 | Err(msg) => panic!(msg) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 223 | Err(msg) => panic!("{}", msg) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `rust_gym` (bin "rust_gym" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_gym-6163e2b0559ee56f) [INFO] [stdout] test test_merkle_path_5 ... ok [INFO] [stdout] test test_gen_proof ... ok [INFO] [stdout] test elements_doesnt_belong_to_collection_odd ... ok [INFO] [stdout] test elements_doesnt_belong_to_collection_even ... ok [INFO] [stdout] test elements_does_belong_to_collection_even ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "af88c481c635d5d4cd6ee3c9be2871b9147bc4541c1fe6d52345b8328fcff13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af88c481c635d5d4cd6ee3c9be2871b9147bc4541c1fe6d52345b8328fcff13c", kill_on_drop: false }` [INFO] [stdout] af88c481c635d5d4cd6ee3c9be2871b9147bc4541c1fe6d52345b8328fcff13c