[INFO] cloning repository https://github.com/elvinlife/Prism [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elvinlife/Prism" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvinlife%2FPrism", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvinlife%2FPrism'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 416e05364435771fe3a0408361112426da697a55 [INFO] testing elvinlife/Prism against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvinlife%2FPrism" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elvinlife/Prism on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elvinlife/Prism [INFO] finished tweaking git repo https://github.com/elvinlife/Prism [INFO] tweaked toml for git repo https://github.com/elvinlife/Prism written to /workspace/builds/worker-119/source/Cargo.toml [INFO] crate git repo https://github.com/elvinlife/Prism already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 135e2054e8a32ada1b4642c5e91a4f50c59bd37fbb5ea3f89aa58fcc2a52e14c [INFO] running `Command { std: "docker" "start" "-a" "135e2054e8a32ada1b4642c5e91a4f50c59bd37fbb5ea3f89aa58fcc2a52e14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "135e2054e8a32ada1b4642c5e91a4f50c59bd37fbb5ea3f89aa58fcc2a52e14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135e2054e8a32ada1b4642c5e91a4f50c59bd37fbb5ea3f89aa58fcc2a52e14c", kill_on_drop: false }` [INFO] [stdout] 135e2054e8a32ada1b4642c5e91a4f50c59bd37fbb5ea3f89aa58fcc2a52e14c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6098a98adef87c21d1f41f995583961c0f0676ff516713a95beeaa58eb6cb752 [INFO] running `Command { std: "docker" "start" "-a" "6098a98adef87c21d1f41f995583961c0f0676ff516713a95beeaa58eb6cb752", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Compiling hex-literal v0.2.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AccountState` [INFO] [stdout] --> src/network/worker.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{Blockchain, block::{Block, State, AccountState}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verify` [INFO] [stdout] --> src/network/worker.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transaction::{SignedTransaction,verify}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ed25519KeyPair` [INFO] [stdout] --> src/txgenerator.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use ring::signature::{Ed25519KeyPair, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/txgenerator.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/txgenerator.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use crossbeam::channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txs_hash_buffer` [INFO] [stdout] --> src/txgenerator.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut txs_hash_buffer: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txs_hash_buffer` [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/txgenerator.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut txs_hash_buffer: Vec = 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] warning: field is never read: `id` [INFO] [stdout] --> src/miner.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | id: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.16s [INFO] running `Command { std: "docker" "inspect" "6098a98adef87c21d1f41f995583961c0f0676ff516713a95beeaa58eb6cb752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6098a98adef87c21d1f41f995583961c0f0676ff516713a95beeaa58eb6cb752", kill_on_drop: false }` [INFO] [stdout] 6098a98adef87c21d1f41f995583961c0f0676ff516713a95beeaa58eb6cb752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d1a9f7b1adb3465a88e5d06dbbfc8240a9719d31371971f4c1d33a75568d51 [INFO] running `Command { std: "docker" "start" "-a" "e1d1a9f7b1adb3465a88e5d06dbbfc8240a9719d31371971f4c1d33a75568d51", 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 bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AccountState` [INFO] [stdout] --> src/network/worker.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{Blockchain, block::{Block, State, AccountState}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verify` [INFO] [stdout] --> src/network/worker.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transaction::{SignedTransaction,verify}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ed25519KeyPair` [INFO] [stdout] --> src/txgenerator.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use ring::signature::{Ed25519KeyPair, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/txgenerator.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/txgenerator.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use crossbeam::channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/blockchain.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | let mut blockchain = Blockchain::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/blockchain.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | blockchain.insert(&block); [INFO] [stdout] | ^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn insert(&mut self, block: &Block, state: &State) -> bool{ [INFO] [stdout] | ^^^^^^ --------- ------------- ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&crypto::hash::H256` with `crypto::hash::H256` [INFO] [stdout] --> src/blockchain.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(blockchain.tip(), block.hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&crypto::hash::H256 == crypto::hash::H256` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&crypto::hash::H256` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/blockchain.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let mut blockchain = Blockchain::new(Default::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/blockchain.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | chain_correct.push(hash_0); [INFO] [stdout] | ^^^^^^ expected struct `crypto::hash::H256`, found `&crypto::hash::H256` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 157 | chain_correct.push(*hash_0); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&block::State: Default` is not satisfied [INFO] [stdout] --> src/blockchain.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | blockchain.insert(&block1, Default::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `&block::State` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&block::State: Default` is not satisfied [INFO] [stdout] --> src/blockchain.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | blockchain.insert(&block2, Default::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `&block::State` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` due to 8 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1d1a9f7b1adb3465a88e5d06dbbfc8240a9719d31371971f4c1d33a75568d51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d1a9f7b1adb3465a88e5d06dbbfc8240a9719d31371971f4c1d33a75568d51", kill_on_drop: false }` [INFO] [stdout] e1d1a9f7b1adb3465a88e5d06dbbfc8240a9719d31371971f4c1d33a75568d51