[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 try#b1f2594eac607c1f051534800237eeedb5590a49 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CherryYang05/rust-minesweeper on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 974969b027b60413e0dd6b2495ee772b6ff3405bf57c088a0a422ced9a03533b [INFO] running `Command { std: "docker" "start" "-a" "974969b027b60413e0dd6b2495ee772b6ff3405bf57c088a0a422ced9a03533b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "974969b027b60413e0dd6b2495ee772b6ff3405bf57c088a0a422ced9a03533b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974969b027b60413e0dd6b2495ee772b6ff3405bf57c088a0a422ced9a03533b", kill_on_drop: false }` [INFO] [stdout] 974969b027b60413e0dd6b2495ee772b6ff3405bf57c088a0a422ced9a03533b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fefd5adfc3a0a945d580d6e8ed18e86e3833cf8b563ace02bc468f884c1e8f6 [INFO] running `Command { std: "docker" "start" "-a" "2fefd5adfc3a0a945d580d6e8ed18e86e3833cf8b563ace02bc468f884c1e8f6", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking time v0.1.45 [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: 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: `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: 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.24s [INFO] running `Command { std: "docker" "inspect" "2fefd5adfc3a0a945d580d6e8ed18e86e3833cf8b563ace02bc468f884c1e8f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fefd5adfc3a0a945d580d6e8ed18e86e3833cf8b563ace02bc468f884c1e8f6", kill_on_drop: false }` [INFO] [stdout] 2fefd5adfc3a0a945d580d6e8ed18e86e3833cf8b563ace02bc468f884c1e8f6