[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] testing 0xvicky/blockchain-with-consensus against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvicky%2Fblockchain-with-consensus" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xvicky/blockchain-with-consensus on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 931c5fe6c99a909fc7fbfc94cd5086c250d36d66507d1b53ed5b8f9f8828bf01
[INFO] running `Command { std: "docker" "start" "-a" "931c5fe6c99a909fc7fbfc94cd5086c250d36d66507d1b53ed5b8f9f8828bf01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "931c5fe6c99a909fc7fbfc94cd5086c250d36d66507d1b53ed5b8f9f8828bf01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "931c5fe6c99a909fc7fbfc94cd5086c250d36d66507d1b53ed5b8f9f8828bf01", kill_on_drop: false }`
[INFO] [stdout] 931c5fe6c99a909fc7fbfc94cd5086c250d36d66507d1b53ed5b8f9f8828bf01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e27998e8df3a7fff1f6978ec118992438108a4c2be152e192a9e3199a376c50
[INFO] running `Command { std: "docker" "start" "-a" "0e27998e8df3a7fff1f6978ec118992438108a4c2be152e192a9e3199a376c50", kill_on_drop: false }`
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `blockchain-with-consensus` (bin "blockchain-with-consensus") due to 4 previous errors; 1 warning emitted
[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] running `Command { std: "docker" "inspect" "0e27998e8df3a7fff1f6978ec118992438108a4c2be152e192a9e3199a376c50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e27998e8df3a7fff1f6978ec118992438108a4c2be152e192a9e3199a376c50", kill_on_drop: false }`
[INFO] [stdout] 0e27998e8df3a7fff1f6978ec118992438108a4c2be152e192a9e3199a376c50
