[INFO] cloning repository https://github.com/CherryYang05/rust-minesweeper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CherryYang05/rust-minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCherryYang05%2Frust-minesweeper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCherryYang05%2Frust-minesweeper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28f8e613711ea3b29f470aa3f0319c4799d8fece
[INFO] checking CherryYang05/rust-minesweeper against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCherryYang05%2Frust-minesweeper" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CherryYang05/rust-minesweeper
[INFO] finished tweaking git repo https://github.com/CherryYang05/rust-minesweeper
[INFO] tweaked toml for git repo https://github.com/CherryYang05/rust-minesweeper written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CherryYang05/rust-minesweeper on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CherryYang05/rust-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-targets v0.48.2
[INFO] [stderr]   Downloaded tui v0.19.0
[INFO] [stderr]   Downloaded chrono v0.4.26
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.48.2
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.48.2
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.48.2
[INFO] [stderr]   Downloaded windows_i686_gnu v0.48.2
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.48.2
[INFO] [stderr]   Downloaded windows_i686_msvc v0.48.2
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.48.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e43909c5e0d7ba04f159b6cec0469a7c8aa0b71849e1fe4e33e5eff0698c3ba
[INFO] running `Command { std: "docker" "start" "-a" "1e43909c5e0d7ba04f159b6cec0469a7c8aa0b71849e1fe4e33e5eff0698c3ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e43909c5e0d7ba04f159b6cec0469a7c8aa0b71849e1fe4e33e5eff0698c3ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e43909c5e0d7ba04f159b6cec0469a7c8aa0b71849e1fe4e33e5eff0698c3ba", kill_on_drop: false }`
[INFO] [stdout] 1e43909c5e0d7ba04f159b6cec0469a7c8aa0b71849e1fe4e33e5eff0698c3ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0891982e28b15d32267c8f408394309cb54d64a9fc9dda8741f60d26b1f0d9fa
[INFO] running `Command { std: "docker" "start" "-a" "0891982e28b15d32267c8f408394309cb54d64a9fc9dda8741f60d26b1f0d9fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]     Checking tui v0.19.0
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking minesweeper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `RED_MINE` should have an upper camel case name
[INFO] [stdout]   --> src/map.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     RED_MINE, // 踩到的地雷
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `RedMine`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RED_MINE` should have an upper camel case name
[INFO] [stdout]   --> src/map.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     RED_MINE, // 踩到的地雷
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `RedMine`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/map.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn renew(&mut self, n: usize, m: usize) {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]  --> src/status.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn debug_switch(map: &map::Matrix, debug: bool) {
[INFO] [stdout]   |                     ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/map.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn renew(&mut self, n: usize, m: usize) {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Events` is never constructed
[INFO] [stdout]  --> src/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Events {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyEvent` is never used
[INFO] [stdout]   --> src/event.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MyEvent {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `pump` are never used
[INFO] [stdout]   --> src/event.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Events {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(pump: EventPump) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn pump(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug_switch` is never used
[INFO] [stdout]  --> src/status.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn debug_switch(map: &map::Matrix, debug: bool) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]  --> src/status.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn debug_switch(map: &map::Matrix, debug: bool) {
[INFO] [stdout]   |                     ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Events` is never constructed
[INFO] [stdout]  --> src/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Events {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyEvent` is never used
[INFO] [stdout]   --> src/event.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MyEvent {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `pump` are never used
[INFO] [stdout]   --> src/event.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Events {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(pump: EventPump) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn pump(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug_switch` is never used
[INFO] [stdout]  --> src/status.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn debug_switch(map: &map::Matrix, debug: bool) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.39s
[INFO] running `Command { std: "docker" "inspect" "0891982e28b15d32267c8f408394309cb54d64a9fc9dda8741f60d26b1f0d9fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0891982e28b15d32267c8f408394309cb54d64a9fc9dda8741f60d26b1f0d9fa", kill_on_drop: false }`
[INFO] [stdout] 0891982e28b15d32267c8f408394309cb54d64a9fc9dda8741f60d26b1f0d9fa
