[INFO] cloning repository https://github.com/peterolson/make-the-cows-come-home-solver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterolson/make-the-cows-come-home-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterolson%2Fmake-the-cows-come-home-solver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterolson%2Fmake-the-cows-come-home-solver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e98fd1528fb46be1347ee041ead0cf3dbdb5565
[INFO] building peterolson/make-the-cows-come-home-solver against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterolson%2Fmake-the-cows-come-home-solver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peterolson/make-the-cows-come-home-solver
[INFO] finished tweaking git repo https://github.com/peterolson/make-the-cows-come-home-solver
[INFO] tweaked toml for git repo https://github.com/peterolson/make-the-cows-come-home-solver written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peterolson/make-the-cows-come-home-solver on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peterolson/make-the-cows-come-home-solver 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8ef25f139d581b1f5b728df6c5b7fe2af653c2d73e443ce6b92c91df321ae1b
[INFO] running `Command { std: "docker" "start" "-a" "a8ef25f139d581b1f5b728df6c5b7fe2af653c2d73e443ce6b92c91df321ae1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8ef25f139d581b1f5b728df6c5b7fe2af653c2d73e443ce6b92c91df321ae1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8ef25f139d581b1f5b728df6c5b7fe2af653c2d73e443ce6b92c91df321ae1b", kill_on_drop: false }`
[INFO] [stdout] a8ef25f139d581b1f5b728df6c5b7fe2af653c2d73e443ce6b92c91df321ae1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28543b4c9d7a330af6034c5415d912c8748a6dd7818f2b4b7b9ad887863a97fc
[INFO] running `Command { std: "docker" "start" "-a" "28543b4c9d7a330af6034c5415d912c8748a6dd7818f2b4b7b9ad887863a97fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling solver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/combine.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs, collections::HashMap};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::Board`
[INFO] [stdout]  --> src/combine.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::Board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difficulty_span`
[INFO] [stdout]   --> src/combine.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let difficulty_span = max_difficulty - min_difficulty;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty_span`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Piece` is never used
[INFO] [stdout]  --> src/board.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Piece {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/board.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Board {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/board.rs:24:8
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl Board {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  24 |     fn new(width: u8, height: u8) -> Board {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     fn get(&self, x: u8, y: u8) -> Piece {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  36 |     fn set(&mut self, x: u8, y: u8, piece: Piece) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     fn set_index(&mut self, index: usize, piece: Piece) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn get_moves_from(&self, index: u8) -> Vec<(u8, u8)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn get_reverse_moves(&self, index: u8) -> Vec<(u8, u8, u8, Piece)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 414 |     fn check_reverse_direction(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 465 |     pub fn get_possible_moves(&self) -> Vec<(Board, u8, u8, u8)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 486 |     pub fn get_possible_previous_boards(&self) -> Vec<(Board, u8, u8, u8)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 502 |     pub fn is_solved(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 520 |     pub fn from_string(s: &str) -> Board {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 548 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 570 |     fn rotate(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 584 |     fn flip_horizontal(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 596 |     fn switch_cow_person(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 609 |     pub fn get_symmetric_variants(&self) -> Vec<Board> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 632 |     pub fn count_piece(&self, piece: Piece) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_move` is never used
[INFO] [stdout]    --> src/board.rs:643:4
[INFO] [stdout]     |
[INFO] [stdout] 643 | fn check_move(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIRECTORY` is never used
[INFO] [stdout]   --> src/generate.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const DIRECTORY: &str = if HEXAGONAL_MODE { "hex" } else { "rect" };
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_puzzles` is never used
[INFO] [stdout]   --> src/generate.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn generate_puzzles(width: u8, height: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_initial_boards` is never used
[INFO] [stdout]    --> src/generate.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn get_initial_boards(width: u8, height: u8, barn_count : u8, house_count: u8, empty_count: u8) -> Vec<Board> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_boards` is never used
[INFO] [stdout]    --> src/generate.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn generate_boards(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_with_prefix` is never used
[INFO] [stdout]    --> src/generate.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn generate_with_prefix(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_sample` is never used
[INFO] [stdout]    --> src/generate.rs:242:4
[INFO] [stdout]     |
[INFO] [stdout] 242 | fn random_sample<T>(v: Vec<T>, n: usize) -> Vec<T> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReverseSolution` is never constructed
[INFO] [stdout]  --> src/reverse_solver.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ReverseSolution {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse_solve` is never used
[INFO] [stdout]   --> src/reverse_solver.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn reverse_solve(
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_people_locations` is never used
[INFO] [stdout]   --> src/reverse_solver.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn choose_people_locations(board: &Board, max_person_count: u8, board_queue: &mut VecDeque<(Board, ReverseSolution)>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_combinations` is never used
[INFO] [stdout]   --> src/reverse_solver.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn get_combinations(combinations: &mut Vec<Vec<u8>>, blank_indices: &Vec<u8>, max_count: usize, index: usize, current_combination: Vec<u8...
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEXAGONAL_MODE` is never used
[INFO] [stdout]  --> src/settings.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const HEXAGONAL_MODE: bool = false;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]  --> src/solve.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Move {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/solve.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Solution {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/solve.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solve(board : Board, solution_map : &mut HashMap<Board, Solution>) -> Solution {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_internal` is never used
[INFO] [stdout]   --> src/solve.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn solve_internal(board : Board, solution_map : &mut HashMap<Board, Solution>, encountered_boards : &mut HashSet<Board>) -> Solution {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `uses_all_pieces`, `uses_all_rows_columns`, and `is_elegant` are never used
[INFO] [stdout]    --> src/solve.rs:85:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl Solution {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout]  85 |     pub fn uses_all_pieces(&self, board: &Board) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn uses_all_rows_columns(&self, board: &Board) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn is_elegant(&self, board: &Board) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.61s
[INFO] running `Command { std: "docker" "inspect" "28543b4c9d7a330af6034c5415d912c8748a6dd7818f2b4b7b9ad887863a97fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28543b4c9d7a330af6034c5415d912c8748a6dd7818f2b4b7b9ad887863a97fc", kill_on_drop: false }`
[INFO] [stdout] 28543b4c9d7a330af6034c5415d912c8748a6dd7818f2b4b7b9ad887863a97fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff11977527c4a2c43b05477846afb40b817ce4007d8e5abe6a7cc22361ebc114
[INFO] running `Command { std: "docker" "start" "-a" "ff11977527c4a2c43b05477846afb40b817ce4007d8e5abe6a7cc22361ebc114", kill_on_drop: false }`
[INFO] [stderr]    Compiling solver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/combine.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs, collections::HashMap};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::Board`
[INFO] [stdout]  --> src/combine.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::Board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difficulty_span`
[INFO] [stdout]   --> src/combine.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let difficulty_span = max_difficulty - min_difficulty;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty_span`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Piece` is never used
[INFO] [stdout]  --> src/board.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Piece {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/board.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Board {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/board.rs:24:8
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl Board {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  24 |     fn new(width: u8, height: u8) -> Board {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     fn get(&self, x: u8, y: u8) -> Piece {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  36 |     fn set(&mut self, x: u8, y: u8, piece: Piece) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     fn set_index(&mut self, index: usize, piece: Piece) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn get_moves_from(&self, index: u8) -> Vec<(u8, u8)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn get_reverse_moves(&self, index: u8) -> Vec<(u8, u8, u8, Piece)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 414 |     fn check_reverse_direction(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 465 |     pub fn get_possible_moves(&self) -> Vec<(Board, u8, u8, u8)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 486 |     pub fn get_possible_previous_boards(&self) -> Vec<(Board, u8, u8, u8)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 502 |     pub fn is_solved(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 520 |     pub fn from_string(s: &str) -> Board {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 548 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 570 |     fn rotate(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 584 |     fn flip_horizontal(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 596 |     fn switch_cow_person(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 609 |     pub fn get_symmetric_variants(&self) -> Vec<Board> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 632 |     pub fn count_piece(&self, piece: Piece) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_move` is never used
[INFO] [stdout]    --> src/board.rs:643:4
[INFO] [stdout]     |
[INFO] [stdout] 643 | fn check_move(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIRECTORY` is never used
[INFO] [stdout]   --> src/generate.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const DIRECTORY: &str = if HEXAGONAL_MODE { "hex" } else { "rect" };
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_puzzles` is never used
[INFO] [stdout]   --> src/generate.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn generate_puzzles(width: u8, height: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_initial_boards` is never used
[INFO] [stdout]    --> src/generate.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn get_initial_boards(width: u8, height: u8, barn_count : u8, house_count: u8, empty_count: u8) -> Vec<Board> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_boards` is never used
[INFO] [stdout]    --> src/generate.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn generate_boards(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_with_prefix` is never used
[INFO] [stdout]    --> src/generate.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn generate_with_prefix(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_sample` is never used
[INFO] [stdout]    --> src/generate.rs:242:4
[INFO] [stdout]     |
[INFO] [stdout] 242 | fn random_sample<T>(v: Vec<T>, n: usize) -> Vec<T> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReverseSolution` is never constructed
[INFO] [stdout]  --> src/reverse_solver.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ReverseSolution {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse_solve` is never used
[INFO] [stdout]   --> src/reverse_solver.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn reverse_solve(
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_people_locations` is never used
[INFO] [stdout]   --> src/reverse_solver.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn choose_people_locations(board: &Board, max_person_count: u8, board_queue: &mut VecDeque<(Board, ReverseSolution)>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_combinations` is never used
[INFO] [stdout]   --> src/reverse_solver.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn get_combinations(combinations: &mut Vec<Vec<u8>>, blank_indices: &Vec<u8>, max_count: usize, index: usize, current_combination: Vec<u8...
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEXAGONAL_MODE` is never used
[INFO] [stdout]  --> src/settings.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const HEXAGONAL_MODE: bool = false;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]  --> src/solve.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Move {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/solve.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Solution {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/solve.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solve(board : Board, solution_map : &mut HashMap<Board, Solution>) -> Solution {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_internal` is never used
[INFO] [stdout]   --> src/solve.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn solve_internal(board : Board, solution_map : &mut HashMap<Board, Solution>, encountered_boards : &mut HashSet<Board>) -> Solution {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `uses_all_pieces`, `uses_all_rows_columns`, and `is_elegant` are never used
[INFO] [stdout]    --> src/solve.rs:85:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl Solution {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout]  85 |     pub fn uses_all_pieces(&self, board: &Board) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn uses_all_rows_columns(&self, board: &Board) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn is_elegant(&self, board: &Board) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "ff11977527c4a2c43b05477846afb40b817ce4007d8e5abe6a7cc22361ebc114", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff11977527c4a2c43b05477846afb40b817ce4007d8e5abe6a7cc22361ebc114", kill_on_drop: false }`
[INFO] [stdout] ff11977527c4a2c43b05477846afb40b817ce4007d8e5abe6a7cc22361ebc114
