[INFO] cloning repository https://github.com/robinsonj/ruke-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinsonj/ruke-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f70a38ae77b279d01fc9ed023a365abe0e7f619
[INFO] checking robinsonj/ruke-cli against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robinsonj/ruke-cli 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/robinsonj/ruke-cli
[INFO] finished tweaking git repo https://github.com/robinsonj/ruke-cli
[INFO] tweaked toml for git repo https://github.com/robinsonj/ruke-cli written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/robinsonj/ruke-cli 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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.8
[INFO] [stderr]   Downloaded serde_derive v1.0.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bf9c70209925a18f3e7c12ab4e171ce62ffbf793736aa149b2d1fa373215b428
[INFO] running `Command { std: "docker" "start" "-a" "bf9c70209925a18f3e7c12ab4e171ce62ffbf793736aa149b2d1fa373215b428", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf9c70209925a18f3e7c12ab4e171ce62ffbf793736aa149b2d1fa373215b428", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf9c70209925a18f3e7c12ab4e171ce62ffbf793736aa149b2d1fa373215b428", kill_on_drop: false }`
[INFO] [stdout] bf9c70209925a18f3e7c12ab4e171ce62ffbf793736aa149b2d1fa373215b428
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 76623ee7feb042fb1fcd3a97ca1cbf88b80f5ac520499ed5731ff3e454fd4ccf
[INFO] running `Command { std: "docker" "start" "-a" "76623ee7feb042fb1fcd3a97ca1cbf88b80f5ac520499ed5731ff3e454fd4ccf", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking serde v1.0.8
[INFO] [stderr]     Checking libc v0.2.23
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]    Compiling serde_derive_internals v0.15.1
[INFO] [stderr]    Compiling serde_derive v1.0.8
[INFO] [stderr]     Checking toml v0.4.1
[INFO] [stderr]     Checking ruke v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FULL`
[INFO] [stdout]  --> src/duke/board.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitBoard`
[INFO] [stdout]   --> src/duke/board.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |   use bitboard::{BitBoard, EMPTY};
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Board`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |   use duke::board::{Board};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FULL`
[INFO] [stdout]  --> src/duke/board.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/duke/player/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stdout]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/duke/player/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stdout]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `summon`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let summon = Summon::new();
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pink_duke`
[INFO] [stdout]   --> src/duke/mod.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FULL` is never used
[INFO] [stdout]  --> src/bitboard.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const FULL:   BitBoard  = BitBoard(0xFFFFFFFFFFFFFFFFu64);
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVEYARD` is never used
[INFO] [stdout]  --> src/duke/board.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const GRAVEYARD:  u8  = 255;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BAG` is never used
[INFO] [stdout]   --> src/duke/board.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const BAG:        u8  = 254;
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_COLORS` is never used
[INFO] [stdout]   --> src/duke/color.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const NUM_COLORS: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_COLORS` is never used
[INFO] [stdout]   --> src/duke/color.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_COLORS: [Color; NUM_COLORS] = [Color::Pink, Color::Blue];
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `index` and `opponent_backrank` are never used
[INFO] [stdout]   --> src/duke/color.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Color {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 19 |   /// Convert the color to a usize.
[INFO] [stdout] 20 |   pub fn index(&self) -> usize {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |   pub fn opponent_backrank(&self) -> Rank {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `A`, `B`, `C`, `D`, `E`, and `F` are never constructed
[INFO] [stdout]  --> src/duke/file.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum File {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 4 |   A,
[INFO] [stdout]   |   ^
[INFO] [stdout] 5 |   B,
[INFO] [stdout]   |   ^
[INFO] [stdout] 6 |   C,
[INFO] [stdout]   |   ^
[INFO] [stdout] 7 |   D,
[INFO] [stdout]   |   ^
[INFO] [stdout] 8 |   E,
[INFO] [stdout]   |   ^
[INFO] [stdout] 9 |   F
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_FILES` is never used
[INFO] [stdout]   --> src/duke/file.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_FILES: [File; NUM_FILES] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_index`, `index`, `left`, and `right` are never used
[INFO] [stdout]   --> src/duke/file.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl File {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 26 |   /// Convert a file number to a File.
[INFO] [stdout] 27 |   pub fn from_index(i: usize) -> File {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   pub fn index(&self) -> usize {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |   pub fn left(&self) -> File {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |   pub fn right(&self) -> File {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source`, `destination`, `remove`, and `flip` are never read
[INFO] [stdout]   --> src/duke/move_type/mod.rs:7:3
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct MoveType {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 7  |   source:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 8  |   destination:  Option<Square>,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 9  |   remove:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 10 |   flip:         Option<Square>
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Second`, `Third`, `Fourth`, and `Fifth` are never constructed
[INFO] [stdout]  --> src/duke/rank.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Rank {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 4 |   First,
[INFO] [stdout] 5 |   Second,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 6 |   Third,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 7 |   Fourth,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 8 |   Fifth,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rank` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_RANKS` is never used
[INFO] [stdout]   --> src/duke/rank.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_RANKS: [Rank; NUM_RANKS] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_index`, `down`, and `up` are never used
[INFO] [stdout]   --> src/duke/rank.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Rank {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |   pub fn from_index(i: usize) -> Rank {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |   pub fn down(&self) -> Rank {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |   pub fn up (&self) -> Rank {
[INFO] [stdout]    |          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_SQUARES` is never used
[INFO] [stdout]   --> src/duke/square.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const NUM_SQUARES: usize = 36;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/duke/square.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Square {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |   pub fn make(r: Rank, f: File) -> Square {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |   pub fn rank(&self) -> Rank {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |   pub fn file(&self) -> File {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   pub fn up(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |   pub fn down(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |   pub fn right(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |   pub fn left(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |   pub fn player_forward(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |   pub fn player_backward(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |   pub fn player_left(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |   pub fn player_right(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `a`, and `b` are never read
[INFO] [stdout]   --> src/duke/tile/mod.rs:8:3
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct Tile {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 8  |   name: String,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 9  |   a:    Side,
[INFO] [stdout]    |   ^
[INFO] [stdout] 10 |   b:    Side
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/duke/tile/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Tile {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 14 |   pub fn new(name: String, a: Side, b: Side) -> Tile {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OpenError`, `ReadError`, and `ParseError` are never constructed
[INFO] [stdout]   --> src/duke/tile/config.rs:9:3
[INFO] [stdout]    |
[INFO] [stdout] 8  | enum Error {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 9  |   OpenError(std::io::Error),
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 10 |   ReadError(std::io::Error),
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 11 |   ParseError(toml::de::Error)
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/duke/tile/config.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `a`, and `b` are never read
[INFO] [stdout]   --> src/duke/tile/config.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |   name: Option<String>,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 19 |   a:    Option<Side>,
[INFO] [stdout]    |   ^
[INFO] [stdout] 20 |   b:    Option<Side>
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `parse` and `tile` are never used
[INFO] [stdout]   --> src/duke/tile/config.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Config {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 24 |   fn parse(filename: &str) -> Result<Config> {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |   fn tile(&self) -> Tile {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `x`, and `y` are never used
[INFO] [stdout]   --> src/duke/tile/side.rs:8:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Side {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 8  |   pub fn new(x: u8, y: u8) -> Side {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |   pub fn x(&self) -> u8 {
[INFO] [stdout]    |          ^
[INFO] [stdout] ...
[INFO] [stdout] 19 |   pub fn y(&self) -> u8 {
[INFO] [stdout]    |          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 100 |     Ok(self.blue.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ok(self.pink.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 31 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `summon`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let summon = Summon::new();
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pink_duke`
[INFO] [stdout]   --> src/duke/mod.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source`, `destination`, `remove`, and `flip` are never read
[INFO] [stdout]   --> src/duke/move_type/mod.rs:7:3
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct MoveType {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 7  |   source:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 8  |   destination:  Option<Square>,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 9  |   remove:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 10 |   flip:         Option<Square>
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MoveType` has derived impls for the traits `Debug` and `Clone`, 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: field `0` is never read
[INFO] [stdout]  --> src/duke/tile/config.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |   OpenError(std::io::Error),
[INFO] [stdout]   |   --------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |   |
[INFO] [stdout]   |   field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |   OpenError(()),
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/duke/tile/config.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ReadError(std::io::Error),
[INFO] [stdout]    |   --------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ReadError(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/duke/tile/config.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |   ParseError(toml::de::Error)
[INFO] [stdout]    |   ---------- ^^^^^^^^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |   ParseError(())
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tile` is never used
[INFO] [stdout]   --> src/duke/tile/config.rs:63:6
[INFO] [stdout]    |
[INFO] [stdout] 63 |   fn tile() {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 100 |     Ok(self.blue.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ok(self.pink.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.73s
[INFO] running `Command { std: "docker" "inspect" "76623ee7feb042fb1fcd3a97ca1cbf88b80f5ac520499ed5731ff3e454fd4ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76623ee7feb042fb1fcd3a97ca1cbf88b80f5ac520499ed5731ff3e454fd4ccf", kill_on_drop: false }`
[INFO] [stdout] 76623ee7feb042fb1fcd3a97ca1cbf88b80f5ac520499ed5731ff3e454fd4ccf
[INFO] checking robinsonj/ruke-cli 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%2Frobinsonj%2Fruke-cli" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robinsonj/ruke-cli 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/robinsonj/ruke-cli
[INFO] finished tweaking git repo https://github.com/robinsonj/ruke-cli
[INFO] tweaked toml for git repo https://github.com/robinsonj/ruke-cli written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/robinsonj/ruke-cli 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d70d642a6b4198f3923c9ed019a919cf9ce362e2767fec16a87177b5a33ab837
[INFO] running `Command { std: "docker" "start" "-a" "d70d642a6b4198f3923c9ed019a919cf9ce362e2767fec16a87177b5a33ab837", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d70d642a6b4198f3923c9ed019a919cf9ce362e2767fec16a87177b5a33ab837", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d70d642a6b4198f3923c9ed019a919cf9ce362e2767fec16a87177b5a33ab837", kill_on_drop: false }`
[INFO] [stdout] d70d642a6b4198f3923c9ed019a919cf9ce362e2767fec16a87177b5a33ab837
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 405b0a3578dd08cf38145af7990def190e8d3aef8d00a7b640ca2f763c7fd1e5
[INFO] running `Command { std: "docker" "start" "-a" "405b0a3578dd08cf38145af7990def190e8d3aef8d00a7b640ca2f763c7fd1e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking serde v1.0.8
[INFO] [stderr]     Checking libc v0.2.23
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]    Compiling serde_derive_internals v0.15.1
[INFO] [stderr]    Compiling serde_derive v1.0.8
[INFO] [stderr]     Checking toml v0.4.1
[INFO] [stderr]     Checking ruke v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FULL`
[INFO] [stdout]  --> src/duke/board.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/duke/player/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stdout]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FULL`
[INFO] [stdout]  --> src/duke/board.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitBoard`
[INFO] [stdout]   --> src/duke/board.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |   use bitboard::{BitBoard, EMPTY};
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Board`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |   use duke::board::{Board};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/duke/player/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stdout]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `summon`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let summon = Summon::new();
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pink_duke`
[INFO] [stdout]   --> src/duke/mod.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FULL` is never used
[INFO] [stdout]  --> src/bitboard.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const FULL:   BitBoard  = BitBoard(0xFFFFFFFFFFFFFFFFu64);
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVEYARD` is never used
[INFO] [stdout]  --> src/duke/board.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const GRAVEYARD:  u8  = 255;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BAG` is never used
[INFO] [stdout]   --> src/duke/board.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const BAG:        u8  = 254;
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_COLORS` is never used
[INFO] [stdout]   --> src/duke/color.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const NUM_COLORS: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_COLORS` is never used
[INFO] [stdout]   --> src/duke/color.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_COLORS: [Color; NUM_COLORS] = [Color::Pink, Color::Blue];
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `index` and `opponent_backrank` are never used
[INFO] [stdout]   --> src/duke/color.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Color {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 19 |   /// Convert the color to a usize.
[INFO] [stdout] 20 |   pub fn index(&self) -> usize {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |   pub fn opponent_backrank(&self) -> Rank {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `A`, `B`, `C`, `D`, `E`, and `F` are never constructed
[INFO] [stdout]  --> src/duke/file.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum File {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 4 |   A,
[INFO] [stdout]   |   ^
[INFO] [stdout] 5 |   B,
[INFO] [stdout]   |   ^
[INFO] [stdout] 6 |   C,
[INFO] [stdout]   |   ^
[INFO] [stdout] 7 |   D,
[INFO] [stdout]   |   ^
[INFO] [stdout] 8 |   E,
[INFO] [stdout]   |   ^
[INFO] [stdout] 9 |   F
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_FILES` is never used
[INFO] [stdout]   --> src/duke/file.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_FILES: [File; NUM_FILES] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_index`, `index`, `left`, and `right` are never used
[INFO] [stdout]   --> src/duke/file.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl File {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 26 |   /// Convert a file number to a File.
[INFO] [stdout] 27 |   pub fn from_index(i: usize) -> File {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   pub fn index(&self) -> usize {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |   pub fn left(&self) -> File {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |   pub fn right(&self) -> File {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source`, `destination`, `remove`, and `flip` are never read
[INFO] [stdout]   --> src/duke/move_type/mod.rs:7:3
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct MoveType {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 7  |   source:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 8  |   destination:  Option<Square>,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 9  |   remove:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 10 |   flip:         Option<Square>
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Second`, `Third`, `Fourth`, and `Fifth` are never constructed
[INFO] [stdout]  --> src/duke/rank.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Rank {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 4 |   First,
[INFO] [stdout] 5 |   Second,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 6 |   Third,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 7 |   Fourth,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 8 |   Fifth,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rank` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_RANKS` is never used
[INFO] [stdout]   --> src/duke/rank.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_RANKS: [Rank; NUM_RANKS] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_index`, `down`, and `up` are never used
[INFO] [stdout]   --> src/duke/rank.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Rank {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |   pub fn from_index(i: usize) -> Rank {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |   pub fn down(&self) -> Rank {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |   pub fn up (&self) -> Rank {
[INFO] [stdout]    |          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_SQUARES` is never used
[INFO] [stdout]   --> src/duke/square.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const NUM_SQUARES: usize = 36;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/duke/square.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Square {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |   pub fn make(r: Rank, f: File) -> Square {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |   pub fn rank(&self) -> Rank {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |   pub fn file(&self) -> File {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   pub fn up(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |   pub fn down(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |   pub fn right(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |   pub fn left(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |   pub fn player_forward(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |   pub fn player_backward(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |   pub fn player_left(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |   pub fn player_right(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `a`, and `b` are never read
[INFO] [stdout]   --> src/duke/tile/mod.rs:8:3
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct Tile {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 8  |   name: String,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 9  |   a:    Side,
[INFO] [stdout]    |   ^
[INFO] [stdout] 10 |   b:    Side
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/duke/tile/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Tile {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 14 |   pub fn new(name: String, a: Side, b: Side) -> Tile {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OpenError`, `ReadError`, and `ParseError` are never constructed
[INFO] [stdout]   --> src/duke/tile/config.rs:9:3
[INFO] [stdout]    |
[INFO] [stdout] 8  | enum Error {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 9  |   OpenError(std::io::Error),
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 10 |   ReadError(std::io::Error),
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 11 |   ParseError(toml::de::Error)
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/duke/tile/config.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `a`, and `b` are never read
[INFO] [stdout]   --> src/duke/tile/config.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |   name: Option<String>,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 19 |   a:    Option<Side>,
[INFO] [stdout]    |   ^
[INFO] [stdout] 20 |   b:    Option<Side>
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `parse` and `tile` are never used
[INFO] [stdout]   --> src/duke/tile/config.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Config {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 24 |   fn parse(filename: &str) -> Result<Config> {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |   fn tile(&self) -> Tile {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `x`, and `y` are never used
[INFO] [stdout]   --> src/duke/tile/side.rs:8:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Side {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 8  |   pub fn new(x: u8, y: u8) -> Side {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |   pub fn x(&self) -> u8 {
[INFO] [stdout]    |          ^
[INFO] [stdout] ...
[INFO] [stdout] 19 |   pub fn y(&self) -> u8 {
[INFO] [stdout]    |          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 100 |     Ok(self.blue.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ok(self.pink.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/duke/move_type/summon.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, PartialEq, Deserialize)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Summon`
[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 `Deserialize` (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/duke/tile/mod.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Tile`
[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 `Deserialize` (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/duke/tile/config.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config`
[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 `Deserialize` (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/duke/tile/side.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Copy, Clone, Debug, Deserialize, PartialEq)]
[INFO] [stdout]   |                              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Side`
[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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 31 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ruke` (bin "ruke") due to 5 previous errors; 31 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `summon`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let summon = Summon::new();
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pink_duke`
[INFO] [stdout]   --> src/duke/mod.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source`, `destination`, `remove`, and `flip` are never read
[INFO] [stdout]   --> src/duke/move_type/mod.rs:7:3
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct MoveType {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 7  |   source:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 8  |   destination:  Option<Square>,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 9  |   remove:       Option<Square>,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 10 |   flip:         Option<Square>
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MoveType` has derived impls for the traits `Debug` and `Clone`, 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: field `0` is never read
[INFO] [stdout]  --> src/duke/tile/config.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |   OpenError(std::io::Error),
[INFO] [stdout]   |   --------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |   |
[INFO] [stdout]   |   field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |   OpenError(()),
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/duke/tile/config.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ReadError(std::io::Error),
[INFO] [stdout]    |   --------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ReadError(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/duke/tile/config.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |   ParseError(toml::de::Error)
[INFO] [stdout]    |   ---------- ^^^^^^^^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |   ParseError(())
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tile` is never used
[INFO] [stdout]   --> src/duke/tile/config.rs:63:6
[INFO] [stdout]    |
[INFO] [stdout] 63 |   fn tile() {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 100 |     Ok(self.blue.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/duke/mod.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ok(self.pink.as_ref().unwrap().clone())
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Random` does not implement `Clone`, so calling `clone` on `&Random` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/duke/move_type/summon.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, PartialEq, Deserialize)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Summon`
[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 `Deserialize` (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/duke/tile/mod.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Tile`
[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 `Deserialize` (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/duke/tile/config.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config`
[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 `Deserialize` (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/duke/tile/side.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Copy, Clone, Debug, Deserialize, PartialEq)]
[INFO] [stdout]   |                              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Side`
[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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ruke` (bin "ruke" test) due to 5 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "405b0a3578dd08cf38145af7990def190e8d3aef8d00a7b640ca2f763c7fd1e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "405b0a3578dd08cf38145af7990def190e8d3aef8d00a7b640ca2f763c7fd1e5", kill_on_drop: false }`
[INFO] [stdout] 405b0a3578dd08cf38145af7990def190e8d3aef8d00a7b640ca2f763c7fd1e5
