[INFO] cloning repository https://github.com/strangelovephd/minesweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strangelovephd/minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fminesweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fminesweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ebc94507a558f3c8f62f0ad5a29af86bbf794e3 [INFO] checking strangelovephd/minesweeper against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%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/strangelovephd/minesweeper on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strangelovephd/minesweeper [INFO] finished tweaking git repo https://github.com/strangelovephd/minesweeper [INFO] tweaked toml for git repo https://github.com/strangelovephd/minesweeper written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/strangelovephd/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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gleam v0.6.8 [INFO] [stderr] Downloaded pistoncore-event_loop v0.40.0 [INFO] [stderr] Downloaded piston2d-graphics v0.30.0 [INFO] [stderr] Downloaded smallvec v0.6.8 [INFO] [stderr] Downloaded rand_jitter v0.1.2 [INFO] [stderr] Downloaded inflate v0.4.4 [INFO] [stderr] Downloaded rusttype v0.7.4 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.59.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.52.0 [INFO] [stderr] Downloaded piston v0.40.0 [INFO] [stderr] Downloaded pistoncore-window v0.35.0 [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43ae6adb205e582bf71d4f815b8ffa1e84228d1dab50dc4210b9718d8beb0391 [INFO] running `Command { std: "docker" "start" "-a" "43ae6adb205e582bf71d4f815b8ffa1e84228d1dab50dc4210b9718d8beb0391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43ae6adb205e582bf71d4f815b8ffa1e84228d1dab50dc4210b9718d8beb0391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ae6adb205e582bf71d4f815b8ffa1e84228d1dab50dc4210b9718d8beb0391", kill_on_drop: false }` [INFO] [stdout] 43ae6adb205e582bf71d4f815b8ffa1e84228d1dab50dc4210b9718d8beb0391 [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" "-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47918eee180c12e6c215d307557049c55ba5779a742c9fb40a003a383da8c92d [INFO] running `Command { std: "docker" "start" "-a" "47918eee180c12e6c215d307557049c55ba5779a742c9fb40a003a383da8c92d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking rusttype v0.7.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking andrew v0.1.6 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking piston2d-graphics v0.30.0 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking pistoncore-input v0.23.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.59.0 [INFO] [stderr] Checking pistoncore-window v0.35.0 [INFO] [stderr] Checking pistoncore-event_loop v0.40.0 [INFO] [stderr] Checking piston v0.40.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.4 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.52.0 [INFO] [stderr] Checking minesweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `temp_val` [INFO] [stdout] --> src/minesweeper.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let temp_val: i32 = index as i32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/minesweeper_controller.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/minesweeper_controller.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/minesweeper_controller.rs:27:72 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut minesweeper_controller = MinesweeperController::new(minesweeper); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intermediate` and `Expert` are never constructed [INFO] [stdout] --> src/minesweeper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GameMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 17 | Beginner, [INFO] [stdout] 18 | Intermediate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | Expert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/minesweeper.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Minesweeper { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Open` is never constructed [INFO] [stdout] --> src/minesweeper.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 92 | Open(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `toggle` are never used [INFO] [stdout] --> src/minesweeper.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 105 | /// Creates a new Cell. [INFO] [stdout] 106 | pub fn new() -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn toggle(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event` is never used [INFO] [stdout] --> src/minesweeper_controller.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MinesweeperController { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_val` [INFO] [stdout] --> src/minesweeper.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let temp_val: i32 = index as i32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/minesweeper_controller.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/minesweeper_controller.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/minesweeper_controller.rs:27:72 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut minesweeper_controller = MinesweeperController::new(minesweeper); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intermediate` and `Expert` are never constructed [INFO] [stdout] --> src/minesweeper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GameMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 17 | Beginner, [INFO] [stdout] 18 | Intermediate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | Expert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/minesweeper.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Minesweeper { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Open` is never constructed [INFO] [stdout] --> src/minesweeper.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 92 | Open(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `toggle` are never used [INFO] [stdout] --> src/minesweeper.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 105 | /// Creates a new Cell. [INFO] [stdout] 106 | pub fn new() -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn toggle(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event` is never used [INFO] [stdout] --> src/minesweeper_controller.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MinesweeperController { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.97s [INFO] running `Command { std: "docker" "inspect" "47918eee180c12e6c215d307557049c55ba5779a742c9fb40a003a383da8c92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47918eee180c12e6c215d307557049c55ba5779a742c9fb40a003a383da8c92d", kill_on_drop: false }` [INFO] [stdout] 47918eee180c12e6c215d307557049c55ba5779a742c9fb40a003a383da8c92d [INFO] checking strangelovephd/minesweeper against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fminesweeper" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strangelovephd/minesweeper on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strangelovephd/minesweeper [INFO] finished tweaking git repo https://github.com/strangelovephd/minesweeper [INFO] tweaked toml for git repo https://github.com/strangelovephd/minesweeper written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/strangelovephd/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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 287ba906fd6bdc17b0983491da86d5d784ac572a82ae06d91f0b7d7a354c1824 [INFO] running `Command { std: "docker" "start" "-a" "287ba906fd6bdc17b0983491da86d5d784ac572a82ae06d91f0b7d7a354c1824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "287ba906fd6bdc17b0983491da86d5d784ac572a82ae06d91f0b7d7a354c1824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287ba906fd6bdc17b0983491da86d5d784ac572a82ae06d91f0b7d7a354c1824", kill_on_drop: false }` [INFO] [stdout] 287ba906fd6bdc17b0983491da86d5d784ac572a82ae06d91f0b7d7a354c1824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358c2ba3a2ad6b2d3d27b88e33d984b95a89046ca3b3ea7609bce479ff71b492 [INFO] running `Command { std: "docker" "start" "-a" "358c2ba3a2ad6b2d3d27b88e33d984b95a89046ca3b3ea7609bce479ff71b492", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.7.4 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking andrew v0.1.6 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Checking piston2d-graphics v0.30.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.59.0 [INFO] [stderr] Checking pistoncore-input v0.23.0 [INFO] [stderr] Checking pistoncore-window v0.35.0 [INFO] [stderr] Checking pistoncore-event_loop v0.40.0 [INFO] [stderr] Checking piston v0.40.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.4 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.52.0 [INFO] [stderr] Checking minesweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `temp_val` [INFO] [stdout] --> src/minesweeper.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let temp_val: i32 = index as i32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/minesweeper_controller.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/minesweeper_controller.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/minesweeper_controller.rs:27:72 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_val` [INFO] [stdout] --> src/minesweeper.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let temp_val: i32 = index as i32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/minesweeper_controller.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/minesweeper_controller.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/minesweeper_controller.rs:27:72 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut minesweeper_controller = MinesweeperController::new(minesweeper); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intermediate` and `Expert` are never constructed [INFO] [stdout] --> src/minesweeper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GameMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 17 | Beginner, [INFO] [stdout] 18 | Intermediate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | Expert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/minesweeper.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Minesweeper { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Open` is never constructed [INFO] [stdout] --> src/minesweeper.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 92 | Open(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `toggle` are never used [INFO] [stdout] --> src/minesweeper.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 105 | /// Creates a new Cell. [INFO] [stdout] 106 | pub fn new() -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn toggle(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event` is never used [INFO] [stdout] --> src/minesweeper_controller.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MinesweeperController { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut minesweeper_controller = MinesweeperController::new(minesweeper); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intermediate` and `Expert` are never constructed [INFO] [stdout] --> src/minesweeper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GameMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 17 | Beginner, [INFO] [stdout] 18 | Intermediate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | Expert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/minesweeper.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Minesweeper { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Open` is never constructed [INFO] [stdout] --> src/minesweeper.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 92 | Open(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `toggle` are never used [INFO] [stdout] --> src/minesweeper.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 105 | /// Creates a new Cell. [INFO] [stdout] 106 | pub fn new() -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn toggle(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event` is never used [INFO] [stdout] --> src/minesweeper_controller.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MinesweeperController { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn event(&mut self, pos: [f64; 2], size: f64, e: &E) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.86s [INFO] running `Command { std: "docker" "inspect" "358c2ba3a2ad6b2d3d27b88e33d984b95a89046ca3b3ea7609bce479ff71b492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358c2ba3a2ad6b2d3d27b88e33d984b95a89046ca3b3ea7609bce479ff71b492", kill_on_drop: false }` [INFO] [stdout] 358c2ba3a2ad6b2d3d27b88e33d984b95a89046ca3b3ea7609bce479ff71b492