[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] 1c1774f10b3dac7fd38726d19106a4b861a20068 [INFO] checking ede1998/sweepers against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ede1998/sweepers on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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-0/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded custom_debug_derive v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", 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] 2ff3343134ae9dbf60fa97eeff78f73fa0db9a3f42b5ec6410e634508a311115 [INFO] running `Command { std: "docker" "start" "-a" "2ff3343134ae9dbf60fa97eeff78f73fa0db9a3f42b5ec6410e634508a311115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ff3343134ae9dbf60fa97eeff78f73fa0db9a3f42b5ec6410e634508a311115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff3343134ae9dbf60fa97eeff78f73fa0db9a3f42b5ec6410e634508a311115", kill_on_drop: false }` [INFO] [stdout] 2ff3343134ae9dbf60fa97eeff78f73fa0db9a3f42b5ec6410e634508a311115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7635215b4d069c4bae9c981a9ffd7b9a6c84a43b5508ab0ec04c57da8b563915 [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" "7635215b4d069c4bae9c981a9ffd7b9a6c84a43b5508ab0ec04c57da8b563915", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [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: unused variable: `parent_fact` [INFO] [stdout] --> src/solver.rs:291:62 [INFO] [stdout] | [INFO] [stdout] 291 | fn derived_one(iteration: usize, produced_by: &dyn Rule, parent_fact: &Fact) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_fact` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_fact_1` [INFO] [stdout] --> src/solver.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | parent_fact_1: &Fact, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_fact_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_fact_2` [INFO] [stdout] --> src/solver.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | parent_fact_2: &Fact, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_fact_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_fact` [INFO] [stdout] --> src/solver.rs:291:62 [INFO] [stdout] | [INFO] [stdout] 291 | fn derived_one(iteration: usize, produced_by: &dyn Rule, parent_fact: &Fact) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_fact` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_fact_1` [INFO] [stdout] --> src/solver.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | parent_fact_1: &Fact, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_fact_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_fact_2` [INFO] [stdout] --> src/solver.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | parent_fact_2: &Fact, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_fact_2` [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:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | 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: `solve` [INFO] [stdout] --> src/solver.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn solve(mf: &Minefield) -> (HashSet, HashSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 constant is never used: `INVALID` [INFO] [stdout] --> src/core/location.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / pub const INVALID: Location = Location { [INFO] [stdout] 115 | | x: Bounded::Invalid, [INFO] [stdout] 116 | | y: Bounded::Invalid, [INFO] [stdout] 117 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_mv` [INFO] [stdout] --> src/core/location.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | 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: `base` [INFO] [stdout] --> src/solver.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn base(base_location: Location, produced_by: &dyn Rule) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_all` [INFO] [stdout] --> src/solver.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | fn base_all(produced_by: &dyn Rule) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/solver.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | fn serialize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seed` [INFO] [stdout] --> src/solver.rs:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | 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:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | 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:494:8 [INFO] [stdout] | [INFO] [stdout] 494 | 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:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | 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:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn solve(mf: &Minefield) -> (HashSet, HashSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve_dump` [INFO] [stdout] --> src/solver.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 513 | fn solve_dump( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/solver.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | fn dump(&self, path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.69s [INFO] running `Command { std: "docker" "inspect" "7635215b4d069c4bae9c981a9ffd7b9a6c84a43b5508ab0ec04c57da8b563915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7635215b4d069c4bae9c981a9ffd7b9a6c84a43b5508ab0ec04c57da8b563915", kill_on_drop: false }` [INFO] [stdout] 7635215b4d069c4bae9c981a9ffd7b9a6c84a43b5508ab0ec04c57da8b563915