[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] 2aeb602c88cce8e4499bb30a01654bea908c7b71 [INFO] checking ede1998/sweepers against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers" "/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/ede1998/sweepers on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c940d2dc4d59ad370ced47114c2d9e313438769dce818831e4cb0c903d3ebf3 [INFO] running `Command { std: "docker" "start" "-a" "9c940d2dc4d59ad370ced47114c2d9e313438769dce818831e4cb0c903d3ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c940d2dc4d59ad370ced47114c2d9e313438769dce818831e4cb0c903d3ebf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c940d2dc4d59ad370ced47114c2d9e313438769dce818831e4cb0c903d3ebf3", kill_on_drop: false }` [INFO] [stdout] 9c940d2dc4d59ad370ced47114c2d9e313438769dce818831e4cb0c903d3ebf3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68c2e5ea0af1c301c00cd75191e53611d4065492c10938bba5cab43ef584b2bf [INFO] running `Command { std: "docker" "start" "-a" "68c2e5ea0af1c301c00cd75191e53611d4065492c10938bba5cab43ef584b2bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [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: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/core/location.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/core/location.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/solver.rs:778:31 [INFO] [stdout] | [INFO] [stdout] 778 | std::array::IntoIter::new(ls).map(Into::into).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/solver.rs:786:47 [INFO] [stdout] | [INFO] [stdout] 786 | let proximity = std::array::IntoIter::new(proximity) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_area`, `contains`, and `loc_iter` are never used [INFO] [stdout] --> src/core/area.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Area { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_area(width: usize, height: usize, area: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn contains(&self, l: Location) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn loc_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `action` are never read [INFO] [stdout] --> src/core/command.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExecutedCommand { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 11 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutedCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mark` and `Unmark` are never constructed [INFO] [stdout] --> src/core/command.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 28 | Reveal, [INFO] [stdout] 29 | Mark, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Unmark, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_win` is never used [INFO] [stdout] --> src/core/game_state.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_win(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `INVALID` and `try_mv` are never used [INFO] [stdout] --> src/core/location.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 113 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 114 | pub const INVALID: Location = Location { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn try_mv(self, d: Direction) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_mut_revealed` and `as_revealed` are never used [INFO] [stdout] --> src/core/mine_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn as_mut_revealed(&mut self) -> Option<&mut usize> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn as_revealed(&self) -> Option<&usize> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_generator`, `new_active_game`, `unobserved_count`, and `unreveal` are never used [INFO] [stdout] --> src/core/mine_field.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Minefield { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn with_generator(params: Parameters, generator: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn new_active_game(grid: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn unobserved_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn unreveal(&mut self, location: Location) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_single` is never used [INFO] [stdout] --> src/frontend/terminal.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl TermIo { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn draw_single(&mut self, location: Location, state: &State) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Rule` is never used [INFO] [stdout] --> src/solver.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait Rule: std::fmt::Debug { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinAllToExact` is never constructed [INFO] [stdout] --> src/solver.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct MinAllToExact; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxZeroToExact` is never constructed [INFO] [stdout] --> src/solver.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct MaxZeroToExact; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExactToMin` is never constructed [INFO] [stdout] --> src/solver.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct ExactToMin; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExactToMax` is never constructed [INFO] [stdout] --> src/solver.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct ExactToMax; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinWithinMaxCombinator` is never constructed [INFO] [stdout] --> src/solver.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct MinWithinMaxCombinator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxIntersectsMinCombinator` is never constructed [INFO] [stdout] --> src/solver.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct MaxIntersectsMinCombinator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Seeder` is never constructed [INFO] [stdout] --> src/solver.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct Seeder; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Constraint` is never used [INFO] [stdout] --> src/solver.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | enum Constraint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_fmt` is never used [INFO] [stdout] --> src/solver.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn opt_fmt(t: &Option, f: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_fmt` is never used [INFO] [stdout] --> src/solver.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn set_fmt(ts: &S, f: &mut std::fmt::Formatter) -> std::fmt::Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactDebug` is never constructed [INFO] [stdout] --> src/solver.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | struct FactDebug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base`, `derived_one`, and `derived_two` are never used [INFO] [stdout] --> src/solver.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl FactDebug { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 199 | fn base>>(base_location: O, produced_by: &dyn Rule) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn derived_one(produced_by: &dyn Rule, _parent_fact: &Fact) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn derived_two(produced_by: &dyn Rule, _parent_fact_1: &Fact, _parent_fact_2: &Fact) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fact` is never constructed [INFO] [stdout] --> src/solver.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | struct Fact { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/solver.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl Fact { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 275 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn seeded(count: usize, proximity: BTreeSet, base_location: L) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | fn derive_kind( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | fn cardinality(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn is_min(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn is_max(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn is_exact(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn serialize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/solver.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | struct Solver<'mf> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/solver.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 378 | impl<'mf> Solver<'mf> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 379 | fn new(mine_field: &'mf Minefield) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn seed_universal_fact(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn seed(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | fn seed_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn iter_previous_iteration(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn iter_new_with_old(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | fn add>(&mut self, container: I) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn guaranteed_safe_locations(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | fn guaranteed_mines(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | fn solve(mf: &Minefield) -> (HashSet, HashSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn solve_dump( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn print_fact_stats(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | 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] [stdout] warning: fields `location` and `action` are never read [INFO] [stdout] --> src/core/command.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExecutedCommand { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 11 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutedCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mark` and `Unmark` are never constructed [INFO] [stdout] --> src/core/command.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 28 | Reveal, [INFO] [stdout] 29 | Mark, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Unmark, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_win` is never used [INFO] [stdout] --> src/core/game_state.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_win(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_mv` is never used [INFO] [stdout] --> src/core/location.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Location { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn try_mv(self, d: Direction) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut_revealed` is never used [INFO] [stdout] --> src/core/mine_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl State { [INFO] [stdout] | ---------- method in this implementation [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 items `with_generator` and `unreveal` are never used [INFO] [stdout] --> src/core/mine_field.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Minefield { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn with_generator(params: Parameters, generator: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn unreveal(&mut self, location: Location) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_single` is never used [INFO] [stdout] --> src/frontend/terminal.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl TermIo { [INFO] [stdout] | ----------- method in this implementation [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 items `iter` and `solve` are never used [INFO] [stdout] --> src/solver.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 378 | impl<'mf> Solver<'mf> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | fn solve(mf: &Minefield) -> (HashSet, HashSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "68c2e5ea0af1c301c00cd75191e53611d4065492c10938bba5cab43ef584b2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c2e5ea0af1c301c00cd75191e53611d4065492c10938bba5cab43ef584b2bf", kill_on_drop: false }` [INFO] [stdout] 68c2e5ea0af1c301c00cd75191e53611d4065492c10938bba5cab43ef584b2bf