[INFO] cloning repository https://github.com/0xEquinox/Rust_Chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xEquinox/Rust_Chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xEquinox%2FRust_Chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xEquinox%2FRust_Chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0147845140be4eb68107d14ca85111def754c2c6
[INFO] checking 0xEquinox/Rust_Chess against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xEquinox%2FRust_Chess" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xEquinox/Rust_Chess
[INFO] finished tweaking git repo https://github.com/0xEquinox/Rust_Chess
[INFO] tweaked toml for git repo https://github.com/0xEquinox/Rust_Chess written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xEquinox/Rust_Chess on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xEquinox/Rust_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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14bbd2224c13f94670d61c491a4f72a3f98378ec9f02b235893dc40feb4fc3a3
[INFO] running `Command { std: "docker" "start" "-a" "14bbd2224c13f94670d61c491a4f72a3f98378ec9f02b235893dc40feb4fc3a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14bbd2224c13f94670d61c491a4f72a3f98378ec9f02b235893dc40feb4fc3a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14bbd2224c13f94670d61c491a4f72a3f98378ec9f02b235893dc40feb4fc3a3", kill_on_drop: false }`
[INFO] [stdout] 14bbd2224c13f94670d61c491a4f72a3f98378ec9f02b235893dc40feb4fc3a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b0f556e8412b41360390a4c327bca5db6062c025a4896ea433b46acd225a2918
[INFO] running `Command { std: "docker" "start" "-a" "b0f556e8412b41360390a4c327bca5db6062c025a4896ea433b46acd225a2918", kill_on_drop: false }`
[INFO] [stderr]     Checking Chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/board.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[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: `std::borrow::Borrow`
[INFO] [stdout]  --> src/board.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `origin_x` is never read
[INFO] [stdout]   --> src/main.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut origin_x:i32 = 0;
[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: value assigned to `origin_y` is never read
[INFO] [stdout]   --> src/main.rs:48:28
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut origin_y:i32 = 0;
[INFO] [stdout]    |                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dest_x` is never read
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut dest_x:i32= 0;
[INFO] [stdout]    |                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dest_y` is never read
[INFO] [stdout]   --> src/main.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut dest_y:i32 = 0;
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/main.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `origin_x` is never read
[INFO] [stdout]   --> src/main.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut origin_x:i32 = 0;
[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: unused variable: `dest_piece`
[INFO] [stdout]   --> src/main.rs:74:53
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `origin_y` is never read
[INFO] [stdout]   --> src/main.rs:48:28
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut origin_y:i32 = 0;
[INFO] [stdout]    |                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:74:88
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                                                                                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dest_x` is never read
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut dest_x:i32= 0;
[INFO] [stdout]    |                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:74:96
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                                                                                                ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dest_y` is never read
[INFO] [stdout]   --> src/main.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut dest_y:i32 = 0;
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `can_castle_kingside` and `can_castle_queenside` are never read
[INFO] [stdout]   --> src/board.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub(crate) struct Board {
[INFO] [stdout]    |                   ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     can_castle_kingside: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     can_castle_queenside: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are 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: unused variable: `board`
[INFO] [stdout]   --> src/main.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `can_castle_kingside`, `can_castle_queenside`, `can_castle_kingside_mut`, `can_castle_queenside_mut`, `board`, and `board_mut` are never used
[INFO] [stdout]    --> src/board.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Board {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout]  98 |
[INFO] [stdout]  99 |     fn can_castle_kingside(&self) -> &bool{ &self.can_castle_kingside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |
[INFO] [stdout] 101 |     fn can_castle_queenside(&self) -> &bool{ &self.can_castle_queenside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 102 |
[INFO] [stdout] 103 |     fn can_castle_kingside_mut(&mut self) -> &mut bool{ &mut self.can_castle_kingside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 104 |
[INFO] [stdout] 105 |     fn can_castle_queenside_mut(&mut self) -> &mut bool{ &mut self.can_castle_queenside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 106 |
[INFO] [stdout] 107 |     pub fn board(&self) -> &[[Piece; 8]; 8]{ &self.board }
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn board_mut(&mut self) -> &mut [[Piece; 8]; 8]{ &mut self.board }
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dest_piece`
[INFO] [stdout]   --> src/main.rs:74:53
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/piece.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Piece {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 21 |
[INFO] [stdout] 22 |     x: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 23 |     y: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:74:88
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                                                                                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_pos` and `set_pos` are never used
[INFO] [stdout]   --> src/piece.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Piece{
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn get_pos(&self) -> [i32; 2] {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn set_pos(&mut self, x: i32, y: i32){
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:74:96
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn is_valid_move(board: &Board, move_piece: &Piece, dest_piece: &Piece, color: &Color, x: i32, y: i32) -> bool {
[INFO] [stdout]    |                                                                                                ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `can_castle_kingside` and `can_castle_queenside` are never read
[INFO] [stdout]   --> src/board.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub(crate) struct Board {
[INFO] [stdout]    |                   ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     can_castle_kingside: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     can_castle_queenside: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `can_castle_kingside`, `can_castle_queenside`, `can_castle_kingside_mut`, `can_castle_queenside_mut`, `board`, and `board_mut` are never used
[INFO] [stdout]    --> src/board.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Board {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout]  98 |
[INFO] [stdout]  99 |     fn can_castle_kingside(&self) -> &bool{ &self.can_castle_kingside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |
[INFO] [stdout] 101 |     fn can_castle_queenside(&self) -> &bool{ &self.can_castle_queenside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 102 |
[INFO] [stdout] 103 |     fn can_castle_kingside_mut(&mut self) -> &mut bool{ &mut self.can_castle_kingside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 104 |
[INFO] [stdout] 105 |     fn can_castle_queenside_mut(&mut self) -> &mut bool{ &mut self.can_castle_queenside }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 106 |
[INFO] [stdout] 107 |     pub fn board(&self) -> &[[Piece; 8]; 8]{ &self.board }
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn board_mut(&mut self) -> &mut [[Piece; 8]; 8]{ &mut self.board }
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/piece.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Piece {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 21 |
[INFO] [stdout] 22 |     x: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 23 |     y: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_pos` and `set_pos` are never used
[INFO] [stdout]   --> src/piece.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Piece{
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn get_pos(&self) -> [i32; 2] {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn set_pos(&mut self, x: i32, y: i32){
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "b0f556e8412b41360390a4c327bca5db6062c025a4896ea433b46acd225a2918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0f556e8412b41360390a4c327bca5db6062c025a4896ea433b46acd225a2918", kill_on_drop: false }`
[INFO] [stdout] b0f556e8412b41360390a4c327bca5db6062c025a4896ea433b46acd225a2918
