[INFO] cloning repository https://github.com/0xvicky/blockchain-with-consensus
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xvicky/blockchain-with-consensus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvicky%2Fblockchain-with-consensus", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvicky%2Fblockchain-with-consensus'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 62a4c41510cf002b430c4002f4eb81ad4534f39f
[INFO] checking 0xvicky/blockchain-with-consensus against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvicky%2Fblockchain-with-consensus" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xvicky/blockchain-with-consensus
[INFO] finished tweaking git repo https://github.com/0xvicky/blockchain-with-consensus
[INFO] tweaked toml for git repo https://github.com/0xvicky/blockchain-with-consensus written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xvicky/blockchain-with-consensus on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xvicky/blockchain-with-consensus 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3b7b057addddd6cefcc14e29cb71cdd19601378a4abb7007503a75b4729f544
[INFO] running `Command { std: "docker" "start" "-a" "c3b7b057addddd6cefcc14e29cb71cdd19601378a4abb7007503a75b4729f544", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3b7b057addddd6cefcc14e29cb71cdd19601378a4abb7007503a75b4729f544", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3b7b057addddd6cefcc14e29cb71cdd19601378a4abb7007503a75b4729f544", kill_on_drop: false }`
[INFO] [stdout] c3b7b057addddd6cefcc14e29cb71cdd19601378a4abb7007503a75b4729f544
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05c499705f17e62d7add59a49f01a73b6e002fa65c1693ad010afbdc74d3a0c6
[INFO] running `Command { std: "docker" "start" "-a" "05c499705f17e62d7add59a49f01a73b6e002fa65c1693ad010afbdc74d3a0c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking blockchain-with-consensus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/block.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         )
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 53 |     }
[INFO] [stdout]    |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/block.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn hash_txns ()->Vec<u8>{
[INFO] [stdout]    |        ---------     ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<u8>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: consider returning the local binding `txns`
[INFO] [stdout]    |
[INFO] [stdout] 40 ~         let mut txns = Vec::new();
[INFO] [stdout] 41 +         txns
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn validate(&self) -> bool {
[INFO] [stdout]    |        --------           ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:48:36
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn produce_hash_data(&self) -> u8 {
[INFO] [stdout]    |        -----------------           ^^ expected `u8`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/block.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         )
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 53 |     }
[INFO] [stdout]    |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/block.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain-with-consensus` (bin "blockchain-with-consensus") due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn hash_txns ()->Vec<u8>{
[INFO] [stdout]    |        ---------     ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<u8>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: consider returning the local binding `txns`
[INFO] [stdout]    |
[INFO] [stdout] 40 ~         let mut txns = Vec::new();
[INFO] [stdout] 41 +         txns
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn validate(&self) -> bool {
[INFO] [stdout]    |        --------           ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:48:36
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn produce_hash_data(&self) -> u8 {
[INFO] [stdout]    |        -----------------           ^^ expected `u8`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain-with-consensus` (bin "blockchain-with-consensus" test) due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "05c499705f17e62d7add59a49f01a73b6e002fa65c1693ad010afbdc74d3a0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05c499705f17e62d7add59a49f01a73b6e002fa65c1693ad010afbdc74d3a0c6", kill_on_drop: false }`
[INFO] [stdout] 05c499705f17e62d7add59a49f01a73b6e002fa65c1693ad010afbdc74d3a0c6
