[INFO] cloning repository https://github.com/rafaelgdgs/blockchain_study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafaelgdgs/blockchain_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaelgdgs%2Fblockchain_study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaelgdgs%2Fblockchain_study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f64e309270ddcb49778aa8066afbad20166ea5c9
[INFO] checking rafaelgdgs/blockchain_study/f64e309270ddcb49778aa8066afbad20166ea5c9 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaelgdgs%2Fblockchain_study" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rafaelgdgs/blockchain_study
[INFO] finished tweaking git repo https://github.com/rafaelgdgs/blockchain_study
[INFO] tweaked toml for git repo https://github.com/rafaelgdgs/blockchain_study written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rafaelgdgs/blockchain_study on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rafaelgdgs/blockchain_study 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.103
[INFO] [stderr]   Downloaded windows-strings v0.5.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.103
[INFO] [stderr]   Downloaded windows-result v0.4.0
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.2
[INFO] [stderr]   Downloaded windows-core v0.62.0
[INFO] [stderr]   Downloaded cc v1.2.38
[INFO] [stderr]   Downloaded js-sys v0.3.80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c
[INFO] running `Command { std: "docker" "start" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `)`
[INFO] [stdout]   --> src/mine.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn compute_nonce(current_block: &mut Block, target: ) -> (Block, [u8; 32]) {
[INFO] [stdout]    |                                                         ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `)`
[INFO] [stdout]   --> src/mine.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn compute_nonce(current_block: &mut Block, target: ) -> (Block, [u8; 32]) {
[INFO] [stdout]    |                                                         ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/blockchain.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/blockchain.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/mine.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     compute_nonce(&mut new_block)
[INFO] [stdout]    |     ^^^^^^^^^^^^^---------------- argument #2 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/mine.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn compute_nonce(current_block: &mut Block, target: ) -> (Block, [u8; 32]) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^                                  -
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 10 |     compute_nonce(&mut new_block, /* <!dummy!> */)
[INFO] [stdout]    |                                 +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/mine.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     compute_nonce(&mut new_block)
[INFO] [stdout]    |     ^^^^^^^^^^^^^---------------- argument #2 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/mine.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn compute_nonce(current_block: &mut Block, target: ) -> (Block, [u8; 32]) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^                                  -
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 10 |     compute_nonce(&mut new_block, /* <!dummy!> */)
[INFO] [stdout]    |                                 +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_block`
[INFO] [stdout]   --> src/blockchain.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn add_block(&mut self, new_block: Block) -> Result<(), ()> {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_block`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `new_block`
[INFO] [stdout]   --> src/blockchain.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn add_block(&mut self, new_block: Block) -> Result<(), ()> {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_block`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain" test) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c", kill_on_drop: false }`
[INFO] [stdout] 5c429ab1fec784e742319da261805010ea7278e846d4947c67b115ce1afd6f7c
