[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] checking elvinlife/Prism/416e05364435771fe3a0408361112426da697a55 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felvinlife%2FPrism" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elvinlife/Prism on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded hex-literal-impl v0.2.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.51 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.51 [INFO] [stderr] Downloaded js-sys v0.3.28 [INFO] [stderr] Downloaded web-sys v0.3.28 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded tiny_http v0.6.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.51 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded crossbeam v0.7.2 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2245bad3c8aac37cf91f73fdc66906579d947cce85205d11271d8dd56df048b1 [INFO] running `Command { std: "docker" "start" "-a" "2245bad3c8aac37cf91f73fdc66906579d947cce85205d11271d8dd56df048b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2245bad3c8aac37cf91f73fdc66906579d947cce85205d11271d8dd56df048b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2245bad3c8aac37cf91f73fdc66906579d947cce85205d11271d8dd56df048b1", kill_on_drop: false }` [INFO] [stdout] 2245bad3c8aac37cf91f73fdc66906579d947cce85205d11271d8dd56df048b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49b36e9e4f0e2b904495511b1bbc6d0a9cc00f63d8fcee40310583a2452f5798 [INFO] running `Command { std: "docker" "start" "-a" "49b36e9e4f0e2b904495511b1bbc6d0a9cc00f63d8fcee40310583a2452f5798", 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 unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking hex v0.4.0 [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] Checking hex-literal v0.2.1 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking bitcoin v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^ ------------------ unexpected argument [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] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 142 - let mut blockchain = Blockchain::new(Default::default()); [INFO] [stdout] 142 + let mut blockchain = Blockchain::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^-------- argument #2 of type `&block::State` is missing [INFO] [stdout] | [INFO] [stdout] note: method 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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 145 | blockchain.insert(&block, /* &block::State */); [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] | ^^^^^^^^^^^^^^^ ------------------ unexpected argument [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] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 152 - let mut blockchain = Blockchain::new(Default::default()); [INFO] [stdout] 152 + let mut blockchain = Blockchain::new(); [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 `H256`, found `&H256` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:2411:12 [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: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 159 | blockchain.insert(&block1, &Default::default()); [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: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 160 | blockchain.insert(&block2, &Default::default()); [INFO] [stdout] | + [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` (bin "bitcoin" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "49b36e9e4f0e2b904495511b1bbc6d0a9cc00f63d8fcee40310583a2452f5798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b36e9e4f0e2b904495511b1bbc6d0a9cc00f63d8fcee40310583a2452f5798", kill_on_drop: false }` [INFO] [stdout] 49b36e9e4f0e2b904495511b1bbc6d0a9cc00f63d8fcee40310583a2452f5798