[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 master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 152 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding crossterm v0.21.0 (latest: v0.28.1) [INFO] [stderr] Adding crossterm_winapi v0.8.0 (latest: v0.9.1) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding mio v0.7.14 (latest: v1.0.1) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding ntapi v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.3) [INFO] [stderr] Adding reqwest v0.11.27 (latest: v0.12.5) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.3) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (latest: v0.6.0) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (latest: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded crossterm v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ff09dd22c865ebf206ab8e6aceaa9946d1ec2a7e44657f875f84b57f19dc98f [INFO] running `Command { std: "docker" "start" "-a" "5ff09dd22c865ebf206ab8e6aceaa9946d1ec2a7e44657f875f84b57f19dc98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ff09dd22c865ebf206ab8e6aceaa9946d1ec2a7e44657f875f84b57f19dc98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff09dd22c865ebf206ab8e6aceaa9946d1ec2a7e44657f875f84b57f19dc98f", kill_on_drop: false }` [INFO] [stdout] 5ff09dd22c865ebf206ab8e6aceaa9946d1ec2a7e44657f875f84b57f19dc98f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 786b8f796d52cbbb059978b3f121b80bc0e42c6f842c359fa054cd2f83302822 [INFO] running `Command { std: "docker" "start" "-a" "786b8f796d52cbbb059978b3f121b80bc0e42c6f842c359fa054cd2f83302822", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [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: `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] = note: `#[warn(unused_variables)]` on by default [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] [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: field `en_passant` is never read [INFO] [stdout] --> src/chess/board.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 53 | pieces: Vec>, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `blitz`, `bullet`, `rapid`, `correspondence`, and `classical` are never used [INFO] [stdout] --> src/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Perfs { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 26 | fn blitz(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn bullet(&self) -> &Perf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn rapid(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn correspondence(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn classical(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `games`, `rating`, `rd`, `prog`, and `prov` are never used [INFO] [stdout] --> src/user.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Perf { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 57 | fn games(&self) -> &u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn rating(&self) -> &u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn rd(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prog(&self) -> &i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn prov(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chess/mod.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | constraints: self.constraints.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[MoveConstraint]` does not implement `Clone`, so calling `clone` on `&[MoveConstraint]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/chess/board.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | drop(p); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 384 - drop(p); [INFO] [stdout] 384 + let _ = p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/ui/mod.rs:621:41 [INFO] [stdout] | [INFO] [stdout] 621 | ... drop(board); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Board` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 621 - drop(board); [INFO] [stdout] 621 + let _ = board; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.92s [INFO] running `Command { std: "docker" "inspect" "786b8f796d52cbbb059978b3f121b80bc0e42c6f842c359fa054cd2f83302822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786b8f796d52cbbb059978b3f121b80bc0e42c6f842c359fa054cd2f83302822", kill_on_drop: false }` [INFO] [stdout] 786b8f796d52cbbb059978b3f121b80bc0e42c6f842c359fa054cd2f83302822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d18d2a9259563cc8b09835844561dbd0f3cc16c232300fe890b8ec5e7d408bcd [INFO] running `Command { std: "docker" "start" "-a" "d18d2a9259563cc8b09835844561dbd0f3cc16c232300fe890b8ec5e7d408bcd", 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: `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] = note: `#[warn(unused_variables)]` on by default [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] [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: field `en_passant` is never read [INFO] [stdout] --> src/chess/board.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 53 | pieces: Vec>, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `blitz`, `bullet`, `rapid`, `correspondence`, and `classical` are never used [INFO] [stdout] --> src/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Perfs { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 26 | fn blitz(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn bullet(&self) -> &Perf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn rapid(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn correspondence(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn classical(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `games`, `rating`, `rd`, `prog`, and `prov` are never used [INFO] [stdout] --> src/user.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Perf { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 57 | fn games(&self) -> &u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn rating(&self) -> &u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn rd(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prog(&self) -> &i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn prov(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chess/mod.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | constraints: self.constraints.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[MoveConstraint]` does not implement `Clone`, so calling `clone` on `&[MoveConstraint]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/chess/board.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | drop(p); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 384 - drop(p); [INFO] [stdout] 384 + let _ = p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zchess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/ui/mod.rs:621:41 [INFO] [stdout] | [INFO] [stdout] 621 | ... drop(board); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Board` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 621 - drop(board); [INFO] [stdout] 621 + let _ = board; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [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: 2 warnings emitted [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] = note: `#[warn(unused_variables)]` on by default [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] [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: field `en_passant` is never read [INFO] [stdout] --> src/chess/board.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 53 | pieces: Vec>, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `blitz`, `bullet`, `rapid`, `correspondence`, and `classical` are never used [INFO] [stdout] --> src/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Perfs { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 26 | fn blitz(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn bullet(&self) -> &Perf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn rapid(&self) -> &Perf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn correspondence(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn classical(&self) -> &Perf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `games`, `rating`, `rd`, `prog`, and `prov` are never used [INFO] [stdout] --> src/user.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Perf { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 57 | fn games(&self) -> &u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn rating(&self) -> &u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn rd(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prog(&self) -> &i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn prov(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chess/mod.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | constraints: self.constraints.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[MoveConstraint]` does not implement `Clone`, so calling `clone` on `&[MoveConstraint]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/chess/board.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | drop(p); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 384 - drop(p); [INFO] [stdout] 384 + let _ = p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/ui/mod.rs:621:41 [INFO] [stdout] | [INFO] [stdout] 621 | ... drop(board); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Board` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 621 - drop(board); [INFO] [stdout] 621 + let _ = board; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "d18d2a9259563cc8b09835844561dbd0f3cc16c232300fe890b8ec5e7d408bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d18d2a9259563cc8b09835844561dbd0f3cc16c232300fe890b8ec5e7d408bcd", kill_on_drop: false }` [INFO] [stdout] d18d2a9259563cc8b09835844561dbd0f3cc16c232300fe890b8ec5e7d408bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ae541c8cb08dcdd34aa7e51780f88c7886533dd1a4fd3a5bfbd3866d54c15b5 [INFO] running `Command { std: "docker" "start" "-a" "7ae541c8cb08dcdd34aa7e51780f88c7886533dd1a4fd3a5bfbd3866d54c15b5", kill_on_drop: false }` [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: `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] = note: `#[warn(unused_variables)]` on by default [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] 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: field `en_passant` is never read [INFO] [stderr] --> src/chess/board.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct Board { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 53 | pieces: Vec>, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `blitz`, `bullet`, `rapid`, `correspondence`, and `classical` are never used [INFO] [stderr] --> src/user.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 25 | impl Perfs { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 26 | fn blitz(&self) -> &Perf { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | fn bullet(&self) -> &Perf { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn rapid(&self) -> &Perf { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | fn correspondence(&self) -> &Perf { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | fn classical(&self) -> &Perf { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `games`, `rating`, `rd`, `prog`, and `prov` are never used [INFO] [stderr] --> src/user.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 56 | impl Perf { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] 57 | fn games(&self) -> &u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn rating(&self) -> &u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | fn rd(&self) -> &i32 { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 69 | fn prog(&self) -> &i32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn prov(&self) -> &Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/chess/mod.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | constraints: self.constraints.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[MoveConstraint]` does not implement `Clone`, so calling `clone` on `&[MoveConstraint]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/chess/board.rs:384:13 [INFO] [stderr] | [INFO] [stderr] 384 | drop(p); [INFO] [stderr] | ^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&Piece` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 384 - drop(p); [INFO] [stderr] 384 + let _ = p; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/ui/mod.rs:621:41 [INFO] [stderr] | [INFO] [stderr] 621 | ... drop(board); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Board` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 621 - drop(board); [INFO] [stderr] 621 + let _ = board; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `zchess` (lib) generated 13 warnings (run `cargo fix --lib -p zchess` to apply 4 suggestions) [INFO] [stderr] warning: `zchess` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/main.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::panic::PanicInfo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/main.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zchess` (bin "zch" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zchess-411d1aed04454e15) [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-ad735f86aa5d362e) [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" "7ae541c8cb08dcdd34aa7e51780f88c7886533dd1a4fd3a5bfbd3866d54c15b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae541c8cb08dcdd34aa7e51780f88c7886533dd1a4fd3a5bfbd3866d54c15b5", kill_on_drop: false }` [INFO] [stdout] 7ae541c8cb08dcdd34aa7e51780f88c7886533dd1a4fd3a5bfbd3866d54c15b5 [INFO] testing landchad/chess against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing landchad/chess against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing landchad/chess against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing landchad/chess against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing landchad/chess against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.