[INFO] cloning repository https://github.com/eliasffyksen/RustyBoard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eliasffyksen/RustyBoard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FRustyBoard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FRustyBoard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24302ee186cc0d1be0b3be91eed586f11276a003 [INFO] checking eliasffyksen/RustyBoard against master#73252d51d13c0e4f872c3c51defcf48174860ef6 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FRustyBoard" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eliasffyksen/RustyBoard on toolchain 73252d51d13c0e4f872c3c51defcf48174860ef6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eliasffyksen/RustyBoard [INFO] finished tweaking git repo https://github.com/eliasffyksen/RustyBoard [INFO] tweaked toml for git repo https://github.com/eliasffyksen/RustyBoard written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eliasffyksen/RustyBoard 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" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking eliasffyksen/RustyBoard against try#5d004039df46bb665b8ed6385386e3b1b007a6a8 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FRustyBoard" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eliasffyksen/RustyBoard on toolchain 5d004039df46bb665b8ed6385386e3b1b007a6a8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eliasffyksen/RustyBoard [INFO] finished tweaking git repo https://github.com/eliasffyksen/RustyBoard [INFO] tweaked toml for git repo https://github.com/eliasffyksen/RustyBoard written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eliasffyksen/RustyBoard 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" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a385031ff087a5077a6479967c98a3bc5cf0424bf2f44e1ec65d4d760db5ffc [INFO] running `Command { std: "docker" "start" "-a" "6a385031ff087a5077a6479967c98a3bc5cf0424bf2f44e1ec65d4d760db5ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a385031ff087a5077a6479967c98a3bc5cf0424bf2f44e1ec65d4d760db5ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a385031ff087a5077a6479967c98a3bc5cf0424bf2f44e1ec65d4d760db5ffc", kill_on_drop: false }` [INFO] [stdout] 6a385031ff087a5077a6479967c98a3bc5cf0424bf2f44e1ec65d4d760db5ffc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c553b84f50518571225cd08a7d410918a7bdcfadbf19c60d42d9ba0e20532bb [INFO] running `Command { std: "docker" "start" "-a" "5c553b84f50518571225cd08a7d410918a7bdcfadbf19c60d42d9ba0e20532bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/games/chess/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random::RandomPlayer` [INFO] [stdout] --> src/players/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use random::RandomPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/games/chess/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random::RandomPlayer` [INFO] [stdout] --> src/players/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use random::RandomPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pawn`, `Knight`, `Rook`, `Bishop`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/games/chess/mod.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 4 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | King(bool), // Whether it has moved or not [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blank`, `White`, and `Black` are never constructed [INFO] [stdout] --> src/games/chess/mod.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 17 | enum Square { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 18 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | White(Piece), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Black(Piece), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Square` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/games/chess/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_board`, and `init_piece` are never used [INFO] [stdout] --> src/games/chess/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 33 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> State { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn init_board(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn init_piece(&mut self, piece: Piece, place: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/players/random.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl RandomPlayer where R: rand::Rng { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(rng: R) -> RandomPlayer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pawn`, `Knight`, `Rook`, `Bishop`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/games/chess/mod.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 4 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | King(bool), // Whether it has moved or not [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blank`, `White`, and `Black` are never constructed [INFO] [stdout] --> src/games/chess/mod.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 17 | enum Square { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 18 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | White(Piece), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Black(Piece), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Square` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/games/chess/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_board`, and `init_piece` are never used [INFO] [stdout] --> src/games/chess/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 33 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> State { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn init_board(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn init_piece(&mut self, piece: Piece, place: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/players/random.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl RandomPlayer where R: rand::Rng { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(rng: R) -> RandomPlayer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "5c553b84f50518571225cd08a7d410918a7bdcfadbf19c60d42d9ba0e20532bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c553b84f50518571225cd08a7d410918a7bdcfadbf19c60d42d9ba0e20532bb", kill_on_drop: false }` [INFO] [stdout] 5c553b84f50518571225cd08a7d410918a7bdcfadbf19c60d42d9ba0e20532bb