[INFO] cloning repository https://github.com/ftommasi/ansi_chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ftommasi/ansi_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftommasi%2Fansi_chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftommasi%2Fansi_chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25718b9e78286b6bb6a40115891ed934e9c9ddf4
[INFO] checking ftommasi/ansi_chess against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftommasi%2Fansi_chess" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ftommasi/ansi_chess
[INFO] finished tweaking git repo https://github.com/ftommasi/ansi_chess
[INFO] tweaked toml for git repo https://github.com/ftommasi/ansi_chess written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ftommasi/ansi_chess on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ftommasi/ansi_chess 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 58 packages to latest compatible versions
[INFO] [stderr]       Adding adler2 v2.0.1
[INFO] [stderr]       Adding bit_field v0.10.3
[INFO] [stderr]       Adding bitflags v1.3.2
[INFO] [stderr]       Adding bytemuck v1.25.0
[INFO] [stderr]       Adding byteorder v1.5.0
[INFO] [stderr]       Adding clap v4.0.32 (available: v4.6.1)
[INFO] [stderr]       Adding clap_derive v4.0.21 (available: v4.6.1)
[INFO] [stderr]       Adding clap_lex v0.3.3
[INFO] [stderr]       Adding color_quant v1.1.0
[INFO] [stderr]       Adding crc32fast v1.5.0
[INFO] [stderr]       Adding crossbeam-deque v0.8.6
[INFO] [stderr]       Adding crossbeam-epoch v0.9.18
[INFO] [stderr]       Adding crossbeam-utils v0.8.21
[INFO] [stderr]       Adding crossterm v0.25.0
[INFO] [stderr]       Adding crossterm_winapi v0.9.1
[INFO] [stderr]       Adding crunchy v0.2.4
[INFO] [stderr]       Adding either v1.16.0
[INFO] [stderr]       Adding exr v1.74.0
[INFO] [stderr]       Adding fdeflate v0.3.7
[INFO] [stderr]       Adding flate2 v1.1.9
[INFO] [stderr]       Adding gif v0.13.3
[INFO] [stderr]       Adding half v2.7.1
[INFO] [stderr]       Adding heck v0.4.1
[INFO] [stderr]       Adding hermit-abi v0.5.2
[INFO] [stderr]       Adding image v0.24.9
[INFO] [stderr]       Adding is-terminal v0.4.17
[INFO] [stderr]       Adding jpeg-decoder v0.3.2
[INFO] [stderr]       Adding lebe v0.5.3
[INFO] [stderr]       Adding log v0.4.29
[INFO] [stderr]       Adding matrixmultiply v0.3.10
[INFO] [stderr]       Adding miniz_oxide v0.8.9
[INFO] [stderr]       Adding ndarray v0.15.6
[INFO] [stderr]       Adding num-complex v0.4.6
[INFO] [stderr]       Adding num-integer v0.1.46
[INFO] [stderr]       Adding num-traits v0.2.19
[INFO] [stderr]       Adding once_cell v1.21.4
[INFO] [stderr]       Adding os_str_bytes v6.6.1
[INFO] [stderr]       Adding png v0.17.16
[INFO] [stderr]       Adding proc-macro-error v1.0.4
[INFO] [stderr]       Adding proc-macro-error-attr v1.0.4
[INFO] [stderr]     Updating quote v1.0.36 -> v1.0.45
[INFO] [stderr]       Adding rawpointer v0.2.1
[INFO] [stderr]       Adding rayon v1.5.3 (available: v1.12.0)
[INFO] [stderr]       Adding rayon-core v1.13.0
[INFO] [stderr]       Adding signal-hook v0.3.18
[INFO] [stderr]       Adding signal-hook-mio v0.2.5
[INFO] [stderr]       Adding simd-adler32 v0.3.9
[INFO] [stderr]       Adding strsim v0.10.0
[INFO] [stderr]       Adding syn v1.0.109
[INFO] [stderr]       Adding termcolor v1.4.1
[INFO] [stderr]       Adding tiff v0.9.1
[INFO] [stderr]       Adding version_check v0.9.5
[INFO] [stderr]       Adding viuwa v0.0.50
[INFO] [stderr]       Adding weezl v0.1.12
[INFO] [stderr]       Adding winapi-util v0.1.11
[INFO] [stderr]       Adding zerocopy v0.8.48
[INFO] [stderr]       Adding zerocopy-derive v0.8.48
[INFO] [stderr]       Adding zune-inflate v0.2.54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bac9bb92b0483cc6fbea3ef4ff705b2370093b7bdef532a816cfedb8b0b06cc2
[INFO] running `Command { std: "docker" "start" "-a" "bac9bb92b0483cc6fbea3ef4ff705b2370093b7bdef532a816cfedb8b0b06cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bac9bb92b0483cc6fbea3ef4ff705b2370093b7bdef532a816cfedb8b0b06cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bac9bb92b0483cc6fbea3ef4ff705b2370093b7bdef532a816cfedb8b0b06cc2", kill_on_drop: false }`
[INFO] [stdout] bac9bb92b0483cc6fbea3ef4ff705b2370093b7bdef532a816cfedb8b0b06cc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8dd9afd9414c75afdf7cc58adb2e494a033f7a2cbfba279a0e949360f8b087f
[INFO] running `Command { std: "docker" "start" "-a" "d8dd9afd9414c75afdf7cc58adb2e494a033f7a2cbfba279a0e949360f8b087f", kill_on_drop: false }`
[INFO] [stderr] warning: ansi_chess v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `viuwa` which is missing a lib target
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling syn v2.0.70
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking ansi_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `env` and `io`
[INFO] [stdout]  --> src/ansi_chess.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                            ^^^  ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/ansi_chess.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env` and `io`
[INFO] [stdout]  --> src/ansi_chess.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                            ^^^  ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/ansi_chess.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ascii::AsciiExt`
[INFO] [stdout]  --> src/ansi_chess.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ascii::AsciiExt`
[INFO] [stdout]  --> src/ansi_chess.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/ansi_chess.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |             let file = &piece.position.file;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rank`
[INFO] [stdout]    --> src/ansi_chess.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |             let rank = &piece.position.rank;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1537:40
[INFO] [stdout]      |
[INFO] [stdout] 1537 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1548 |                         square_color = ansi_term::Color::White;
[INFO] [stdout]      |                         -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/ansi_chess.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |             let file = &piece.position.file;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rank`
[INFO] [stdout]    --> src/ansi_chess.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |             let rank = &piece.position.rank;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1537:40
[INFO] [stdout]      |
[INFO] [stdout] 1537 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1548 |                         square_color = ansi_term::Color::White;
[INFO] [stdout]      |                         -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1919:40
[INFO] [stdout]      |
[INFO] [stdout] 1919 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1929 |                     square_color = ansi_term::Color::White;
[INFO] [stdout]      |                     -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1976:40
[INFO] [stdout]      |
[INFO] [stdout] 1976 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1987 |                         square_color = ansi_term::Color::White;
[INFO] [stdout]      |                         -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected_input`
[INFO] [stdout]     --> src/ansi_chess.rs:2016:13
[INFO] [stdout]      |
[INFO] [stdout] 2016 |         let expected_input = String::from("Pe2e4"); //TODO parse input string over hardcoding each
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SquareTrait` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | trait SquareTrait {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SquareError` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:160:6
[INFO] [stdout]     |
[INFO] [stdout] 160 | enum SquareError{
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SquareResult` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:165:6
[INFO] [stdout]     |
[INFO] [stdout] 165 | type SquareResult = Result<(),SquareError>;
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1919:40
[INFO] [stdout]      |
[INFO] [stdout] 1919 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1929 |                     square_color = ansi_term::Color::White;
[INFO] [stdout]      |                     -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SquareTrait` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | trait SquareTrait {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SquareError` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:160:6
[INFO] [stdout]     |
[INFO] [stdout] 160 | enum SquareError{
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SquareResult` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:165:6
[INFO] [stdout]     |
[INFO] [stdout] 165 | type SquareResult = Result<(),SquareError>;
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `BoardString` should have a snake case name
[INFO] [stdout]     --> src/ansi_chess.rs:1529:17
[INFO] [stdout]      |
[INFO] [stdout] 1529 |         let mut BoardString = String::new();
[INFO] [stdout]      |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `board_string`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `BoardString` should have a snake case name
[INFO] [stdout]     --> src/ansi_chess.rs:1529:17
[INFO] [stdout]      |
[INFO] [stdout] 1529 |         let mut BoardString = String::new();
[INFO] [stdout]      |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `board_string`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env` and `io`
[INFO] [stdout]  --> src/ansi_chess.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                            ^^^  ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/ansi_chess.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ascii::AsciiExt`
[INFO] [stdout]  --> src/ansi_chess.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `GameState` is never constructed
[INFO] [stdout]  --> src/client.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GameState {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `board` and `seconds_left` are never read
[INFO] [stdout]  --> src/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GameState {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 5 |     board: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     seconds_left: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/client.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl GameState {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 10 |     //TODO: implement
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/client.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     move_in.try_read(&mut buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let _ = move_in.try_read(&mut buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/ansi_chess.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |             let file = &piece.position.file;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rank`
[INFO] [stdout]    --> src/ansi_chess.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |             let rank = &piece.position.rank;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `GameState` is never constructed
[INFO] [stdout]  --> src/client.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GameState {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `board` and `seconds_left` are never read
[INFO] [stdout]  --> src/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GameState {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 5 |     board: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     seconds_left: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/client.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl GameState {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 10 |     //TODO: implement
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ansi_chess` (bin "client" test) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ansi_chess` (bin "client") due to 1 previous error; 3 warnings emitted
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1537:40
[INFO] [stdout]      |
[INFO] [stdout] 1537 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1548 |                         square_color = ansi_term::Color::White;
[INFO] [stdout]      |                         -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/client.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     move_in.try_read(&mut buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let _ = move_in.try_read(&mut buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1919:40
[INFO] [stdout]      |
[INFO] [stdout] 1919 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1929 |                     square_color = ansi_term::Color::White;
[INFO] [stdout]      |                     -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chess_board`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let chess_board = ansi_chess::Board::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chess_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]   --> src/main.rs:74:40
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 84 |                     square_color = ansi_term::Color::White;
[INFO] [stdout]    |                     -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_print` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn test_print() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `None` is never constructed
[INFO] [stdout]  --> src/ansi_chess.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum PieceType {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] 5 |     None,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PieceType` 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: trait `SquareTrait` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | trait SquareTrait {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SquareError` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:160:6
[INFO] [stdout]     |
[INFO] [stdout] 160 | enum SquareError{
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SquareResult` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:165:6
[INFO] [stdout]     |
[INFO] [stdout] 165 | type SquareResult = Result<(),SquareError>;
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_checked` and `from_char_checked` are never used
[INFO] [stdout]    --> src/ansi_chess.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl SquareFile {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn from_checked(val: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn from_char_checked(val: char) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SquareTuple` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:346:6
[INFO] [stdout]     |
[INFO] [stdout] 346 | type SquareTuple = (SquareRank, SquareFile);
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from` and `as_tup` are never used
[INFO] [stdout]    --> src/ansi_chess.rs:355:12
[INFO] [stdout]     |
[INFO] [stdout] 354 | impl Square {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 355 |     pub fn from(tup: SquareTuple) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn as_tup(&self) -> SquareTuple {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `squares`, `is_white_king_checked`, and `is_black_king_checked` are never read
[INFO] [stdout]    --> src/ansi_chess.rs:396:9
[INFO] [stdout]     |
[INFO] [stdout] 394 | pub struct Board {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 395 |     pub pieces: Vec<Piece>,
[INFO] [stdout] 396 |     pub squares: Vec<Vec<Square>>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 397 |     pub turn: TurnColor,
[INFO] [stdout] 398 |     pub is_white_king_checked: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 399 |     pub is_black_king_checked: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Board` 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: associated items `print_pieces`, `try_move_piece`, `encode_board_ascii`, `decode_board_ascii`, and `paint_board` are never used
[INFO] [stdout]     --> src/ansi_chess.rs:1516:12
[INFO] [stdout]      |
[INFO] [stdout] 1496 | impl Board {
[INFO] [stdout]      | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1516 |     pub fn print_pieces(&self) {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1570 |     pub fn try_move_piece (
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1627 |     pub fn encode_board_ascii<'a>(board: Vec<ansi_term::ANSIString<'a>>) -> String {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1647 |     pub fn decode_board_ascii<'a>(encoded_board: String) -> ansi_term::ANSIString<'a> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1668 |     pub fn paint_board(){
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `default` and `update_pos` are never used
[INFO] [stdout]     --> src/ansi_chess.rs:1686:12
[INFO] [stdout]      |
[INFO] [stdout] 1685 | impl Piece {
[INFO] [stdout]      | ---------- associated items in this implementation
[INFO] [stdout] 1686 |     pub fn default() -> Self {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1834 |     pub fn update_pos(&mut self, new_pos: &Square) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto` is never used
[INFO] [stdout]     --> src/ansi_chess.rs:1843:8
[INFO] [stdout]      |
[INFO] [stdout] 1843 | pub fn auto(){
[INFO] [stdout]      |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `BoardString` should have a snake case name
[INFO] [stdout]     --> src/ansi_chess.rs:1529:17
[INFO] [stdout]      |
[INFO] [stdout] 1529 |         let mut BoardString = String::new();
[INFO] [stdout]      |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `board_string`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black_game_state_Ref`
[INFO] [stdout]   --> src/server.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let black_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_black_game_state_Ref`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `white_game_state_Ref`
[INFO] [stdout]   --> src/server.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let white_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_white_game_state_Ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env` and `io`
[INFO] [stdout]  --> src/ansi_chess.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                            ^^^  ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `board` and `seconds_left` are never read
[INFO] [stdout]  --> src/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct GameState {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     board: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     seconds_left: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `black_game_state_Ref` should have a snake case name
[INFO] [stdout]   --> src/server.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let black_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `black_game_state_ref`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `white_game_state_Ref` should have a snake case name
[INFO] [stdout]   --> src/server.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let white_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `white_game_state_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     move_in.try_read(&mut buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let _ = move_in.try_read(&mut buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/ansi_chess.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black_game_state_Ref`
[INFO] [stdout]   --> src/server.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let black_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_black_game_state_Ref`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `white_game_state_Ref`
[INFO] [stdout]   --> src/server.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let white_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_white_game_state_Ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `board` and `seconds_left` are never read
[INFO] [stdout]  --> src/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct GameState {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     board: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     seconds_left: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `black_game_state_Ref` should have a snake case name
[INFO] [stdout]   --> src/server.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let black_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `black_game_state_ref`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `white_game_state_Ref` should have a snake case name
[INFO] [stdout]   --> src/server.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let white_game_state_Ref = Arc::clone(&game_state_ref);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `white_game_state_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     move_in.try_read(&mut buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let _ = move_in.try_read(&mut buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ascii::AsciiExt`
[INFO] [stdout]  --> src/ansi_chess.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ascii::AsciiExt, env, io, ops::Add, ops::Sub,fs};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/ansi_chess.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |             let file = &piece.position.file;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rank`
[INFO] [stdout]    --> src/ansi_chess.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |             let rank = &piece.position.rank;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1537:40
[INFO] [stdout]      |
[INFO] [stdout] 1537 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1548 |                         square_color = ansi_term::Color::White;
[INFO] [stdout]      |                         -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1919:40
[INFO] [stdout]      |
[INFO] [stdout] 1919 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1929 |                     square_color = ansi_term::Color::White;
[INFO] [stdout]      |                     -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]     --> src/ansi_chess.rs:1976:40
[INFO] [stdout]      |
[INFO] [stdout] 1976 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1987 |                         square_color = ansi_term::Color::White;
[INFO] [stdout]      |                         -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected_input`
[INFO] [stdout]     --> src/ansi_chess.rs:2016:13
[INFO] [stdout]      |
[INFO] [stdout] 2016 |         let expected_input = String::from("Pe2e4"); //TODO parse input string over hardcoding each
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chess_board`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let chess_board = ansi_chess::Board::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chess_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square_color` is never read
[INFO] [stdout]   --> src/main.rs:74:40
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 let mut square_color = ansi_term::Color::White;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 84 |                     square_color = ansi_term::Color::White;
[INFO] [stdout]    |                     -------------------------------------- `square_color` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_print` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn test_print() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `None` is never constructed
[INFO] [stdout]  --> src/ansi_chess.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum PieceType {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] 5 |     None,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PieceType` 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: trait `SquareTrait` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:113:7
[INFO] [stdout]     |
[INFO] [stdout] 113 | trait SquareTrait {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SquareError` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:160:6
[INFO] [stdout]     |
[INFO] [stdout] 160 | enum SquareError{
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SquareResult` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:165:6
[INFO] [stdout]     |
[INFO] [stdout] 165 | type SquareResult = Result<(),SquareError>;
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_checked` and `from_char_checked` are never used
[INFO] [stdout]    --> src/ansi_chess.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl SquareFile {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn from_checked(val: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn from_char_checked(val: char) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SquareTuple` is never used
[INFO] [stdout]    --> src/ansi_chess.rs:346:6
[INFO] [stdout]     |
[INFO] [stdout] 346 | type SquareTuple = (SquareRank, SquareFile);
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from` and `as_tup` are never used
[INFO] [stdout]    --> src/ansi_chess.rs:355:12
[INFO] [stdout]     |
[INFO] [stdout] 354 | impl Square {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 355 |     pub fn from(tup: SquareTuple) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn as_tup(&self) -> SquareTuple {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `squares`, `is_white_king_checked`, and `is_black_king_checked` are never read
[INFO] [stdout]    --> src/ansi_chess.rs:396:9
[INFO] [stdout]     |
[INFO] [stdout] 394 | pub struct Board {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 395 |     pub pieces: Vec<Piece>,
[INFO] [stdout] 396 |     pub squares: Vec<Vec<Square>>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 397 |     pub turn: TurnColor,
[INFO] [stdout] 398 |     pub is_white_king_checked: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 399 |     pub is_black_king_checked: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Board` 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: associated items `print_pieces`, `encode_board_ascii`, `decode_board_ascii`, and `paint_board` are never used
[INFO] [stdout]     --> src/ansi_chess.rs:1516:12
[INFO] [stdout]      |
[INFO] [stdout] 1496 | impl Board {
[INFO] [stdout]      | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1516 |     pub fn print_pieces(&self) {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1627 |     pub fn encode_board_ascii<'a>(board: Vec<ansi_term::ANSIString<'a>>) -> String {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1647 |     pub fn decode_board_ascii<'a>(encoded_board: String) -> ansi_term::ANSIString<'a> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1668 |     pub fn paint_board(){
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `default` and `update_pos` are never used
[INFO] [stdout]     --> src/ansi_chess.rs:1686:12
[INFO] [stdout]      |
[INFO] [stdout] 1685 | impl Piece {
[INFO] [stdout]      | ---------- associated items in this implementation
[INFO] [stdout] 1686 |     pub fn default() -> Self {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1834 |     pub fn update_pos(&mut self, new_pos: &Square) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto` is never used
[INFO] [stdout]     --> src/ansi_chess.rs:1843:8
[INFO] [stdout]      |
[INFO] [stdout] 1843 | pub fn auto(){
[INFO] [stdout]      |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `BoardString` should have a snake case name
[INFO] [stdout]     --> src/ansi_chess.rs:1529:17
[INFO] [stdout]      |
[INFO] [stdout] 1529 |         let mut BoardString = String::new();
[INFO] [stdout]      |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `board_string`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d8dd9afd9414c75afdf7cc58adb2e494a033f7a2cbfba279a0e949360f8b087f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8dd9afd9414c75afdf7cc58adb2e494a033f7a2cbfba279a0e949360f8b087f", kill_on_drop: false }`
[INFO] [stdout] d8dd9afd9414c75afdf7cc58adb2e494a033f7a2cbfba279a0e949360f8b087f
