[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] building aricasas/minesweeper against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faricasas%2Fminesweeper" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aricasas/minesweeper on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49c0bbc0f85dde0729147d4e4ad9fd3a977c2eac06a2c7c55b2f1b17230f8d19 [INFO] running `Command { std: "docker" "start" "-a" "49c0bbc0f85dde0729147d4e4ad9fd3a977c2eac06a2c7c55b2f1b17230f8d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49c0bbc0f85dde0729147d4e4ad9fd3a977c2eac06a2c7c55b2f1b17230f8d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c0bbc0f85dde0729147d4e4ad9fd3a977c2eac06a2c7c55b2f1b17230f8d19", kill_on_drop: false }` [INFO] [stdout] 49c0bbc0f85dde0729147d4e4ad9fd3a977c2eac06a2c7c55b2f1b17230f8d19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1b00a27110a218680fdba7f40a5c39bcefee0344152a3e0a7844908cf4024b7 [INFO] running `Command { std: "docker" "start" "-a" "f1b00a27110a218680fdba7f40a5c39bcefee0344152a3e0a7844908cf4024b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "f1b00a27110a218680fdba7f40a5c39bcefee0344152a3e0a7844908cf4024b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b00a27110a218680fdba7f40a5c39bcefee0344152a3e0a7844908cf4024b7", kill_on_drop: false }` [INFO] [stdout] f1b00a27110a218680fdba7f40a5c39bcefee0344152a3e0a7844908cf4024b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8410f594daba77f50ea7ff03ffe5ef64ebf04c66874a6d2036269d11543f339c [INFO] running `Command { std: "docker" "start" "-a" "8410f594daba77f50ea7ff03ffe5ef64ebf04c66874a6d2036269d11543f339c", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "8410f594daba77f50ea7ff03ffe5ef64ebf04c66874a6d2036269d11543f339c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8410f594daba77f50ea7ff03ffe5ef64ebf04c66874a6d2036269d11543f339c", kill_on_drop: false }` [INFO] [stdout] 8410f594daba77f50ea7ff03ffe5ef64ebf04c66874a6d2036269d11543f339c