[INFO] cloning repository https://github.com/RealDummy/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RealDummy/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealDummy%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealDummy%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 387f7ae6b70d6a14c7d50335e58d910dabf3cb12
[INFO] testing RealDummy/chess against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealDummy%2Fchess" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/RealDummy/chess
[INFO] finished tweaking git repo https://github.com/RealDummy/chess
[INFO] tweaked toml for git repo https://github.com/RealDummy/chess written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RealDummy/chess on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RealDummy/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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_termios v0.1.2
[INFO] [stderr]   Downloaded termion v1.5.6
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 68d3d329ed25007fa380bd44169cd89268bbff08903076a52951fe9cffed34cb
[INFO] running `Command { std: "docker" "start" "-a" "68d3d329ed25007fa380bd44169cd89268bbff08903076a52951fe9cffed34cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68d3d329ed25007fa380bd44169cd89268bbff08903076a52951fe9cffed34cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68d3d329ed25007fa380bd44169cd89268bbff08903076a52951fe9cffed34cb", kill_on_drop: false }`
[INFO] [stdout] 68d3d329ed25007fa380bd44169cd89268bbff08903076a52951fe9cffed34cb
[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" "-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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4310d1004fc321df64f1d5819873d2b2ce4c7dded8db3f075eda35fbfc9b5dca
[INFO] running `Command { std: "docker" "start" "-a" "4310d1004fc321df64f1d5819873d2b2ce4c7dded8db3f075eda35fbfc9b5dca", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling termion v1.5.6
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::vec::Vec`
[INFO] [stdout]  --> src/chess/validator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chess/board.rs:427:13
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let mut state = &mut self.get_pieces_mut(owner)[index];
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut game = chess::Game::from_fen("8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - ");
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Checkmate`, `Draw`, and `Eval` are never constructed
[INFO] [stdout]   --> src/chess/mod.rs:11:2
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum GameEval {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 11 |     Checkmate(piece::Player),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     Draw,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     Eval(f64),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameEval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `eval` is never read
[INFO] [stdout]   --> src/chess/mod.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Game{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 18 |     board: board::Board,
[INFO] [stdout] 19 |     eval: Option<GameEval>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_input` is never used
[INFO] [stdout]   --> src/chess/mod.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn get_input() -> String {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_simple_input` is never used
[INFO] [stdout]   --> src/chess/mod.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn parse_simple_input(input: &str, player: piece::Player) -> Result::<pos::MoveCandidate, String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `eval`, `print`, `print_for`, `print_possible_moves`, and `play` are never used
[INFO] [stdout]    --> src/chess/mod.rs:79:9
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Game{
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  79 |     pub fn new() -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn eval(&mut self) -> GameEval {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn print_for(&self, p: piece::Player) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn print_possible_moves(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn play(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `print` are never used
[INFO] [stdout]    --> src/chess/board.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | impl Board{
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 144 |     pub fn new() -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub fn print(&self, active_player: piece::Player){
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_char` is never used
[INFO] [stdout]   --> src/chess/piece.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Piece{
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 36 |     pub fn to_char(&self)-> char {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.35s
[INFO] running `Command { std: "docker" "inspect" "4310d1004fc321df64f1d5819873d2b2ce4c7dded8db3f075eda35fbfc9b5dca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4310d1004fc321df64f1d5819873d2b2ce4c7dded8db3f075eda35fbfc9b5dca", kill_on_drop: false }`
[INFO] [stdout] 4310d1004fc321df64f1d5819873d2b2ce4c7dded8db3f075eda35fbfc9b5dca
[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" "-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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 284064bc04a5f8342fda37aba4e13fb33f9915158209d3432e59b61fd0d5a5dd
[INFO] running `Command { std: "docker" "start" "-a" "284064bc04a5f8342fda37aba4e13fb33f9915158209d3432e59b61fd0d5a5dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::vec::Vec`
[INFO] [stdout]  --> src/chess/validator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chess/board.rs:427:13
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let mut state = &mut self.get_pieces_mut(owner)[index];
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut game = chess::Game::from_fen("8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - ");
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Checkmate`, `Draw`, and `Eval` are never constructed
[INFO] [stdout]   --> src/chess/mod.rs:11:2
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum GameEval {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 11 |     Checkmate(piece::Player),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     Draw,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     Eval(f64),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameEval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `eval` is never read
[INFO] [stdout]   --> src/chess/mod.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Game{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 18 |     board: board::Board,
[INFO] [stdout] 19 |     eval: Option<GameEval>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_input` is never used
[INFO] [stdout]   --> src/chess/mod.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn get_input() -> String {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_simple_input` is never used
[INFO] [stdout]   --> src/chess/mod.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn parse_simple_input(input: &str, player: piece::Player) -> Result::<pos::MoveCandidate, String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `eval`, `print`, `print_for`, `print_possible_moves`, and `play` are never used
[INFO] [stdout]    --> src/chess/mod.rs:79:9
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Game{
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  79 |     pub fn new() -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn eval(&mut self) -> GameEval {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn print_for(&self, p: piece::Player) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn print_possible_moves(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn play(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `print` are never used
[INFO] [stdout]    --> src/chess/board.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | impl Board{
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 144 |     pub fn new() -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub fn print(&self, active_player: piece::Player){
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_char` is never used
[INFO] [stdout]   --> src/chess/piece.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Piece{
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 36 |     pub fn to_char(&self)-> char {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "284064bc04a5f8342fda37aba4e13fb33f9915158209d3432e59b61fd0d5a5dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "284064bc04a5f8342fda37aba4e13fb33f9915158209d3432e59b61fd0d5a5dd", kill_on_drop: false }`
[INFO] [stdout] 284064bc04a5f8342fda37aba4e13fb33f9915158209d3432e59b61fd0d5a5dd
[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" "-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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7b34c669b2cd0f1b0c70e7738e5741446ae52648d9ffcdb8e4ff86d607bacab4
[INFO] running `Command { std: "docker" "start" "-a" "7b34c669b2cd0f1b0c70e7738e5741446ae52648d9ffcdb8e4ff86d607bacab4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::vec::Vec`
[INFO] [stderr]  --> src/chess/validator.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::vec::Vec;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/chess/board.rs:427:13
[INFO] [stderr]     |
[INFO] [stderr] 427 |         let mut state = &mut self.get_pieces_mut(owner)[index];
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let mut game = chess::Game::from_fen("8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - ");
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Checkmate`, `Draw`, and `Eval` are never constructed
[INFO] [stderr]   --> src/chess/mod.rs:11:2
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub enum GameEval {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] 11 |     Checkmate(piece::Player),
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 12 |     Draw,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 13 |     Eval(f64),
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GameEval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `eval` is never read
[INFO] [stderr]   --> src/chess/mod.rs:19:2
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Game{
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 18 |     board: board::Board,
[INFO] [stderr] 19 |     eval: Option<GameEval>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_input` is never used
[INFO] [stderr]   --> src/chess/mod.rs:23:4
[INFO] [stderr]    |
[INFO] [stderr] 23 | fn get_input() -> String {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_simple_input` is never used
[INFO] [stderr]   --> src/chess/mod.rs:37:4
[INFO] [stderr]    |
[INFO] [stderr] 37 | fn parse_simple_input(input: &str, player: piece::Player) -> Result::<pos::MoveCandidate, String> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `eval`, `print`, `print_for`, `print_possible_moves`, and `play` are never used
[INFO] [stderr]    --> src/chess/mod.rs:79:9
[INFO] [stderr]     |
[INFO] [stderr]  78 | impl Game{
[INFO] [stderr]     | --------- associated items in this implementation
[INFO] [stderr]  79 |     pub fn new() -> Self{
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  95 |     pub fn eval(&mut self) -> GameEval {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub fn print(&self) {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 110 |     pub fn print_for(&self, p: piece::Player) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 114 |     pub fn print_possible_moves(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub fn play(&mut self) {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `print` are never used
[INFO] [stderr]    --> src/chess/board.rs:144:12
[INFO] [stderr]     |
[INFO] [stderr] 143 | impl Board{
[INFO] [stderr]     | ---------- associated items in this implementation
[INFO] [stderr] 144 |     pub fn new() -> Self{
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 316 |     pub fn print(&self, active_player: piece::Player){
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_char` is never used
[INFO] [stderr]   --> src/chess/piece.rs:36:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | impl Piece{
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] 36 |     pub fn to_char(&self)-> char {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `chess` (bin "chess" test) generated 10 warnings (run `cargo fix --bin "chess" -p chess --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chess-e88fae5dbdc679c7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7b34c669b2cd0f1b0c70e7738e5741446ae52648d9ffcdb8e4ff86d607bacab4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b34c669b2cd0f1b0c70e7738e5741446ae52648d9ffcdb8e4ff86d607bacab4", kill_on_drop: false }`
[INFO] [stdout] 7b34c669b2cd0f1b0c70e7738e5741446ae52648d9ffcdb8e4ff86d607bacab4
