[INFO] cloning repository https://github.com/theghostmac/yutachain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theghostmac/yutachain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fyutachain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fyutachain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e06816419bc2479ffac3844dcc63a32703e7fb5
[INFO] checking theghostmac/yutachain against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostmac%2Fyutachain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theghostmac/yutachain
[INFO] finished tweaking git repo https://github.com/theghostmac/yutachain
[INFO] tweaked toml for git repo https://github.com/theghostmac/yutachain written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theghostmac/yutachain on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/theghostmac/yutachain 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand_chacha v0.9.0-alpha.2
[INFO] [stderr]   Downloaded rand v0.9.0-alpha.2
[INFO] [stderr]   Downloaded rand_core v0.9.0-alpha.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96
[INFO] running `Command { std: "docker" "start" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.2
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.2
[INFO] [stderr]     Checking rand v0.9.0-alpha.2
[INFO] [stderr]     Checking yutachain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Validator`
[INFO] [stdout]  --> src/blockchain/blocks.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::pos::{PosMechanism, Validator};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Validator`
[INFO] [stdout]  --> src/blockchain/blocks.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::pos::{PosMechanism, Validator};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/blockchain/blocks.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let validator = self.pos_mechanism.select_validator().unwrap_or("No Validator".to_string());
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^-- argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/blockchain/pos.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn select_validator(&self, current_block_number: u64) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^        -------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let validator = self.pos_mechanism.select_validator(/* u64 */).unwrap_or("No Validator".to_string());
[INFO] [stdout]    |                                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/blockchain/blocks.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let validator = self.pos_mechanism.select_validator().unwrap_or("No Validator".to_string());
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^-- argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/blockchain/pos.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn select_validator(&self, current_block_number: u64) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^        -------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let validator = self.pos_mechanism.select_validator(/* u64 */).unwrap_or("No Validator".to_string());
[INFO] [stdout]    |                                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `yutachain` (bin "yutachain") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `yutachain` (bin "yutachain" test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96", kill_on_drop: false }`
[INFO] [stdout] 79135bb148630e0bfb0a26cfb456bafd1eb83a43dbba2840b3cb4797a48feb96
