[INFO] cloning repository https://github.com/James112304/rust-final-project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/James112304/rust-final-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f54bea00bd50ed2b0b20f4ac6869eb437014771d
[INFO] checking James112304/rust-final-project against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/James112304/rust-final-project
[INFO] finished tweaking git repo https://github.com/James112304/rust-final-project
[INFO] tweaked toml for git repo https://github.com/James112304/rust-final-project written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/James112304/rust-final-project on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/James112304/rust-final-project 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `HW4` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-6-tc1/source/target/.../HW4
[INFO] [stderr]    |                                                  ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `hw4`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:9:8
[INFO] [stderr]    |
[INFO] [stderr]  9 - name = "HW4"
[INFO] [stderr]  9 + name = "hw4"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `hw4`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:10:19
[INFO] [stderr]    |
[INFO] [stderr] 10 ~ version = "0.1.0"
[INFO] [stderr] 11 + [[bin]]
[INFO] [stderr] 12 + name = "hw4"
[INFO] [stderr] 13 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `HW4` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.200
[INFO] [stderr]   Downloaded built v0.7.2
[INFO] [stderr]   Downloaded bitstream-io v2.2.0
[INFO] [stderr]   Downloaded serde_derive v1.0.200
[INFO] [stderr]   Downloaded anyhow v1.0.82
[INFO] [stderr]   Downloaded cc v1.0.96
[INFO] [stderr]   Downloaded winnow v0.6.7
[INFO] [stderr]   Downloaded miniquad v0.4.0
[INFO] [stderr]   Downloaded macroquad v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7
[INFO] running `Command { std: "docker" "start" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7", 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" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7", 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" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `HW4` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../HW4
[INFO] [stderr]    |                          ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `hw4`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:9:8
[INFO] [stderr]    |
[INFO] [stderr]  9 - name = "HW4"
[INFO] [stderr]  9 + name = "hw4"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `hw4`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:10:19
[INFO] [stderr]    |
[INFO] [stderr] 10 ~ version = "0.1.0"
[INFO] [stderr] 11 + [[bin]]
[INFO] [stderr] 12 + name = "hw4"
[INFO] [stderr] 13 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `HW4` (manifest) generated 1 warning
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling built v0.7.2
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking imgref v1.10.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]    Compiling miniquad v0.4.0
[INFO] [stderr]     Checking bitstream-io v2.2.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking rgb v0.8.37
[INFO] [stderr]     Checking avif-serialize v0.8.1
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking zune-jpeg v0.4.11
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking bumpalo v3.16.0
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]     Checking glam v0.21.3
[INFO] [stderr]     Checking quad-rand v0.2.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking exr v1.72.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking macroquad v0.4.5
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]     Checking image-webp v0.1.2
[INFO] [stderr]     Checking ravif v0.11.5
[INFO] [stderr]     Checking image v0.25.1
[INFO] [stderr]     Checking HW4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:533:33
[INFO] [stdout]     |
[INFO] [stdout] 533 |             default = std::i32::MAX;
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:535:33
[INFO] [stdout]     |
[INFO] [stdout] 535 |             default = std::i32::MIN;
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:550:90
[INFO] [stdout]     |
[INFO] [stdout] 550 | ...                   let score = new_board.minimax(1, max_depth, false, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:550:105
[INFO] [stdout]     |
[INFO] [stdout] 550 | ...                   let score = new_board.minimax(1, max_depth, false, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:570:89
[INFO] [stdout]     |
[INFO] [stdout] 570 | ...                   let score = new_board.minimax(1, max_depth, true, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:570:104
[INFO] [stdout]     |
[INFO] [stdout] 570 | ...                   let score = new_board.minimax(1, max_depth, true, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:608:47
[INFO] [stdout]     |
[INFO] [stdout] 608 |             let mut best_val: i32 = std::i32::MIN;
[INFO] [stdout]     |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:630:47
[INFO] [stdout]     |
[INFO] [stdout] 630 |             let mut best_val: i32 = std::i32::MAX;
[INFO] [stdout]     |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:659:30
[INFO] [stdout]     |
[INFO] [stdout] 659 |             return std::i32::MIN;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:662:30
[INFO] [stdout]     |
[INFO] [stdout] 662 |             return std::i32::MAX;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:533:33
[INFO] [stdout]     |
[INFO] [stdout] 533 |             default = std::i32::MAX;
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:535:33
[INFO] [stdout]     |
[INFO] [stdout] 535 |             default = std::i32::MIN;
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:550:90
[INFO] [stdout]     |
[INFO] [stdout] 550 | ...                   let score = new_board.minimax(1, max_depth, false, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:550:105
[INFO] [stdout]     |
[INFO] [stdout] 550 | ...                   let score = new_board.minimax(1, max_depth, false, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:570:89
[INFO] [stdout]     |
[INFO] [stdout] 570 | ...                   let score = new_board.minimax(1, max_depth, true, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:570:104
[INFO] [stdout]     |
[INFO] [stdout] 570 | ...                   let score = new_board.minimax(1, max_depth, true, std::i32::MIN, std::i32::MAX);
[INFO] [stdout]     |                                                                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:608:47
[INFO] [stdout]     |
[INFO] [stdout] 608 |             let mut best_val: i32 = std::i32::MIN;
[INFO] [stdout]     |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:630:47
[INFO] [stdout]     |
[INFO] [stdout] 630 |             let mut best_val: i32 = std::i32::MAX;
[INFO] [stdout]     |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:659:30
[INFO] [stdout]     |
[INFO] [stdout] 659 |             return std::i32::MIN;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/checkers.rs:662:30
[INFO] [stdout]     |
[INFO] [stdout] 662 |             return std::i32::MAX;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `piece` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:160:37
[INFO] [stdout]     |
[INFO] [stdout] 160 |                         if let Some(mut piece) = &mut piece_board[j][i] {
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_piece` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_dragged` is never read
[INFO] [stdout]    --> src/main.rs:145:41
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...                       current_dragged = None;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 151 | ...                   current_dragged = None;
[INFO] [stdout]     |                       ---------------------- `current_dragged` 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 `current_dragged` is never read
[INFO] [stdout]    --> src/main.rs:151:37
[INFO] [stdout]     |
[INFO] [stdout] 151 |                                     current_dragged = None;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 157 |                 current_dragged = None;
[INFO] [stdout]     |                 ---------------------- `current_dragged` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 | ...                   piece.is_dragging = false;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 | ...                   piece.is_dragging = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:161:29
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...                   piece.is_dragging = false;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `calculating` is never read
[INFO] [stdout]   --> src/checkers.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Checkers {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub calculating: bool
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Checkers` 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: variable `piece` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:160:37
[INFO] [stdout]     |
[INFO] [stdout] 160 |                         if let Some(mut piece) = &mut piece_board[j][i] {
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_piece` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_dragged` is never read
[INFO] [stdout]    --> src/main.rs:145:41
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...                       current_dragged = None;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 151 | ...                   current_dragged = None;
[INFO] [stdout]     |                       ---------------------- `current_dragged` 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 `current_dragged` is never read
[INFO] [stdout]    --> src/main.rs:151:37
[INFO] [stdout]     |
[INFO] [stdout] 151 |                                     current_dragged = None;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 157 |                 current_dragged = None;
[INFO] [stdout]     |                 ---------------------- `current_dragged` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 | ...                   piece.is_dragging = false;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 | ...                   piece.is_dragging = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:161:29
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...                   piece.is_dragging = false;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `calculating` is never read
[INFO] [stdout]   --> src/checkers.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Checkers {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub calculating: bool
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Checkers` 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.76s
[INFO] running `Command { std: "docker" "inspect" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7", kill_on_drop: false }`
[INFO] [stdout] 928a3c6ca1a6863487cc2f45719449567ff9e339d393def8c050005206d4f9b7
