[INFO] cloning repository https://github.com/ctao5660/chess_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctao5660/chess_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctao5660%2Fchess_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctao5660%2Fchess_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 565a51fde1857bfa37df7d6e594837d6f723d287
[INFO] checking ctao5660/chess_engine against try#b66808126f24f2f30898306a881e1676824ea80c for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctao5660%2Fchess_engine" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ctao5660/chess_engine
[INFO] finished tweaking git repo https://github.com/ctao5660/chess_engine
[INFO] tweaked toml for git repo https://github.com/ctao5660/chess_engine written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ctao5660/chess_engine on toolchain b66808126f24f2f30898306a881e1676824ea80c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ctao5660/chess_engine 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" "+b66808126f24f2f30898306a881e1676824ea80c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex v1.9.5
[INFO] [stderr]   Downloaded memchr v2.6.3
[INFO] [stderr]   Downloaded aho-corasick v1.0.5
[INFO] [stderr]   Downloaded regex-automata v0.3.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a
[INFO] running `Command { std: "docker" "start" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]     Checking regex-syntax v0.7.5
[INFO] [stderr]     Checking aho-corasick v1.0.5
[INFO] [stderr]     Checking regex-automata v0.3.8
[INFO] [stderr]     Checking regex v1.9.5
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Write`, `stdin`, and `stdout`
[INFO] [stdout]  --> src/play.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |               ^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::Board`
[INFO] [stdout]  --> src/play.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board::Board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `stdin`, and `stdout`
[INFO] [stdout]  --> src/play.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |               ^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::Board`
[INFO] [stdout]  --> src/play.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board::Board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/board.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for i in 0..64 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/board.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for i in 0..64 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut enpassant_pieces: usize = 65;
[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: unused variable: `enpassant_pieces`
[INFO] [stdout]   --> src/game.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut enpassant_pieces: usize = 65;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enpassant_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `enpassant_pieces` is assigned to, but never used
[INFO] [stdout]   --> src/game.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut enpassant_pieces: usize = 65;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_enpassant_pieces` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `enpassant_pieces` is never read
[INFO] [stdout]   --> src/game.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 3 => enpassant_pieces = Game::parse_enpassant_pieces(part),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut enpassant_pieces: usize = 65;
[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: unused variable: `enpassant_pieces`
[INFO] [stdout]   --> src/game.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut enpassant_pieces: usize = 65;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enpassant_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `enpassant_pieces` is assigned to, but never used
[INFO] [stdout]   --> src/game.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut enpassant_pieces: usize = 65;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_enpassant_pieces` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `enpassant_pieces` is never read
[INFO] [stdout]   --> src/game.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 3 => enpassant_pieces = Game::parse_enpassant_pieces(part),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active_color`, `castling_rights`, `pieces`, `en_passant_target`, `halfmove_clock`, and `fullmove_clock` are never read
[INFO] [stdout]   --> src/game.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 15 |     pub board: Board,
[INFO] [stdout] 16 |     active_color: Player, // who's turn
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     castling_rights: HashMap<Player, [bool; 2]>, // [bool, bool] = [queenSide, kingSide]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     pieces: HashMap<Player, Vec<Rc<dyn Piece>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 19 |     en_passant_target: usize, // hashset by index into board arr
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     halfmove_clock: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     fullmove_clock: 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: struct `Play` is never constructed
[INFO] [stdout]  --> src/play.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Play<'a> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clone_piece` is never used
[INFO] [stdout]  --> src/pieces/pieces.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Piece {
[INFO] [stdout]   |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 8 |     fn clone_piece(&self) -> Box<dyn Piece>;
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active_color`, `castling_rights`, `pieces`, `en_passant_target`, `halfmove_clock`, and `fullmove_clock` are never read
[INFO] [stdout]   --> src/game.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 15 |     pub board: Board,
[INFO] [stdout] 16 |     active_color: Player, // who's turn
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     castling_rights: HashMap<Player, [bool; 2]>, // [bool, bool] = [queenSide, kingSide]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     pieces: HashMap<Player, Vec<Rc<dyn Piece>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 19 |     en_passant_target: usize, // hashset by index into board arr
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     halfmove_clock: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     fullmove_clock: 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: struct `Play` is never constructed
[INFO] [stdout]  --> src/play.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Play<'a> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clone_piece` is never used
[INFO] [stdout]  --> src/pieces/pieces.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Piece {
[INFO] [stdout]   |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 8 |     fn clone_piece(&self) -> Box<dyn Piece>;
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.18s
[INFO] running `Command { std: "docker" "inspect" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a", kill_on_drop: false }`
[INFO] [stdout] c9b9c50caee267f214886432b02ab31f409a29aba7cfda0cdf9e4eec5774069a
