[INFO] cloning repository https://github.com/aricasas/minesweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aricasas/minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faricasas%2Fminesweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faricasas%2Fminesweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9483add5f220de7c2f76bda63767f36a68cc76d6 [INFO] checking aricasas/minesweeper against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faricasas%2Fminesweeper" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aricasas/minesweeper [INFO] finished tweaking git repo https://github.com/aricasas/minesweeper [INFO] tweaked toml for git repo https://github.com/aricasas/minesweeper written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aricasas/minesweeper on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aricasas/minesweeper 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2449e7d2e14cb23aa8c73b850bef5241920efae0a7b43da7eed39458ff7fd11e [INFO] running `Command { std: "docker" "start" "-a" "2449e7d2e14cb23aa8c73b850bef5241920efae0a7b43da7eed39458ff7fd11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2449e7d2e14cb23aa8c73b850bef5241920efae0a7b43da7eed39458ff7fd11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2449e7d2e14cb23aa8c73b850bef5241920efae0a7b43da7eed39458ff7fd11e", kill_on_drop: false }` [INFO] [stdout] 2449e7d2e14cb23aa8c73b850bef5241920efae0a7b43da7eed39458ff7fd11e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a70cf525634b3ed59f5ac890eb2c7701c033ccfccba94fb17e3bdadddc0bff70 [INFO] running `Command { std: "docker" "start" "-a" "a70cf525634b3ed59f5ac890eb2c7701c033ccfccba94fb17e3bdadddc0bff70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking minesweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `protected_x` [INFO] [stdout] --> src/minefield.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_new_mine_layout(protected_x: u8, protected_y: u8) -> [usize; 30] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protected_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protected_y` [INFO] [stdout] --> src/minefield.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_new_mine_layout(protected_x: u8, protected_y: u8) -> [usize; 30] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protected_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mines`, `MissedMine`, and `BadFlag` are never constructed [INFO] [stdout] --> src/cells.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CellState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | Mines(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | MissedMine, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | BadFlag, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` 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: field `contains_mine` is never read [INFO] [stdout] --> src/cells.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cell { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | /// If the cell has a mine [INFO] [stdout] 16 | pub contains_mine: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_new_mine_layout` is never used [INFO] [stdout] --> src/minefield.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Minefield { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn create_new_mine_layout(protected_x: u8, protected_y: u8) -> [usize; 30] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protected_x` [INFO] [stdout] --> src/minefield.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_new_mine_layout(protected_x: u8, protected_y: u8) -> [usize; 30] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protected_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protected_y` [INFO] [stdout] --> src/minefield.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_new_mine_layout(protected_x: u8, protected_y: u8) -> [usize; 30] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protected_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mines`, `MissedMine`, and `BadFlag` are never constructed [INFO] [stdout] --> src/cells.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CellState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | Mines(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | MissedMine, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | BadFlag, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` 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: field `contains_mine` is never read [INFO] [stdout] --> src/cells.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cell { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | /// If the cell has a mine [INFO] [stdout] 16 | pub contains_mine: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_new_mine_layout` is never used [INFO] [stdout] --> src/minefield.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Minefield { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn create_new_mine_layout(protected_x: u8, protected_y: u8) -> [usize; 30] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "a70cf525634b3ed59f5ac890eb2c7701c033ccfccba94fb17e3bdadddc0bff70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70cf525634b3ed59f5ac890eb2c7701c033ccfccba94fb17e3bdadddc0bff70", kill_on_drop: false }` [INFO] [stdout] a70cf525634b3ed59f5ac890eb2c7701c033ccfccba94fb17e3bdadddc0bff70