[INFO] cloning repository https://github.com/Franso/rust-simple-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Franso/rust-simple-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranso%2Frust-simple-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranso%2Frust-simple-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e69371d5d9571b832b590ef4d9efbc20aafdd54
[INFO] checking Franso/rust-simple-blockchain against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranso%2Frust-simple-blockchain" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Franso/rust-simple-blockchain
[INFO] finished tweaking git repo https://github.com/Franso/rust-simple-blockchain
[INFO] tweaked toml for git repo https://github.com/Franso/rust-simple-blockchain written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Franso/rust-simple-blockchain on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Franso/rust-simple-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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e26a68fe910d90589edc081fc66ed011936c0d9f50c9798d7f9305ca3061a072
[INFO] running `Command { std: "docker" "start" "-a" "e26a68fe910d90589edc081fc66ed011936c0d9f50c9798d7f9305ca3061a072", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e26a68fe910d90589edc081fc66ed011936c0d9f50c9798d7f9305ca3061a072", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e26a68fe910d90589edc081fc66ed011936c0d9f50c9798d7f9305ca3061a072", kill_on_drop: false }`
[INFO] [stdout] e26a68fe910d90589edc081fc66ed011936c0d9f50c9798d7f9305ca3061a072
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f447406a75b8db2d770cf7e33dfaa19a5252fcb2072593fb793f7a729c9bd2a
[INFO] running `Command { std: "docker" "start" "-a" "5f447406a75b8db2d770cf7e33dfaa19a5252fcb2072593fb793f7a729c9bd2a", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling const_fn v0.4.7
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]     Checking time-macros v0.1.1
[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:86:30
[INFO] [stdout]    |
[INFO] [stdout] 86 |             timestamp: time::now().to_timespec().sec,
[INFO] [stdout]    |                              ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]   --> src/blockchain.rs:86:30
[INFO] [stdout]    |
[INFO] [stdout] 86 |             timestamp: time::now().to_timespec().sec,
[INFO] [stdout]    |                              ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `input` found for struct `Sha256` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:162:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |         hasher.input(input.as_bytes());
[INFO] [stdout]     |                ^^^^^ method not found in `Sha256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `result` found for struct `Sha256` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:163:26
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let res = hasher.result();
[INFO] [stdout]     |                          ^^^^^^ method not found in `Sha256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/blockchain.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Err(_)` not covered
[INFO] [stdout]    --> src/blockchain.rs:147:19
[INFO] [stdout]     |
[INFO] [stdout] 147 |             match slice.parse::<u32>() {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ pattern `Err(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<u32, ParseIntError>` defined here
[INFO] [stdout]    --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/result.rs:548:1
[INFO] [stdout]    ::: /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/result.rs:557:5
[INFO] [stdout]     |
[INFO] [stdout]     = note: not covered
[INFO] [stdout]     = note: the matched value is of type `Result<u32, ParseIntError>`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 153 ~                 },
[INFO] [stdout] 154 +                 Err(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `choice` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let choice = String::new();
[INFO] [stdout]    |         ^^^^^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 40 |         choice.clear();
[INFO] [stdout]    |         ------ cannot borrow as mutable
[INFO] [stdout] 41 |         io::stdin().read_line(&mut choice);
[INFO] [stdout]    |                               ----------- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut choice = String::new();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0425, E0596, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `input` found for struct `Sha256` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:162:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |         hasher.input(input.as_bytes());
[INFO] [stdout]     |                ^^^^^ method not found in `Sha256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `result` found for struct `Sha256` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:163:26
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let res = hasher.result();
[INFO] [stdout]     |                          ^^^^^^ method not found in `Sha256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/blockchain.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Err(_)` not covered
[INFO] [stdout]    --> src/blockchain.rs:147:19
[INFO] [stdout]     |
[INFO] [stdout] 147 |             match slice.parse::<u32>() {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ pattern `Err(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<u32, ParseIntError>` defined here
[INFO] [stdout]    --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/result.rs:548:1
[INFO] [stdout]    ::: /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/result.rs:557:5
[INFO] [stdout]     |
[INFO] [stdout]     = note: not covered
[INFO] [stdout]     = note: the matched value is of type `Result<u32, ParseIntError>`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 153 ~                 },
[INFO] [stdout] 154 +                 Err(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `choice` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let choice = String::new();
[INFO] [stdout]    |         ^^^^^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 40 |         choice.clear();
[INFO] [stdout]    |         ------ cannot borrow as mutable
[INFO] [stdout] 41 |         io::stdin().read_line(&mut choice);
[INFO] [stdout]    |                               ----------- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut choice = String::new();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0425, E0596, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain" test) due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5f447406a75b8db2d770cf7e33dfaa19a5252fcb2072593fb793f7a729c9bd2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f447406a75b8db2d770cf7e33dfaa19a5252fcb2072593fb793f7a729c9bd2a", kill_on_drop: false }`
[INFO] [stdout] 5f447406a75b8db2d770cf7e33dfaa19a5252fcb2072593fb793f7a729c9bd2a
