[INFO] cloning repository https://github.com/benracine/basic-battleship-program
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benracine/basic-battleship-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenracine%2Fbasic-battleship-program", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenracine%2Fbasic-battleship-program'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd15a6b7b45803451f88b76d1341aada42abdbf6
[INFO] checking benracine/basic-battleship-program against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenracine%2Fbasic-battleship-program" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/benracine/basic-battleship-program
[INFO] finished tweaking git repo https://github.com/benracine/basic-battleship-program
[INFO] tweaked toml for git repo https://github.com/benracine/basic-battleship-program written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benracine/basic-battleship-program on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/benracine/basic-battleship-program 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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 benracine/basic-battleship-program against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenracine%2Fbasic-battleship-program" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/benracine/basic-battleship-program
[INFO] finished tweaking git repo https://github.com/benracine/basic-battleship-program
[INFO] tweaked toml for git repo https://github.com/benracine/basic-battleship-program written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benracine/basic-battleship-program on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/benracine/basic-battleship-program 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 39184f21e5de10e3825b31b2d9b16e4fa8b522d2ed80f266f970d414e66f3f57
[INFO] running `Command { std: "docker" "start" "-a" "39184f21e5de10e3825b31b2d9b16e4fa8b522d2ed80f266f970d414e66f3f57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39184f21e5de10e3825b31b2d9b16e4fa8b522d2ed80f266f970d414e66f3f57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39184f21e5de10e3825b31b2d9b16e4fa8b522d2ed80f266f970d414e66f3f57", kill_on_drop: false }`
[INFO] [stdout] 39184f21e5de10e3825b31b2d9b16e4fa8b522d2ed80f266f970d414e66f3f57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51b52f047a02e306704cc533dc26b1102a48e9ec85c8643116a36db293cd1ab0
[INFO] running `Command { std: "docker" "start" "-a" "51b52f047a02e306704cc533dc26b1102a48e9ec85c8643116a36db293cd1ab0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]     Checking battleship v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/app/game.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[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: `std::time::Duration`
[INFO] [stdout]  --> src/app/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/app/grid.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |             if (fits) {
[INFO] [stdout]    |                ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -             if (fits) {
[INFO] [stdout] 38 +             if fits  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/app/game.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[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: `std::time::Duration`
[INFO] [stdout]  --> src/app/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/app/grid.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |             if (fits) {
[INFO] [stdout]    |                ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -             if (fits) {
[INFO] [stdout] 38 +             if fits  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/app/grid.rs:37:75
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let fits = self.check_fit(ship, start_row, start_col, length, &ship.direction);
[INFO] [stdout]    |                             ---------                                     ^^^^^^^^^^^^^^^ expected `Direction`, found `&Direction`
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/app/grid.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn check_fit(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |         direction: Direction,
[INFO] [stdout]    |         --------------------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 37 -             let fits = self.check_fit(ship, start_row, start_col, length, &ship.direction);
[INFO] [stdout] 37 +             let fits = self.check_fit(ship, start_row, start_col, length, ship.direction);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/app/grid.rs:37:75
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let fits = self.check_fit(ship, start_row, start_col, length, &ship.direction);
[INFO] [stdout]    |                             ---------                                     ^^^^^^^^^^^^^^^ expected `Direction`, found `&Direction`
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/app/grid.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn check_fit(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |         direction: Direction,
[INFO] [stdout]    |         --------------------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 37 -             let fits = self.check_fit(ship, start_row, start_col, length, &ship.direction);
[INFO] [stdout] 37 +             let fits = self.check_fit(ship, start_row, start_col, length, ship.direction);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `CellStatus`
[INFO] [stdout]   --> src/app/grid.rs:66:66
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 || self.cells[row as usize][col as usize].status != CellStatus::Empty
[INFO] [stdout]    |                    --------------------------------------------- ^^ ----------------- CellStatus
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    CellStatus
[INFO] [stdout]    |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `CellStatus`
[INFO] [stdout]   --> src/app/cell.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum CellStatus {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `CellStatus` with `#[derive(PartialEq)]`
[INFO] [stdout]   --> src/app/cell.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 + #[derive(PartialEq)]
[INFO] [stdout] 27 | pub enum CellStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `CellStatus`
[INFO] [stdout]   --> src/app/grid.rs:66:66
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 || self.cells[row as usize][col as usize].status != CellStatus::Empty
[INFO] [stdout]    |                    --------------------------------------------- ^^ ----------------- CellStatus
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    CellStatus
[INFO] [stdout]    |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `CellStatus`
[INFO] [stdout]   --> src/app/cell.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum CellStatus {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `CellStatus` with `#[derive(PartialEq)]`
[INFO] [stdout]   --> src/app/cell.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 + #[derive(PartialEq)]
[INFO] [stdout] 27 | pub enum CellStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `battleship` (bin "battleship") due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `battleship` (bin "battleship" test) due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "51b52f047a02e306704cc533dc26b1102a48e9ec85c8643116a36db293cd1ab0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51b52f047a02e306704cc533dc26b1102a48e9ec85c8643116a36db293cd1ab0", kill_on_drop: false }`
[INFO] [stdout] 51b52f047a02e306704cc533dc26b1102a48e9ec85c8643116a36db293cd1ab0
