[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvinlife%2FPrism" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elvinlife/Prism on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-28/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f41a55da4431578a781283e420c38a370ec5f1c418d6e490bfab1e55d591d298 [INFO] running `Command { std: "docker" "start" "-a" "f41a55da4431578a781283e420c38a370ec5f1c418d6e490bfab1e55d591d298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f41a55da4431578a781283e420c38a370ec5f1c418d6e490bfab1e55d591d298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41a55da4431578a781283e420c38a370ec5f1c418d6e490bfab1e55d591d298", kill_on_drop: false }` [INFO] [stdout] f41a55da4431578a781283e420c38a370ec5f1c418d6e490bfab1e55d591d298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c876afd02456d2c5f8b469e3a61be4d9c14bf33fff59af252e0d9d55e85cccda [INFO] running `Command { std: "docker" "start" "-a" "c876afd02456d2c5f8b469e3a61be4d9c14bf33fff59af252e0d9d55e85cccda", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling url v1.7.2 [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 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 30.42s [INFO] running `Command { std: "docker" "inspect" "c876afd02456d2c5f8b469e3a61be4d9c14bf33fff59af252e0d9d55e85cccda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c876afd02456d2c5f8b469e3a61be4d9c14bf33fff59af252e0d9d55e85cccda", kill_on_drop: false }` [INFO] [stdout] c876afd02456d2c5f8b469e3a61be4d9c14bf33fff59af252e0d9d55e85cccda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e0a97887d6f0bd427da97b6846eb99a3c0796cbc9c1d728a71e3a0421e2b16 [INFO] running `Command { std: "docker" "start" "-a" "f4e0a97887d6f0bd427da97b6846eb99a3c0796cbc9c1d728a71e3a0421e2b16", kill_on_drop: false }` [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] [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] [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] [stderr] error: could not compile `bitcoin` due to 8 previous errors; 6 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f4e0a97887d6f0bd427da97b6846eb99a3c0796cbc9c1d728a71e3a0421e2b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e0a97887d6f0bd427da97b6846eb99a3c0796cbc9c1d728a71e3a0421e2b16", kill_on_drop: false }` [INFO] [stdout] f4e0a97887d6f0bd427da97b6846eb99a3c0796cbc9c1d728a71e3a0421e2b16