[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#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ede1998/sweepers on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4324ab389e959753967346d907ca6a89500cc4f99c7939bc72b482a68d41de3e
[INFO] running `Command { std: "docker" "start" "-a" "4324ab389e959753967346d907ca6a89500cc4f99c7939bc72b482a68d41de3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4324ab389e959753967346d907ca6a89500cc4f99c7939bc72b482a68d41de3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4324ab389e959753967346d907ca6a89500cc4f99c7939bc72b482a68d41de3e", kill_on_drop: false }`
[INFO] [stdout] 4324ab389e959753967346d907ca6a89500cc4f99c7939bc72b482a68d41de3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7cb58a929ff4d05496fbb5ba36a97b8593b92583ce1d136ec219a0526a03ae1e
[INFO] running `Command { std: "docker" "start" "-a" "7cb58a929ff4d05496fbb5ba36a97b8593b92583ce1d136ec219a0526a03ae1e", 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 unicode-width v0.1.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking atty v0.2.14
[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: use of deprecated associated function `std::array::IntoIter::<T, N>::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::<T, N>::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::<T, N>::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::<T, N>::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<T> Area<T> {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn with_area(width: usize, height: usize, area: Vec<T>) -> 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<Item = (Location, &T)> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[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: 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<dyn MinefieldGenerator>) -> 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<State> {
[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 function `base` is never used
[INFO] [stdout]    --> src/solver.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | impl FactDebug {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 199 |     fn base<O: Into<Option<Location>>>(base_location: O, produced_by: &dyn Rule) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `seeded` and `serialize` are never used
[INFO] [stdout]    --> src/solver.rs:291:8
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl Fact {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 291 |     fn seeded<L>(count: usize, proximity: BTreeSet<Location>, base_location: L) -> Self
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |     fn serialize(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mine_field` is never read
[INFO] [stdout]    --> src/solver.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 370 | struct Solver<'mf> {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 375 |     mine_field: &'mf Minefield,
[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<Item = &Fact> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     fn add<I: IntoIterator<Item = Fact>>(&mut self, container: I) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 449 |     fn guaranteed_safe_locations(&self) -> HashSet<Location> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     fn guaranteed_mines(&self) -> HashSet<Location> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 465 |     fn solve(mf: &Minefield) -> (HashSet<Location>, HashSet<Location>) {
[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: 12 warnings emitted
[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]    = note: `#[warn(dead_code)]` on by default
[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<dyn MinefieldGenerator>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     pub fn unreveal(&mut self, location: Location) -> Option<State> {
[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<Item = &Fact> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 465 |     fn solve(mf: &Minefield) -> (HashSet<Location>, HashSet<Location>) {
[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 5.12s
[INFO] running `Command { std: "docker" "inspect" "7cb58a929ff4d05496fbb5ba36a97b8593b92583ce1d136ec219a0526a03ae1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cb58a929ff4d05496fbb5ba36a97b8593b92583ce1d136ec219a0526a03ae1e", kill_on_drop: false }`
[INFO] [stdout] 7cb58a929ff4d05496fbb5ba36a97b8593b92583ce1d136ec219a0526a03ae1e
[INFO] checking ede1998/sweepers against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fede1998%2Fsweepers" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ede1998/sweepers on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-4-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b357a318c14469c0ba77448f41aa56b161b76f34e193a049bb84b696cee8e41
[INFO] running `Command { std: "docker" "start" "-a" "1b357a318c14469c0ba77448f41aa56b161b76f34e193a049bb84b696cee8e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b357a318c14469c0ba77448f41aa56b161b76f34e193a049bb84b696cee8e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b357a318c14469c0ba77448f41aa56b161b76f34e193a049bb84b696cee8e41", kill_on_drop: false }`
[INFO] [stdout] 1b357a318c14469c0ba77448f41aa56b161b76f34e193a049bb84b696cee8e41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53e47a6a981a2089494d445cc6835b3f6ce2c463f64cc106473460ffaa304a6b
[INFO] running `Command { std: "docker" "start" "-a" "53e47a6a981a2089494d445cc6835b3f6ce2c463f64cc106473460ffaa304a6b", 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 getrandom v0.2.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking numtoa v0.1.0
[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: use of deprecated associated function `std::array::IntoIter::<T, N>::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::<T, N>::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::<T, N>::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::<T, N>::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<T> Area<T> {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn with_area(width: usize, height: usize, area: Vec<T>) -> 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<Item = (Location, &T)> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[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: 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<dyn MinefieldGenerator>) -> 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<State> {
[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 function `base` is never used
[INFO] [stdout]    --> src/solver.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | impl FactDebug {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 199 |     fn base<O: Into<Option<Location>>>(base_location: O, produced_by: &dyn Rule) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `seeded` and `serialize` are never used
[INFO] [stdout]    --> src/solver.rs:291:8
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl Fact {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 291 |     fn seeded<L>(count: usize, proximity: BTreeSet<Location>, base_location: L) -> Self
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |     fn serialize(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mine_field` is never read
[INFO] [stdout]    --> src/solver.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 370 | struct Solver<'mf> {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 375 |     mine_field: &'mf Minefield,
[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<Item = &Fact> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     fn add<I: IntoIterator<Item = Fact>>(&mut self, container: I) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 449 |     fn guaranteed_safe_locations(&self) -> HashSet<Location> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     fn guaranteed_mines(&self) -> HashSet<Location> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 465 |     fn solve(mf: &Minefield) -> (HashSet<Location>, HashSet<Location>) {
[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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MinAllToExact`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MaxZeroToExact`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_ExactToMin`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_ExactToMax`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:73:10
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MinWithinMaxCombinator`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MaxIntersectsMinCombinator`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:142:10
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Seeder`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:151:10
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Constraint`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:189:10
[INFO] [stdout]     |
[INFO] [stdout] 189 | #[derive(Debug, Clone)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_FactDebug`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:227:10
[INFO] [stdout]     |
[INFO] [stdout] 227 | #[derive(Debug, Clone)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Fact`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:369:10
[INFO] [stdout]     |
[INFO] [stdout] 369 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Solver`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sweepers` (bin "sweepers") due to 12 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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]    = note: `#[warn(dead_code)]` on by default
[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<dyn MinefieldGenerator>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     pub fn unreveal(&mut self, location: Location) -> Option<State> {
[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<Item = &Fact> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 465 |     fn solve(mf: &Minefield) -> (HashSet<Location>, HashSet<Location>) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MinAllToExact`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MaxZeroToExact`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_ExactToMin`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_ExactToMax`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/solver.rs:73:10
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MinWithinMaxCombinator`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_MaxIntersectsMinCombinator`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:142:10
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Seeder`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:151:10
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Constraint`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:189:10
[INFO] [stdout]     |
[INFO] [stdout] 189 | #[derive(Debug, Clone)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_FactDebug`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:227:10
[INFO] [stdout]     |
[INFO] [stdout] 227 | #[derive(Debug, Clone)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Fact`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/solver.rs:369:10
[INFO] [stdout]     |
[INFO] [stdout] 369 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Solver`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sweepers` (bin "sweepers" test) due to 12 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "53e47a6a981a2089494d445cc6835b3f6ce2c463f64cc106473460ffaa304a6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53e47a6a981a2089494d445cc6835b3f6ce2c463f64cc106473460ffaa304a6b", kill_on_drop: false }`
[INFO] [stdout] 53e47a6a981a2089494d445cc6835b3f6ce2c463f64cc106473460ffaa304a6b
