[INFO] cloning repository https://github.com/jackgroom/Minesweeper-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackgroom/Minesweeper-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgroom%2FMinesweeper-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgroom%2FMinesweeper-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db5da0173e9bfabd4325329db0716dcdf6c05d5e [INFO] checking jackgroom/Minesweeper-in-Rust against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgroom%2FMinesweeper-in-Rust" "/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/jackgroom/Minesweeper-in-Rust [INFO] finished tweaking git repo https://github.com/jackgroom/Minesweeper-in-Rust [INFO] tweaked toml for git repo https://github.com/jackgroom/Minesweeper-in-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackgroom/Minesweeper-in-Rust on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackgroom/Minesweeper-in-Rust 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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 jackgroom/Minesweeper-in-Rust against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgroom%2FMinesweeper-in-Rust" "/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/jackgroom/Minesweeper-in-Rust [INFO] finished tweaking git repo https://github.com/jackgroom/Minesweeper-in-Rust [INFO] tweaked toml for git repo https://github.com/jackgroom/Minesweeper-in-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackgroom/Minesweeper-in-Rust on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackgroom/Minesweeper-in-Rust 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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 crossterm v0.26.0 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 069b102b94d79029c7790695913862ceb1720bbf0c7f73e3c8f01839562c63ad [INFO] running `Command { std: "docker" "start" "-a" "069b102b94d79029c7790695913862ceb1720bbf0c7f73e3c8f01839562c63ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "069b102b94d79029c7790695913862ceb1720bbf0c7f73e3c8f01839562c63ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069b102b94d79029c7790695913862ceb1720bbf0c7f73e3c8f01839562c63ad", kill_on_drop: false }` [INFO] [stdout] 069b102b94d79029c7790695913862ceb1720bbf0c7f73e3c8f01839562c63ad [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81d8b3e70de31f69459653bb6044fa160d9182a3215381f28f08de0c697fbe71 [INFO] running `Command { std: "docker" "start" "-a" "81d8b3e70de31f69459653bb6044fa160d9182a3215381f28f08de0c697fbe71", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.26.0 [INFO] [stderr] Checking Minesweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [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::fmt::Formatter` [INFO] [stdout] --> src/board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/board.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_raw_mode` and `enable_raw_mode` [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crossterm::terminal::{disable_raw_mode, enable_raw_mode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [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::fmt::Formatter` [INFO] [stdout] --> src/board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/board.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_raw_mode` and `enable_raw_mode` [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crossterm::terminal::{disable_raw_mode, enable_raw_mode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_char` found for reference `&cell::Cell` in the current scope [INFO] [stdout] --> src/cell.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "{}", self.to_char()) [INFO] [stdout] | ^^^^^^^ method not found in `&cell::Cell` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "{}", self.cell_type.to_char()) [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `CellType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/board.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | print!("[{}]", type_to_print); [INFO] [stdout] | -- ^^^^^^^^^^^^^ `CellType` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `CellType` [INFO] [stdout] --> src/cell.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CellType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `CellType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/board.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | print!(" {} ", type_to_print); [INFO] [stdout] | -- ^^^^^^^^^^^^^ `CellType` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `CellType` [INFO] [stdout] --> src/cell.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CellType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 18 | / loop { [INFO] [stdout] 19 | | if poll(Duration::from_millis(500))? { [INFO] [stdout] 20 | | match read()? { [INFO] [stdout] 21 | | Event::Key(event) => { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 39 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut current_cell: Cell = self[current_position]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_char` found for reference `&cell::Cell` in the current scope [INFO] [stdout] --> src/cell.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "{}", self.to_char()) [INFO] [stdout] | ^^^^^^^ method not found in `&cell::Cell` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "{}", self.cell_type.to_char()) [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `CellType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/board.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | print!("[{}]", type_to_print); [INFO] [stdout] | -- ^^^^^^^^^^^^^ `CellType` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `CellType` [INFO] [stdout] --> src/cell.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CellType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `CellType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/board.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | print!(" {} ", type_to_print); [INFO] [stdout] | -- ^^^^^^^^^^^^^ `CellType` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `CellType` [INFO] [stdout] --> src/cell.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CellType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 18 | / loop { [INFO] [stdout] 19 | | if poll(Duration::from_millis(500))? { [INFO] [stdout] 20 | | match read()? { [INFO] [stdout] 21 | | Event::Key(event) => { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 39 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut current_cell: Cell = self[current_position]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Minesweeper` (bin "Minesweeper" test) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Minesweeper` (bin "Minesweeper") due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81d8b3e70de31f69459653bb6044fa160d9182a3215381f28f08de0c697fbe71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d8b3e70de31f69459653bb6044fa160d9182a3215381f28f08de0c697fbe71", kill_on_drop: false }` [INFO] [stdout] 81d8b3e70de31f69459653bb6044fa160d9182a3215381f28f08de0c697fbe71