[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] testing landchad/chess against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82803674ab621ec0b9e2f8b7f1d29d9f9aded25450de12c468cfc7269bbdea17 [INFO] running `Command { std: "docker" "start" "-a" "82803674ab621ec0b9e2f8b7f1d29d9f9aded25450de12c468cfc7269bbdea17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82803674ab621ec0b9e2f8b7f1d29d9f9aded25450de12c468cfc7269bbdea17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82803674ab621ec0b9e2f8b7f1d29d9f9aded25450de12c468cfc7269bbdea17", kill_on_drop: false }` [INFO] [stdout] 82803674ab621ec0b9e2f8b7f1d29d9f9aded25450de12c468cfc7269bbdea17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ef8d4629f6da1681d6cab4879cd0de7464755b11928dc7a1625e4708a7e5f3 [INFO] running `Command { std: "docker" "start" "-a" "70ef8d4629f6da1681d6cab4879cd0de7464755b11928dc7a1625e4708a7e5f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: `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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.94s [INFO] running `Command { std: "docker" "inspect" "70ef8d4629f6da1681d6cab4879cd0de7464755b11928dc7a1625e4708a7e5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ef8d4629f6da1681d6cab4879cd0de7464755b11928dc7a1625e4708a7e5f3", kill_on_drop: false }` [INFO] [stdout] 70ef8d4629f6da1681d6cab4879cd0de7464755b11928dc7a1625e4708a7e5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8499da7cf56098d572f44b3ea3589b3d9d09276607820123b7ac01c1c48e9f93 [INFO] running `Command { std: "docker" "start" "-a" "8499da7cf56098d572f44b3ea3589b3d9d09276607820123b7ac01c1c48e9f93", 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: `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] [stderr] Compiling zchess v0.1.0 (/opt/rustwide/workdir) [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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: `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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.16s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/zchess-654f9581e4ee52ac) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/zch-5043a02872d2ae7f) [INFO] running `Command { std: "docker" "inspect" "8499da7cf56098d572f44b3ea3589b3d9d09276607820123b7ac01c1c48e9f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8499da7cf56098d572f44b3ea3589b3d9d09276607820123b7ac01c1c48e9f93", kill_on_drop: false }` [INFO] [stdout] 8499da7cf56098d572f44b3ea3589b3d9d09276607820123b7ac01c1c48e9f93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51a12b3be1593a5000fe5b1dde7ca99946cb053f5239f17f580dc695ce29d3d6 [INFO] running `Command { std: "docker" "start" "-a" "51a12b3be1593a5000fe5b1dde7ca99946cb053f5239f17f580dc695ce29d3d6", 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] [stderr] warning: unused import: `board::Edge` [INFO] [stderr] --> src/chess/moves/bishop.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::chess::{board::Edge, Board, Move, Piece, Side, Square}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `board::Edge` [INFO] [stderr] --> src/chess/moves/king.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::chess::{board::Edge, Board, Move, MoveConstraint, Piece, PieceKind, Side}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::debug` [INFO] [stderr] --> src/chess/moves/pawn.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/ui/mod.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cursor_pos` [INFO] [stderr] --> src/ui/mod.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stdout` [INFO] [stderr] --> src/ui/mod.rs:57:58 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main_tx` [INFO] [stderr] --> src/ui/mod.rs:449:5 [INFO] [stderr] | [INFO] [stderr] 449 | main_tx: Sender, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_tx` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `blitz` [INFO] [stderr] --> src/user.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | fn blitz(&self) -> &Perf { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bullet` [INFO] [stderr] --> src/user.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | fn bullet(&self) -> &Perf { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rapid` [INFO] [stderr] --> src/user.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | fn rapid(&self) -> &Perf { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `correspondence` [INFO] [stderr] --> src/user.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | fn correspondence(&self) -> &Perf { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `classical` [INFO] [stderr] --> src/user.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | fn classical(&self) -> &Perf { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `games` [INFO] [stderr] --> src/user.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | fn games(&self) -> &u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rating` [INFO] [stderr] --> src/user.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | fn rating(&self) -> &u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rd` [INFO] [stderr] --> src/user.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | fn rd(&self) -> &i32 { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `prog` [INFO] [stderr] --> src/user.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | fn prog(&self) -> &i32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `prov` [INFO] [stderr] --> src/user.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | fn prov(&self) -> &Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `en_passant` [INFO] [stderr] --> src/chess/board.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | en_passant: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/chess/board.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `zchess` (lib) generated 18 warnings [INFO] [stderr] warning: `zchess` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zchess-654f9581e4ee52ac) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::idx_to_sq ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zch-5043a02872d2ae7f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zchess [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51a12b3be1593a5000fe5b1dde7ca99946cb053f5239f17f580dc695ce29d3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a12b3be1593a5000fe5b1dde7ca99946cb053f5239f17f580dc695ce29d3d6", kill_on_drop: false }` [INFO] [stdout] 51a12b3be1593a5000fe5b1dde7ca99946cb053f5239f17f580dc695ce29d3d6