[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] building Guocork/blockchain against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[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] validating manifest of git repo https://github.com/Guocork/blockchain on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] 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" "+334963c956d25708feab489a3816ae63f639355d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e13b73a271192ddb5b97a99eef8885a78b2585c325e57c0b6f16ce488ea441d
[INFO] running `Command { std: "docker" "start" "-a" "8e13b73a271192ddb5b97a99eef8885a78b2585c325e57c0b6f16ce488ea441d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e13b73a271192ddb5b97a99eef8885a78b2585c325e57c0b6f16ce488ea441d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e13b73a271192ddb5b97a99eef8885a78b2585c325e57c0b6f16ce488ea441d", kill_on_drop: false }`
[INFO] [stdout] 8e13b73a271192ddb5b97a99eef8885a78b2585c325e57c0b6f16ce488ea441d
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b92c6a7eee09075e2c4476a7486a8d9d6727fa817690b2db131354e919d1e0ce
[INFO] running `Command { std: "docker" "start" "-a" "b92c6a7eee09075e2c4476a7486a8d9d6727fa817690b2db131354e919d1e0ce", 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 powerfmt v0.2.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling syn v2.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling 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[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 `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 `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 `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" "b92c6a7eee09075e2c4476a7486a8d9d6727fa817690b2db131354e919d1e0ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b92c6a7eee09075e2c4476a7486a8d9d6727fa817690b2db131354e919d1e0ce", kill_on_drop: false }`
[INFO] [stdout] b92c6a7eee09075e2c4476a7486a8d9d6727fa817690b2db131354e919d1e0ce
