[INFO] cloning repository https://github.com/MSghais/flat_contract_mmr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MSghais/flat_contract_mmr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSghais%2Fflat_contract_mmr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSghais%2Fflat_contract_mmr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9f4423595bb66d08851ea004593afdd47a51f0e3
[INFO] testing MSghais/flat_contract_mmr against beta-2022-10-11 for beta-1.65-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMSghais%2Fflat_contract_mmr" "/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/MSghais/flat_contract_mmr on toolchain beta-2022-10-11
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-10-11" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MSghais/flat_contract_mmr
[INFO] finished tweaking git repo https://github.com/MSghais/flat_contract_mmr
[INFO] tweaked toml for git repo https://github.com/MSghais/flat_contract_mmr written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/MSghais/flat_contract_mmr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-10-11" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.ink_env.dependencies
[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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-10-11" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 13cd81d4aa205ed35854a734584f262201f66b964ae4db5015c519b7ee569035
[INFO] running `Command { std: "docker" "start" "-a" "13cd81d4aa205ed35854a734584f262201f66b964ae4db5015c519b7ee569035", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13cd81d4aa205ed35854a734584f262201f66b964ae4db5015c519b7ee569035", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13cd81d4aa205ed35854a734584f262201f66b964ae4db5015c519b7ee569035", kill_on_drop: false }`
[INFO] [stdout] 13cd81d4aa205ed35854a734584f262201f66b964ae4db5015c519b7ee569035
[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" "RUSTDOCFLAGS=--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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-10-11" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29de796bdbd9dbf3b12a4a86cebb8a2f38b5cb60dd27c964726a64aa876b9fae
[INFO] running `Command { std: "docker" "start" "-a" "29de796bdbd9dbf3b12a4a86cebb8a2f38b5cb60dd27c964726a64aa876b9fae", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.ink_env.dependencies
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling syn v1.0.88
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling libc v0.2.120
[INFO] [stderr]    Compiling wyz v0.5.0
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling ink_prelude v3.0.0-rc9
[INFO] [stderr]    Compiling bitvec v1.0.0
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling secp256k1-sys v0.4.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling safe-proc-macro2 v1.0.36
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling sha3 v0.10.1
[INFO] [stderr]    Compiling libsecp256k1 v0.7.0
[INFO] [stderr]    Compiling secp256k1 v0.21.3
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]    Compiling ink_allocator v3.0.0-rc9
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling array-init v2.0.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling safe-quote v1.0.15
[INFO] [stderr]    Compiling unzip3 v1.0.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling blake2 v0.9.2
[INFO] [stderr]    Compiling safe-regex-compiler v0.2.5
[INFO] [stderr]    Compiling ink_lang_ir v3.0.0-rc9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling safe-regex-macro v0.2.5
[INFO] [stderr]    Compiling safe-regex v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling ink_storage_derive v3.0.0-rc9
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.0
[INFO] [stderr]    Compiling scale-info-derive v2.0.0
[INFO] [stderr]    Compiling parity-scale-codec v3.1.0
[INFO] [stderr]    Compiling ink_primitives v3.0.0-rc9
[INFO] [stderr]    Compiling ink_lang_codegen v3.0.0-rc9
[INFO] [stderr]    Compiling ink_lang_macro v3.0.0-rc9
[INFO] [stderr]    Compiling pink-extension-macro v0.1.3
[INFO] [stderr]    Compiling scale-info v2.0.1
[INFO] [stderr]    Compiling arber v0.2.0 (/opt/rustwide/workdir/arber)
[INFO] [stderr]    Compiling ink_metadata v3.0.0-rc9
[INFO] [stderr]    Compiling ink_env v3.0.0-rc9
[INFO] [stderr]    Compiling ink_storage v3.0.0-rc9
[INFO] [stderr]    Compiling ink_eth_compatibility v3.0.0-rc9
[INFO] [stderr]    Compiling ink_lang v3.0.0-rc9
[INFO] [stderr]    Compiling pink-extension v0.1.5
[INFO] [stderr]    Compiling flat_merkle_mountain_range v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]   --> lib.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         Store,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0158]: associated consts cannot be referenced in patterns
[INFO] [stdout]   --> lib.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(SpreadAllocate)]
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `merkle`
[INFO] [stdout]   --> lib.rs:96:17
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let merkle = MerkleMountainRange::new(0, s);
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hashes`
[INFO] [stdout]    --> lib.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |             let mut hashes:Vec<String> = Vec::new();
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `merkle`
[INFO] [stdout]    --> lib.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let merkle = MerkleMountainRange::new(0, s);
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |             let mut hashes:Vec<String> = Vec::new();
[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] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0158`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flat_merkle_mountain_range` due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "29de796bdbd9dbf3b12a4a86cebb8a2f38b5cb60dd27c964726a64aa876b9fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29de796bdbd9dbf3b12a4a86cebb8a2f38b5cb60dd27c964726a64aa876b9fae", kill_on_drop: false }`
[INFO] [stdout] 29de796bdbd9dbf3b12a4a86cebb8a2f38b5cb60dd27c964726a64aa876b9fae