[INFO] cloning repository https://github.com/samumartinf/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/samumartinf/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamumartinf%2Frust-chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamumartinf%2Frust-chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30be8625239d00bc4201984b8d107329b32cd473
[INFO] checking samumartinf/rust-chess against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamumartinf%2Frust-chess" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/samumartinf/rust-chess
[INFO] finished tweaking git repo https://github.com/samumartinf/rust-chess
[INFO] tweaked toml for git repo https://github.com/samumartinf/rust-chess written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/samumartinf/rust-chess on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/samumartinf/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" "+507271bc119683008ec719ecee48814e8ac86c65" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa0742a32d7836851f2c7a9db7bae2e96eca0117f2ce3d949b1f566ae8d18548
[INFO] running `Command { std: "docker" "start" "-a" "fa0742a32d7836851f2c7a9db7bae2e96eca0117f2ce3d949b1f566ae8d18548", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa0742a32d7836851f2c7a9db7bae2e96eca0117f2ce3d949b1f566ae8d18548", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa0742a32d7836851f2c7a9db7bae2e96eca0117f2ce3d949b1f566ae8d18548", kill_on_drop: false }`
[INFO] [stdout] fa0742a32d7836851f2c7a9db7bae2e96eca0117f2ce3d949b1f566ae8d18548
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b514c848c28da3da842b070b2ee25a71cd3a74cbf9863b0358a63d77a93e8aa5
[INFO] running `Command { std: "docker" "start" "-a" "b514c848c28da3da842b070b2ee25a71cd3a74cbf9863b0358a63d77a93e8aa5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking pin-project-lite v0.2.10
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking object v0.31.1
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]     Checking addr2line v0.20.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking tracing-error v0.1.2
[INFO] [stderr]     Checking color-spantrace v0.1.6
[INFO] [stderr]     Checking color-eyre v0.5.11
[INFO] [stderr]     Checking cherris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]    --> src/lib.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let row = position_helper::get_row(position);
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROW`
[INFO] [stdout]     |
[INFO] [stdout] 250 -         let row = position_helper::get_row(position);
[INFO] [stdout] 250 +         let ROW = position_helper::get_row(position);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let _row = position_helper::get_row(position);
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/lib.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let col = position_helper::get_col(position);
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COL`
[INFO] [stdout]     |
[INFO] [stdout] 251 -         let col = position_helper::get_col(position);
[INFO] [stdout] 251 +         let COL = position_helper::get_col(position);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let _col = position_helper::get_col(position);
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]    --> src/lib.rs:314:41
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn knight_moves(self, position: u8, board: Board) -> Vec<u8> {
[INFO] [stdout]     |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/lib.rs:357:29
[INFO] [stdout]     |
[INFO] [stdout] 357 |     fn is_move_valid(&self, position: u8, board: Board) -> bool {
[INFO] [stdout]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]    --> src/lib.rs:357:43
[INFO] [stdout]     |
[INFO] [stdout] 357 |     fn is_move_valid(&self, position: u8, board: Board) -> bool {
[INFO] [stdout]     |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `possible_positions` is never read
[INFO] [stdout]    --> src/lib.rs:364:38
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut possible_positions = Vec::new();
[INFO] [stdout]     |                                      ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 367 |                 possible_positions = Piece::pawn_moves(self.clone(), position, board.clone())
[INFO] [stdout]     |                 ------------------ `possible_positions` 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 `color_string` is never read
[INFO] [stdout]    --> src/lib.rs:413:32
[INFO] [stdout]     |
[INFO] [stdout] 413 |         let mut color_string = String::from("");
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 418 |             color_string = String::from("b");
[INFO] [stdout]     |             ------------ `color_string` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `moves_done` is never read
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 16 |     white_turn: bool,
[INFO] [stdout] 17 |     moves_done: Vec<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `game` is never read
[INFO] [stdout]    --> src/lib.rs:631:9
[INFO] [stdout]     |
[INFO] [stdout] 630 |     pub struct Engine {
[INFO] [stdout]     |                ------ field in this struct
[INFO] [stdout] 631 |         game: Game,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]    --> src/lib.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let row = position_helper::get_row(position);
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROW`
[INFO] [stdout]     |
[INFO] [stdout] 250 -         let row = position_helper::get_row(position);
[INFO] [stdout] 250 +         let ROW = position_helper::get_row(position);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let _row = position_helper::get_row(position);
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]    --> src/lib.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let col = position_helper::get_col(position);
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COL`
[INFO] [stdout]     |
[INFO] [stdout] 251 -         let col = position_helper::get_col(position);
[INFO] [stdout] 251 +         let COL = position_helper::get_col(position);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let _col = position_helper::get_col(position);
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]    --> src/lib.rs:314:41
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn knight_moves(self, position: u8, board: Board) -> Vec<u8> {
[INFO] [stdout]     |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/lib.rs:357:29
[INFO] [stdout]     |
[INFO] [stdout] 357 |     fn is_move_valid(&self, position: u8, board: Board) -> bool {
[INFO] [stdout]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]    --> src/lib.rs:357:43
[INFO] [stdout]     |
[INFO] [stdout] 357 |     fn is_move_valid(&self, position: u8, board: Board) -> bool {
[INFO] [stdout]     |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `possible_positions` is never read
[INFO] [stdout]    --> src/lib.rs:364:38
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut possible_positions = Vec::new();
[INFO] [stdout]     |                                      ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 367 |                 possible_positions = Piece::pawn_moves(self.clone(), position, board.clone())
[INFO] [stdout]     |                 ------------------ `possible_positions` 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 `color_string` is never read
[INFO] [stdout]    --> src/lib.rs:413:32
[INFO] [stdout]     |
[INFO] [stdout] 413 |         let mut color_string = String::from("");
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 418 |             color_string = String::from("b");
[INFO] [stdout]     |             ------------ `color_string` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `moves_done` is never read
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 16 |     white_turn: bool,
[INFO] [stdout] 17 |     moves_done: Vec<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `game` is never read
[INFO] [stdout]    --> src/lib.rs:631:9
[INFO] [stdout]     |
[INFO] [stdout] 630 |     pub struct Engine {
[INFO] [stdout]     |                ------ field in this struct
[INFO] [stdout] 631 |         game: Game,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s
[INFO] running `Command { std: "docker" "inspect" "b514c848c28da3da842b070b2ee25a71cd3a74cbf9863b0358a63d77a93e8aa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b514c848c28da3da842b070b2ee25a71cd3a74cbf9863b0358a63d77a93e8aa5", kill_on_drop: false }`
[INFO] [stdout] b514c848c28da3da842b070b2ee25a71cd3a74cbf9863b0358a63d77a93e8aa5
