[INFO] cloning repository https://github.com/LittleTealeaf/rust_in_a_row [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LittleTealeaf/rust_in_a_row" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleTealeaf%2Frust_in_a_row", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleTealeaf%2Frust_in_a_row'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5500b83678309a4bfce3667f05ef1a604ef94260 [INFO] checking LittleTealeaf/rust_in_a_row against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleTealeaf%2Frust_in_a_row" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LittleTealeaf/rust_in_a_row on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LittleTealeaf/rust_in_a_row [INFO] finished tweaking git repo https://github.com/LittleTealeaf/rust_in_a_row [INFO] tweaked toml for git repo https://github.com/LittleTealeaf/rust_in_a_row written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LittleTealeaf/rust_in_a_row 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" "+5431404b87967c69438ea1e698edbe96505f0798" "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 LittleTealeaf/rust_in_a_row against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleTealeaf%2Frust_in_a_row" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LittleTealeaf/rust_in_a_row on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LittleTealeaf/rust_in_a_row [INFO] finished tweaking git repo https://github.com/LittleTealeaf/rust_in_a_row [INFO] tweaked toml for git repo https://github.com/LittleTealeaf/rust_in_a_row written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LittleTealeaf/rust_in_a_row 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" "+21bc403d557a2516df70ea80fb19b94177beede5" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking LittleTealeaf/rust_in_a_row against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittleTealeaf%2Frust_in_a_row" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LittleTealeaf/rust_in_a_row on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LittleTealeaf/rust_in_a_row [INFO] finished tweaking git repo https://github.com/LittleTealeaf/rust_in_a_row [INFO] tweaked toml for git repo https://github.com/LittleTealeaf/rust_in_a_row written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LittleTealeaf/rust_in_a_row 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" "+21bc403d557a2516df70ea80fb19b94177beede5" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83e7dd58d57fe698f7286cca19556bb3953d09196e2e7da90ddf6cbd95888ddb [INFO] running `Command { std: "docker" "start" "-a" "83e7dd58d57fe698f7286cca19556bb3953d09196e2e7da90ddf6cbd95888ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e7dd58d57fe698f7286cca19556bb3953d09196e2e7da90ddf6cbd95888ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e7dd58d57fe698f7286cca19556bb3953d09196e2e7da90ddf6cbd95888ddb", kill_on_drop: false }` [INFO] [stdout] 83e7dd58d57fe698f7286cca19556bb3953d09196e2e7da90ddf6cbd95888ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+21bc403d557a2516df70ea80fb19b94177beede5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a6ee23b6b89b5fcb6c7246a2747062013dc0c9df884e9f040f949035455fef4 [INFO] running `Command { std: "docker" "start" "-a" "2a6ee23b6b89b5fcb6c7246a2747062013dc0c9df884e9f040f949035455fef4", kill_on_drop: false }` [INFO] [stderr] Checking rust_in_a_row v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `term::prompt_new_game` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use term::prompt_new_game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term::prompt_new_game` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use term::prompt_new_game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player` is never constructed [INFO] [stdout] --> src/game/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Tile { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 4 | Empty, [INFO] [stdout] 5 | Player(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `players`, `turn`, `goal`, and `state` are never read [INFO] [stdout] --> src/game/game.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | players: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | turn: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | goal: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | state: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_tile`, `next_turn`, `create`, `get_tile`, `get_turn`, and `place_move` are never used [INFO] [stdout] --> src/game/game.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_tile(&mut self, x: usize, y: usize, tile: Tile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn next_turn(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_turn(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn place_move(&mut self, x: usize, y: usize) -> Result<(), PlaceMoveError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DimensionTooSmall`, `TooFewPlayers`, `GoalTooSmall`, and `GoalTooLarge` are never constructed [INFO] [stdout] --> src/game/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum CreateGameError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 4 | DimensionTooSmall, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | TooFewPlayers, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | GoalTooSmall, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | GoalTooLarge [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateGameError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PositionOutOfRange` and `TileNotEmpty` are never constructed [INFO] [stdout] --> src/game/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PlaceMoveError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 12 | PositionOutOfRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | TileNotEmpty [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlaceMoveError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/term/prompts.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_input() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_new_game` is never used [INFO] [stdout] --> src/term/prompts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn prompt_new_game() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player` is never constructed [INFO] [stdout] --> src/game/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Tile { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 4 | Empty, [INFO] [stdout] 5 | Player(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/game/game.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | state: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_tile`, `get_tile`, and `place_move` are never used [INFO] [stdout] --> src/game/game.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_tile(&mut self, x: usize, y: usize, tile: Tile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn place_move(&mut self, x: usize, y: usize) -> Result<(), PlaceMoveError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PositionOutOfRange` and `TileNotEmpty` are never constructed [INFO] [stdout] --> src/game/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PlaceMoveError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 12 | PositionOutOfRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | TileNotEmpty [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlaceMoveError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/term/prompts.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_input() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_new_game` is never used [INFO] [stdout] --> src/term/prompts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn prompt_new_game() -> Result { [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 0.06s [INFO] running `Command { std: "docker" "inspect" "2a6ee23b6b89b5fcb6c7246a2747062013dc0c9df884e9f040f949035455fef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6ee23b6b89b5fcb6c7246a2747062013dc0c9df884e9f040f949035455fef4", kill_on_drop: false }` [INFO] [stdout] 2a6ee23b6b89b5fcb6c7246a2747062013dc0c9df884e9f040f949035455fef4