[INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-rebase.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess/hooks/pre-rebase.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess/refs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/sendemail-validate.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess/hooks/sendemail-validate.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/kyrod/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/kyrod/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%2Frust_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c9ae8c97b8cdd6d758f099881da0ff5aa9cc333 [INFO] checking kyrod/rust_chess against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyrod%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] validating manifest of git repo https://github.com/kyrod/rust_chess on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyrod/rust_chess [INFO] finished tweaking git repo https://github.com/kyrod/rust_chess [INFO] tweaked toml for git repo https://github.com/kyrod/rust_chess written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kyrod/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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e65cc13c87ae6c662a6c18185dc5e6e8a6d05ee2a3d6632de3948d67eab0d89e [INFO] running `Command { std: "docker" "start" "-a" "e65cc13c87ae6c662a6c18185dc5e6e8a6d05ee2a3d6632de3948d67eab0d89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e65cc13c87ae6c662a6c18185dc5e6e8a6d05ee2a3d6632de3948d67eab0d89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65cc13c87ae6c662a6c18185dc5e6e8a6d05ee2a3d6632de3948d67eab0d89e", kill_on_drop: false }` [INFO] [stdout] e65cc13c87ae6c662a6c18185dc5e6e8a6d05ee2a3d6632de3948d67eab0d89e [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93681a27339878f79bd22fa3b81a70dd698a12745063c4b356ba4569869a61a8 [INFO] running `Command { std: "docker" "start" "-a" "93681a27339878f79bd22fa3b81a70dd698a12745063c4b356ba4569869a61a8", kill_on_drop: false }` [INFO] [stderr] Checking rust_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/engine/board.rs:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | fn update_castling(&mut self, piece: Piece, location: (usize, usize), target: (usize, usize)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/engine/board.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | fn update_castling(&mut self, piece: Piece, location: (usize, usize), target: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/engine/board.rs:292:75 [INFO] [stdout] | [INFO] [stdout] 292 | fn update_castling(&mut self, piece: Piece, location: (usize, usize), target: (usize, usize)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/engine/board.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | piece: Piece, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/engine/board.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | location: (usize, usize), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/engine/board.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | target: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | for m in l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `en_passant` is never read [INFO] [stdout] --> src/engine/board.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub en_passant: (char, char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_castling`, `get_en_passant`, `from_fen`, `pieces_from_fen`, and `to_FEN` are never used [INFO] [stdout] --> src/engine/board.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | fn get_castling(s: String) -> [char; 4] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn get_en_passant(string: String) -> (char, char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn from_fen(string: String) -> Board { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn pieces_from_fen(pieces: String) -> [[Piece; 8]; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn to_FEN(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/engine/piece.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn from_char(c: char) -> Piece { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_FEN` should have a snake case name [INFO] [stdout] --> src/engine/board.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn to_FEN(self) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_fen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/engine/board.rs:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | fn update_castling(&mut self, piece: Piece, location: (usize, usize), target: (usize, usize)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/engine/board.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | fn update_castling(&mut self, piece: Piece, location: (usize, usize), target: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/engine/board.rs:292:75 [INFO] [stdout] | [INFO] [stdout] 292 | fn update_castling(&mut self, piece: Piece, location: (usize, usize), target: (usize, usize)) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/engine/board.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | piece: Piece, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/engine/board.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | location: (usize, usize), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/engine/board.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | target: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | for m in l { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `en_passant` is never read [INFO] [stdout] --> src/engine/board.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub en_passant: (char, char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_FEN` is never used [INFO] [stdout] --> src/engine/board.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn to_FEN(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_FEN` should have a snake case name [INFO] [stdout] --> src/engine/board.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn to_FEN(self) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_fen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "93681a27339878f79bd22fa3b81a70dd698a12745063c4b356ba4569869a61a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93681a27339878f79bd22fa3b81a70dd698a12745063c4b356ba4569869a61a8", kill_on_drop: false }` [INFO] [stdout] 93681a27339878f79bd22fa3b81a70dd698a12745063c4b356ba4569869a61a8