[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] building CherryYang05/rust-minesweeper against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCherryYang05%2Frust-minesweeper" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CherryYang05/rust-minesweeper on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc1/source/Cargo.toml
[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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-targets v0.48.2
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.48.2
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.48.2
[INFO] [stderr]   Downloaded windows_i686_gnu v0.48.2
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.48.2
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.48.2
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.48.2
[INFO] [stderr]   Downloaded windows_i686_msvc v0.48.2
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8a7e892cb05438e051888ea250a9edaa4943327d975a2b6c42c0fb3c2d905553
[INFO] running `Command { std: "docker" "start" "-a" "8a7e892cb05438e051888ea250a9edaa4943327d975a2b6c42c0fb3c2d905553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a7e892cb05438e051888ea250a9edaa4943327d975a2b6c42c0fb3c2d905553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a7e892cb05438e051888ea250a9edaa4943327d975a2b6c42c0fb3c2d905553", kill_on_drop: false }`
[INFO] [stdout] 8a7e892cb05438e051888ea250a9edaa4943327d975a2b6c42c0fb3c2d905553
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5de146bb4d7ce63f6c90e3f3f75e80d4e3709e5e498d1b668d09fe609b7f2b3
[INFO] running `Command { std: "docker" "start" "-a" "b5de146bb4d7ce63f6c90e3f3f75e80d4e3709e5e498d1b668d09fe609b7f2b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.183
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling serde_json v1.0.104
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tui v0.19.0
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling 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)]` 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)]` 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: 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)]` 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 12.23s
[INFO] running `Command { std: "docker" "inspect" "b5de146bb4d7ce63f6c90e3f3f75e80d4e3709e5e498d1b668d09fe609b7f2b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5de146bb4d7ce63f6c90e3f3f75e80d4e3709e5e498d1b668d09fe609b7f2b3", kill_on_drop: false }`
[INFO] [stdout] b5de146bb4d7ce63f6c90e3f3f75e80d4e3709e5e498d1b668d09fe609b7f2b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42f371629da04cf0359237e15faf52160e4af06941c6575757939495c0677fdb
[INFO] running `Command { std: "docker" "start" "-a" "42f371629da04cf0359237e15faf52160e4af06941c6575757939495c0677fdb", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` 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)]` 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: 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "42f371629da04cf0359237e15faf52160e4af06941c6575757939495c0677fdb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42f371629da04cf0359237e15faf52160e4af06941c6575757939495c0677fdb", kill_on_drop: false }`
[INFO] [stdout] 42f371629da04cf0359237e15faf52160e4af06941c6575757939495c0677fdb
