[INFO] cloning repository https://github.com/Guocork/blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Guocork/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cfab3cfcf2840971028fe0ff55cb751d6fabd180
[INFO] checking Guocork/blockchain against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Guocork/blockchain
[INFO] finished tweaking git repo https://github.com/Guocork/blockchain
[INFO] tweaked toml for git repo https://github.com/Guocork/blockchain written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Guocork/blockchain on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Guocork/blockchain 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62b5a52e15116287a4b3ab4da277ce98d606e015b3b6d620325eeda7a14ccad1
[INFO] running `Command { std: "docker" "start" "-a" "62b5a52e15116287a4b3ab4da277ce98d606e015b3b6d620325eeda7a14ccad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62b5a52e15116287a4b3ab4da277ce98d606e015b3b6d620325eeda7a14ccad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62b5a52e15116287a4b3ab4da277ce98d606e015b3b6d620325eeda7a14ccad1", kill_on_drop: false }`
[INFO] [stdout] 62b5a52e15116287a4b3ab4da277ce98d606e015b3b6d620325eeda7a14ccad1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c88219f4b8ec19c0308f80bcfb69283718330434d9c1165169a5fc85a24f46ba
[INFO] running `Command { std: "docker" "start" "-a" "c88219f4b8ec19c0308f80bcfb69283718330434d9c1165169a5fc85a24f46ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking cpufeatures v0.2.12
[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]    Compiling quote v1.0.36
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling syn v2.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]   --> src/blockchain.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |             timestamp: time::now().to_timespec().sec,
[INFO] [stdout]    |                              ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha256`
[INFO] [stdout]  --> src/blockchain.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sha2::{ Sha256, Digest};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/blockchain.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]   --> src/blockchain.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |             timestamp: time::now().to_timespec().sec,
[INFO] [stdout]    |                              ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha256`
[INFO] [stdout]  --> src/blockchain.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sha2::{ Sha256, Digest};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/blockchain.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Chain {
[INFO] [stdout]    | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |         Chain::hash(&block.header)
[INFO] [stdout]    |                ^^^^ function or associated item not found in `blockchain::Chain`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain`
[INFO] [stdout]   --> src/blockchain.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(miner_addr: String, difficulty: u32) -> Chain {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `merkle` in initializer of `Blockheader`
[INFO] [stdout]   --> src/blockchain.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let header = Blockheader {
[INFO] [stdout]    |                      ^^^^^^^^^^^ missing `merkle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_merkle` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:104:38
[INFO] [stdout]     |
[INFO] [stdout] 29  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `get_merkle` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 104 |         block.header.merkle = Chain::get_merkle(block.transaction.clone());
[INFO] [stdout]     |                                      ^^^^^^^^^^ function or associated item not found in `blockchain::Chain`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain`
[INFO] [stdout]    --> src/blockchain.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout] 39  |     pub fn new(miner_addr: String, difficulty: u32) -> Chain {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `proof_of_work` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 29  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `proof_of_work` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 105 |         Chain::proof_of_work(&mut block.header);
[INFO] [stdout]     |                ^^^^^^^^^^^^^ function or associated item not found in `blockchain::Chain`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain`
[INFO] [stdout]    --> src/blockchain.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout] 39  |     pub fn new(miner_addr: String, difficulty: u32) -> Chain {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/blockchain.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sha2::{ Sha256, Digest};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain" test) due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Chain {
[INFO] [stdout]    | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |         Chain::hash(&block.header)
[INFO] [stdout]    |                ^^^^ function or associated item not found in `blockchain::Chain`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain`
[INFO] [stdout]   --> src/blockchain.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(miner_addr: String, difficulty: u32) -> Chain {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `merkle` in initializer of `Blockheader`
[INFO] [stdout]   --> src/blockchain.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let header = Blockheader {
[INFO] [stdout]    |                      ^^^^^^^^^^^ missing `merkle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_merkle` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:104:38
[INFO] [stdout]     |
[INFO] [stdout] 29  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `get_merkle` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 104 |         block.header.merkle = Chain::get_merkle(block.transaction.clone());
[INFO] [stdout]     |                                      ^^^^^^^^^^ function or associated item not found in `blockchain::Chain`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain`
[INFO] [stdout]    --> src/blockchain.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout] 39  |     pub fn new(miner_addr: String, difficulty: u32) -> Chain {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `proof_of_work` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 29  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `proof_of_work` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 105 |         Chain::proof_of_work(&mut block.header);
[INFO] [stdout]     |                ^^^^^^^^^^^^^ function or associated item not found in `blockchain::Chain`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain`
[INFO] [stdout]    --> src/blockchain.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout] 39  |     pub fn new(miner_addr: String, difficulty: u32) -> Chain {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/blockchain.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sha2::{ Sha256, Digest};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c88219f4b8ec19c0308f80bcfb69283718330434d9c1165169a5fc85a24f46ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c88219f4b8ec19c0308f80bcfb69283718330434d9c1165169a5fc85a24f46ba", kill_on_drop: false }`
[INFO] [stdout] c88219f4b8ec19c0308f80bcfb69283718330434d9c1165169a5fc85a24f46ba
