[INFO] cloning repository https://github.com/ede1998/sweepers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ede1998/sweepers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b1ec545d1e80a41f44ef3d9efd61693df613171 [INFO] checking ede1998/sweepers against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ede1998/sweepers on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ede1998/sweepers [INFO] finished tweaking git repo https://github.com/ede1998/sweepers [INFO] tweaked toml for git repo https://github.com/ede1998/sweepers written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ede1998/sweepers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3049bfd17405a1534e6ea201ad1a2ea86d41abe337567ea85f29e9613850854b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3049bfd17405a1534e6ea201ad1a2ea86d41abe337567ea85f29e9613850854b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3049bfd17405a1534e6ea201ad1a2ea86d41abe337567ea85f29e9613850854b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3049bfd17405a1534e6ea201ad1a2ea86d41abe337567ea85f29e9613850854b", kill_on_drop: false }` [INFO] [stdout] 3049bfd17405a1534e6ea201ad1a2ea86d41abe337567ea85f29e9613850854b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 80cf36197f6f058671d5cd12d8c47a9afa2e29382c0e105e597cc5c83fb6a9e9 [INFO] running `Command { std: "docker" "start" "-a" "80cf36197f6f058671d5cd12d8c47a9afa2e29382c0e105e597cc5c83fb6a9e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling custom_debug_derive v0.5.0 [INFO] [stderr] Checking sweepers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `with_area` [INFO] [stdout] --> src/core/area.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn with_area(width: usize, height: usize, area: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `loc_iter` [INFO] [stdout] --> src/core/area.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn loc_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mark` [INFO] [stdout] --> src/core/command.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Mark, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unmark` [INFO] [stdout] --> src/core/command.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Unmark, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_win` [INFO] [stdout] --> src/core/game_state.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_win(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_mv` [INFO] [stdout] --> src/core/location.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn try_mv(self, d: Direction) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_mut_revealed` [INFO] [stdout] --> src/core/mine_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_mut_revealed(&mut self) -> Option<&mut usize> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_revealed` [INFO] [stdout] --> src/core/mine_field.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn as_revealed(&self) -> Option<&usize> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_generator` [INFO] [stdout] --> src/core/mine_field.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn with_generator(params: Parameters, generator: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_active_game` [INFO] [stdout] --> src/core/mine_field.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn new_active_game(grid: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unreveal` [INFO] [stdout] --> src/core/mine_field.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn unreveal(&mut self, location: Location) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_single` [INFO] [stdout] --> src/frontend/terminal.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn draw_single(&mut self, location: Location, state: &State) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `derive_count` [INFO] [stdout] --> src/solver.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn derive_count(&self, count: usize, produced_by: &dyn Rule) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seed` [INFO] [stdout] --> src/solver.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | fn seed(mf: &Minefield) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/solver.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn add>(&mut self, container: I) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `guaranteed_safe_locations` [INFO] [stdout] --> src/solver.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | fn guaranteed_safe_locations(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `guaranteed_mines` [INFO] [stdout] --> src/solver.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn guaranteed_mines(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve` [INFO] [stdout] --> src/solver.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn solve(mf: &Minefield) -> (HashSet, HashSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mark` [INFO] [stdout] --> src/core/command.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Mark, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unmark` [INFO] [stdout] --> src/core/command.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Unmark, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_win` [INFO] [stdout] --> src/core/game_state.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_win(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_mv` [INFO] [stdout] --> src/core/location.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn try_mv(self, d: Direction) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_mut_revealed` [INFO] [stdout] --> src/core/mine_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_mut_revealed(&mut self) -> Option<&mut usize> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_generator` [INFO] [stdout] --> src/core/mine_field.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn with_generator(params: Parameters, generator: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unreveal` [INFO] [stdout] --> src/core/mine_field.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn unreveal(&mut self, location: Location) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_single` [INFO] [stdout] --> src/frontend/terminal.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn draw_single(&mut self, location: Location, state: &State) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `derive_count` [INFO] [stdout] --> src/solver.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn derive_count(&self, count: usize, produced_by: &dyn Rule) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.10s [INFO] running `Command { std: "docker" "inspect" "80cf36197f6f058671d5cd12d8c47a9afa2e29382c0e105e597cc5c83fb6a9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80cf36197f6f058671d5cd12d8c47a9afa2e29382c0e105e597cc5c83fb6a9e9", kill_on_drop: false }` [INFO] [stdout] 80cf36197f6f058671d5cd12d8c47a9afa2e29382c0e105e597cc5c83fb6a9e9