[INFO] cloning repository https://github.com/DRGC/chessengine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DRGC/chessengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDRGC%2Fchessengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDRGC%2Fchessengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cadd8fdef730e174dc6f8d0ade251733d99039b8 [INFO] checking DRGC/chessengine against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDRGC%2Fchessengine" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DRGC/chessengine on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DRGC/chessengine [INFO] finished tweaking git repo https://github.com/DRGC/chessengine [INFO] tweaked toml for git repo https://github.com/DRGC/chessengine written to /workspace/builds/worker-60/source/Cargo.toml [INFO] crate git repo https://github.com/DRGC/chessengine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89d9f44f90cbc31d4199d3c5b8b27bd8b22d130931ce193291fa86519bc423bc [INFO] running `Command { std: "docker" "start" "-a" "89d9f44f90cbc31d4199d3c5b8b27bd8b22d130931ce193291fa86519bc423bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89d9f44f90cbc31d4199d3c5b8b27bd8b22d130931ce193291fa86519bc423bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d9f44f90cbc31d4199d3c5b8b27bd8b22d130931ce193291fa86519bc423bc", kill_on_drop: false }` [INFO] [stdout] 89d9f44f90cbc31d4199d3c5b8b27bd8b22d130931ce193291fa86519bc423bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d0110978291e154fea45d388c23a04164e29c1529cd058c0370b8ed00fd30b6 [INFO] running `Command { std: "docker" "start" "-a" "2d0110978291e154fea45d388c23a04164e29c1529cd058c0370b8ed00fd30b6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v1.6.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking chessengine v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/game/player/clock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | time: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/game/player/clock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | state: State [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Started` [INFO] [stdout] --> src/game/player/clock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Started [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/game/player/clock.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/game/player/clock.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/game/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | colour: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/game/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | score: u8 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/game/board/square/piece.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/game/board/square/piece.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LShape` [INFO] [stdout] --> src/game/board/square/piece.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | LShape [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_pawn(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_bishop(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_knight` [INFO] [stdout] --> src/game/board/square/piece.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_knight(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rook` [INFO] [stdout] --> src/game/board/square/piece.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_rook(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_rank` [INFO] [stdout] --> src/game/board/square.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_valid_rank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_file` [INFO] [stdout] --> src/game/board/square.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_valid_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece` [INFO] [stdout] --> src/game/board/square.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn has_piece(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/game/player/clock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | time: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/game/player/clock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | state: State [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Started` [INFO] [stdout] --> src/game/player/clock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Started [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/game/player/clock.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/game/player/clock.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/game/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | colour: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/game/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | score: u8 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/game/board/square/piece.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/game/board/square/piece.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LShape` [INFO] [stdout] --> src/game/board/square/piece.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | LShape [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_pawn(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_bishop(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_knight` [INFO] [stdout] --> src/game/board/square/piece.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_knight(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rook` [INFO] [stdout] --> src/game/board/square/piece.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_rook(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_rank` [INFO] [stdout] --> src/game/board/square.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_valid_rank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_file` [INFO] [stdout] --> src/game/board/square.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_valid_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece` [INFO] [stdout] --> src/game/board/square.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn has_piece(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.48s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Checking chessengine v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/game/player/clock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | time: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/game/player/clock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | state: State [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Started` [INFO] [stdout] --> src/game/player/clock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Started [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/game/player/clock.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/game/player/clock.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/game/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | colour: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/game/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | score: u8 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/game/board/square/piece.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/game/board/square/piece.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LShape` [INFO] [stdout] --> src/game/board/square/piece.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | LShape [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_pawn(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_bishop(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_knight` [INFO] [stdout] --> src/game/board/square/piece.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_knight(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rook` [INFO] [stdout] --> src/game/board/square/piece.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_rook(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_rank` [INFO] [stdout] --> src/game/board/square.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_valid_rank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_file` [INFO] [stdout] --> src/game/board/square.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_valid_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece` [INFO] [stdout] --> src/game/board/square.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn has_piece(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/game/player/clock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | time: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/game/player/clock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | state: State [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Started` [INFO] [stdout] --> src/game/player/clock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Started [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/game/player/clock.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/game/player/clock.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/game/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | colour: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/game/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | score: u8 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/game/board/square/piece.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/game/board/square/piece.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LShape` [INFO] [stdout] --> src/game/board/square/piece.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | LShape [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pawn` [INFO] [stdout] --> src/game/board/square/piece.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_pawn(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bishop` [INFO] [stdout] --> src/game/board/square/piece.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_bishop(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_knight` [INFO] [stdout] --> src/game/board/square/piece.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_knight(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rook` [INFO] [stdout] --> src/game/board/square/piece.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_rook(colour: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_rank` [INFO] [stdout] --> src/game/board/square.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_valid_rank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_file` [INFO] [stdout] --> src/game/board/square.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_valid_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece` [INFO] [stdout] --> src/game/board/square.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn has_piece(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.58s [INFO] running `Command { std: "docker" "inspect" "2d0110978291e154fea45d388c23a04164e29c1529cd058c0370b8ed00fd30b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0110978291e154fea45d388c23a04164e29c1529cd058c0370b8ed00fd30b6", kill_on_drop: false }` [INFO] [stdout] 2d0110978291e154fea45d388c23a04164e29c1529cd058c0370b8ed00fd30b6