[INFO] cloning repository https://github.com/aitorzaldua/cryptocurrency [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aitorzaldua/cryptocurrency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faitorzaldua%2Fcryptocurrency", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faitorzaldua%2Fcryptocurrency'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28c808c3c5292c4692215d00d954b8cd39146e2a [INFO] checking aitorzaldua/cryptocurrency against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faitorzaldua%2Fcryptocurrency" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aitorzaldua/cryptocurrency on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aitorzaldua/cryptocurrency [INFO] finished tweaking git repo https://github.com/aitorzaldua/cryptocurrency [INFO] tweaked toml for git repo https://github.com/aitorzaldua/cryptocurrency written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/aitorzaldua/cryptocurrency already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe4acf9054aa085a9cd67c39e7353d3f2445a168da603a4bb99b71fc5e9bc342 [INFO] running `Command { std: "docker" "start" "-a" "fe4acf9054aa085a9cd67c39e7353d3f2445a168da603a4bb99b71fc5e9bc342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe4acf9054aa085a9cd67c39e7353d3f2445a168da603a4bb99b71fc5e9bc342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4acf9054aa085a9cd67c39e7353d3f2445a168da603a4bb99b71fc5e9bc342", kill_on_drop: false }` [INFO] [stdout] fe4acf9054aa085a9cd67c39e7353d3f2445a168da603a4bb99b71fc5e9bc342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4425a110b19409960d8a1940b033652489d076eae1a995438dd3ba6eb18883 [INFO] running `Command { std: "docker" "start" "-a" "7e4425a110b19409960d8a1940b033652489d076eae1a995438dd3ba6eb18883", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cryptocurrency v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub hash: BlockHash, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub prev_block_hash: BlockHash, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new (index: u32, timestamp: u128, prev_block_hash: BlockHash, nonce: u64, payload: String, difficulty: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn check_difficulty (hash: &BlockHash, difficulty: u128) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/transaction.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | bytes.extend((&u64_bytes(&self.value))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub hash: BlockHash, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub prev_block_hash: BlockHash, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new (index: u32, timestamp: u128, prev_block_hash: BlockHash, nonce: u64, payload: String, difficulty: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope [INFO] [stdout] --> src/block.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn check_difficulty (hash: &BlockHash, difficulty: u128) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/transaction.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | bytes.extend((&u64_bytes(&self.value))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptocurrency` [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e4425a110b19409960d8a1940b033652489d076eae1a995438dd3ba6eb18883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4425a110b19409960d8a1940b033652489d076eae1a995438dd3ba6eb18883", kill_on_drop: false }` [INFO] [stdout] 7e4425a110b19409960d8a1940b033652489d076eae1a995438dd3ba6eb18883