[INFO] cloning repository https://github.com/landchad/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/landchad/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7cacb4e36d4646b6ef086c1e634a8c314223744 [INFO] building landchad/chess against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/landchad/chess [INFO] finished tweaking git repo https://github.com/landchad/chess [INFO] tweaked toml for git repo https://github.com/landchad/chess written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9510785aa69dbe1a82c5ef8918151d8f865e7b2343baef6aa78638b3cef157df [INFO] running `Command { std: "docker" "start" "-a" "9510785aa69dbe1a82c5ef8918151d8f865e7b2343baef6aa78638b3cef157df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9510785aa69dbe1a82c5ef8918151d8f865e7b2343baef6aa78638b3cef157df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9510785aa69dbe1a82c5ef8918151d8f865e7b2343baef6aa78638b3cef157df", kill_on_drop: false }` [INFO] [stdout] 9510785aa69dbe1a82c5ef8918151d8f865e7b2343baef6aa78638b3cef157df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ae85e65e18befb987beb77987ee5ddf84634e42b435425ada7d81bc20f8e84a [INFO] running `Command { std: "docker" "start" "-a" "9ae85e65e18befb987beb77987ee5ddf84634e42b435425ada7d81bc20f8e84a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling zchess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/bishop.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, Piece, Side, Square}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/king.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, MoveConstraint, Piece, PieceKind, Side}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::debug` [INFO] [stdout] --> src/chess/moves/pawn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/ui/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_pos` [INFO] [stdout] --> src/ui/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/ui/mod.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_tx` [INFO] [stdout] --> src/ui/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | main_tx: Sender, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `en_passant` [INFO] [stdout] --> src/chess/board.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess/board.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blitz` [INFO] [stdout] --> src/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn blitz(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bullet` [INFO] [stdout] --> src/user.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn bullet(&self) -> &Perf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rapid` [INFO] [stdout] --> src/user.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn rapid(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correspondence` [INFO] [stdout] --> src/user.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn correspondence(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `classical` [INFO] [stdout] --> src/user.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn classical(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `games` [INFO] [stdout] --> src/user.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn games(&self) -> &u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rating` [INFO] [stdout] --> src/user.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn rating(&self) -> &u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rd` [INFO] [stdout] --> src/user.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn rd(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prog` [INFO] [stdout] --> src/user.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn prog(&self) -> &i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prov` [INFO] [stdout] --> src/user.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn prov(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.33s [INFO] running `Command { std: "docker" "inspect" "9ae85e65e18befb987beb77987ee5ddf84634e42b435425ada7d81bc20f8e84a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae85e65e18befb987beb77987ee5ddf84634e42b435425ada7d81bc20f8e84a", kill_on_drop: false }` [INFO] [stdout] 9ae85e65e18befb987beb77987ee5ddf84634e42b435425ada7d81bc20f8e84a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f1c1701502f926be3e43a290baa97208dfdc92b8606582754df0b6c73ee26cd [INFO] running `Command { std: "docker" "start" "-a" "4f1c1701502f926be3e43a290baa97208dfdc92b8606582754df0b6c73ee26cd", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/bishop.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, Piece, Side, Square}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/king.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, MoveConstraint, Piece, PieceKind, Side}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::debug` [INFO] [stdout] --> src/chess/moves/pawn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/ui/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_pos` [INFO] [stdout] --> src/ui/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/ui/mod.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_tx` [INFO] [stdout] --> src/ui/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | main_tx: Sender, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `en_passant` [INFO] [stdout] --> src/chess/board.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess/board.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blitz` [INFO] [stdout] --> src/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn blitz(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bullet` [INFO] [stdout] --> src/user.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn bullet(&self) -> &Perf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rapid` [INFO] [stdout] --> src/user.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn rapid(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correspondence` [INFO] [stdout] --> src/user.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn correspondence(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `classical` [INFO] [stdout] --> src/user.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn classical(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `games` [INFO] [stdout] --> src/user.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn games(&self) -> &u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rating` [INFO] [stdout] --> src/user.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn rating(&self) -> &u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zchess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `rd` [INFO] [stdout] --> src/user.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn rd(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prog` [INFO] [stdout] --> src/user.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn prog(&self) -> &i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prov` [INFO] [stdout] --> src/user.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn prov(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/bishop.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, Piece, Side, Square}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/king.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, MoveConstraint, Piece, PieceKind, Side}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::debug` [INFO] [stdout] --> src/chess/moves/pawn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/ui/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_pos` [INFO] [stdout] --> src/ui/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/ui/mod.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_tx` [INFO] [stdout] --> src/ui/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | main_tx: Sender, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `en_passant` [INFO] [stdout] --> src/chess/board.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess/board.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blitz` [INFO] [stdout] --> src/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn blitz(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bullet` [INFO] [stdout] --> src/user.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn bullet(&self) -> &Perf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rapid` [INFO] [stdout] --> src/user.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn rapid(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correspondence` [INFO] [stdout] --> src/user.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn correspondence(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `classical` [INFO] [stdout] --> src/user.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn classical(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `games` [INFO] [stdout] --> src/user.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn games(&self) -> &u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rating` [INFO] [stdout] --> src/user.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn rating(&self) -> &u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rd` [INFO] [stdout] --> src/user.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn rd(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prog` [INFO] [stdout] --> src/user.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn prog(&self) -> &i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prov` [INFO] [stdout] --> src/user.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn prov(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "4f1c1701502f926be3e43a290baa97208dfdc92b8606582754df0b6c73ee26cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1c1701502f926be3e43a290baa97208dfdc92b8606582754df0b6c73ee26cd", kill_on_drop: false }` [INFO] [stdout] 4f1c1701502f926be3e43a290baa97208dfdc92b8606582754df0b6c73ee26cd