[INFO] cloning repository https://github.com/zayaanra/chess-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zayaanra/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzayaanra%2Fchess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzayaanra%2Fchess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dec7a13a73af979b87115b2d811521f2b40ef75 [INFO] testing zayaanra/chess-engine against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzayaanra%2Fchess-engine" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zayaanra/chess-engine on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zayaanra/chess-engine [INFO] finished tweaking git repo https://github.com/zayaanra/chess-engine [INFO] tweaked toml for git repo https://github.com/zayaanra/chess-engine written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zayaanra/chess-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.9 [INFO] [stderr] Downloaded egui_extras v0.31.0 [INFO] [stderr] Downloaded zbus_xml v4.0.0 [INFO] [stderr] Downloaded endi v1.1.0 [INFO] [stderr] Downloaded glutin_glx_sys v0.6.1 [INFO] [stderr] Downloaded ecolor v0.31.0 [INFO] [stderr] Downloaded zvariant_utils v2.1.0 [INFO] [stderr] Downloaded type-map v0.5.0 [INFO] [stderr] Downloaded atspi-connection v0.6.0 [INFO] [stderr] Downloaded accesskit_atspi_common v0.10.1 [INFO] [stderr] Downloaded zbus_macros v4.4.0 [INFO] [stderr] Downloaded egui-wgpu v0.31.0 [INFO] [stderr] Downloaded glutin v0.32.2 [INFO] [stderr] Downloaded zvariant v4.2.0 [INFO] [stderr] Downloaded atspi-common v0.6.0 [INFO] [stderr] Downloaded eframe v0.31.0 [INFO] [stderr] Downloaded pin-project v1.1.9 [INFO] [stderr] Downloaded zbus v4.4.0 [INFO] [stderr] Downloaded wgpu v24.0.1 [INFO] [stderr] Downloaded async-process v2.3.0 [INFO] [stderr] Downloaded egui-winit v0.31.0 [INFO] [stderr] Downloaded egui_glow v0.31.0 [INFO] [stderr] Downloaded wgpu-core v24.0.2 [INFO] [stderr] Downloaded objc2-encode v4.1.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.9 [INFO] [stderr] Downloaded emath v0.31.0 [INFO] [stderr] Downloaded epaint v0.31.0 [INFO] [stderr] Downloaded wgpu-hal v24.0.2 [INFO] [stderr] Downloaded egui v0.31.0 [INFO] [stderr] Downloaded mime_guess2 v2.0.5 [INFO] [stderr] Downloaded webbrowser v1.0.3 [INFO] [stderr] Downloaded accesskit_unix v0.13.1 [INFO] [stderr] Downloaded zbus-lockstep v0.4.4 [INFO] [stderr] Downloaded zbus-lockstep-macros v0.4.4 [INFO] [stderr] Downloaded atspi-proxies v0.6.0 [INFO] [stderr] Downloaded atspi v0.22.0 [INFO] [stderr] Downloaded async-broadcast v0.7.2 [INFO] [stderr] Downloaded zbus_names v3.0.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.11 [INFO] [stderr] Downloaded enumflags2 v0.7.11 [INFO] [stderr] Downloaded winit v0.30.9 [INFO] [stderr] Downloaded zvariant_derive v4.2.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.7.1 [INFO] [stderr] Downloaded epaint_default_fonts v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f87554272dc3eab1a077f1d45525243bee85ce841ceb52cce5a35f8ec9752813 [INFO] running `Command { std: "docker" "start" "-a" "f87554272dc3eab1a077f1d45525243bee85ce841ceb52cce5a35f8ec9752813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f87554272dc3eab1a077f1d45525243bee85ce841ceb52cce5a35f8ec9752813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87554272dc3eab1a077f1d45525243bee85ce841ceb52cce5a35f8ec9752813", kill_on_drop: false }` [INFO] [stdout] f87554272dc3eab1a077f1d45525243bee85ce841ceb52cce5a35f8ec9752813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fbaf8123b8b70c6a91781f01f540897dcd59e2435f6f9137ef3cb24f48ae357 [INFO] running `Command { std: "docker" "start" "-a" "7fbaf8123b8b70c6a91781f01f540897dcd59e2435f6f9137ef3cb24f48ae357", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-protocols v0.32.6 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling wayland-cursor v0.31.8 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling emath v0.31.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling ecolor v0.31.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling epaint_default_fonts v0.31.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling epaint v0.31.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.6 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling egui v0.31.0 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling webbrowser v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling egui_extras v0.31.0 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling egui_glow v0.31.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.31.0 [INFO] [stderr] Compiling eframe v0.31.0 [INFO] [stderr] Compiling chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chess::board::Board` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/ui/board_ui.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn run() -> eframe::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/chess/board.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Color(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `NUM_COLORS`, `WHITE`, and `BLACK` are never used [INFO] [stdout] --> src/chess/board.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | impl Color { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 5 | const NUM_COLORS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | const WHITE: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | const BLACK: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitboard` is never constructed [INFO] [stdout] --> src/chess/board.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Bitboard(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitboard` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/chess/board.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, and `print` are never used [INFO] [stdout] --> src/chess/board.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&mut self, bb: Bitboard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pieces` is never constructed [INFO] [stdout] --> src/chess/piece.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Pieces; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/chess/piece.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pieces { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const NUM_PIECES: usize = 6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub const KING: usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub const QUEEN: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub const ROOK: usize = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub const BISHOP: usize = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub const KNIGHT: usize = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub const PAWN: usize = 5; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub const EMPTY: usize = 6; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 09s [INFO] running `Command { std: "docker" "inspect" "7fbaf8123b8b70c6a91781f01f540897dcd59e2435f6f9137ef3cb24f48ae357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbaf8123b8b70c6a91781f01f540897dcd59e2435f6f9137ef3cb24f48ae357", kill_on_drop: false }` [INFO] [stdout] 7fbaf8123b8b70c6a91781f01f540897dcd59e2435f6f9137ef3cb24f48ae357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e49bdeda872cdef0e9acb9994adc97cec26628f82166b6ac31977333633a4cc [INFO] running `Command { std: "docker" "start" "-a" "0e49bdeda872cdef0e9acb9994adc97cec26628f82166b6ac31977333633a4cc", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `chess::board::Board` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/ui/board_ui.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn run() -> eframe::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/chess/board.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Color(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `NUM_COLORS`, `WHITE`, and `BLACK` are never used [INFO] [stdout] --> src/chess/board.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | impl Color { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 5 | const NUM_COLORS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | const WHITE: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | const BLACK: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitboard` is never constructed [INFO] [stdout] --> src/chess/board.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Bitboard(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitboard` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/chess/board.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, and `print` are never used [INFO] [stdout] --> src/chess/board.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&mut self, bb: Bitboard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pieces` is never constructed [INFO] [stdout] --> src/chess/piece.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Pieces; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/chess/piece.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pieces { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const NUM_PIECES: usize = 6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub const KING: usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub const QUEEN: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub const ROOK: usize = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub const BISHOP: usize = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub const KNIGHT: usize = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub const PAWN: usize = 5; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub const EMPTY: usize = 6; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chess::board::Board` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/ui/board_ui.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn run() -> eframe::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/chess/board.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Color(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `NUM_COLORS`, `WHITE`, and `BLACK` are never used [INFO] [stdout] --> src/chess/board.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | impl Color { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 5 | const NUM_COLORS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | const WHITE: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | const BLACK: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitboard` is never constructed [INFO] [stdout] --> src/chess/board.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Bitboard(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitboard` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/chess/board.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, and `print` are never used [INFO] [stdout] --> src/chess/board.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&mut self, bb: Bitboard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pieces` is never constructed [INFO] [stdout] --> src/chess/piece.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Pieces; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/chess/piece.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pieces { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const NUM_PIECES: usize = 6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub const KING: usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub const QUEEN: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub const ROOK: usize = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub const BISHOP: usize = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub const KNIGHT: usize = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub const PAWN: usize = 5; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub const EMPTY: usize = 6; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "0e49bdeda872cdef0e9acb9994adc97cec26628f82166b6ac31977333633a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e49bdeda872cdef0e9acb9994adc97cec26628f82166b6ac31977333633a4cc", kill_on_drop: false }` [INFO] [stdout] 0e49bdeda872cdef0e9acb9994adc97cec26628f82166b6ac31977333633a4cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63c0e82fa3a4b36e131f127006b522630df8be064f5a9294b2e79f90337cb168 [INFO] running `Command { std: "docker" "start" "-a" "63c0e82fa3a4b36e131f127006b522630df8be064f5a9294b2e79f90337cb168", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chess::board::Board` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use chess::board::Board; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/ui/board_ui.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn run() -> eframe::Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Color` is never constructed [INFO] [stderr] --> src/chess/board.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Color(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constants `NUM_COLORS`, `WHITE`, and `BLACK` are never used [INFO] [stderr] --> src/chess/board.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 4 | impl Color { [INFO] [stderr] | ---------- associated constants in this implementation [INFO] [stderr] 5 | const NUM_COLORS: usize = 2; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 6 | [INFO] [stderr] 7 | const WHITE: usize = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | const BLACK: usize = 1; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Bitboard` is never constructed [INFO] [stderr] --> src/chess/board.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Bitboard(pub i64); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Bitboard` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Board` is never constructed [INFO] [stderr] --> src/chess/board.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Board { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `init`, and `print` are never used [INFO] [stderr] --> src/chess/board.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Board { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 24 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn init(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn print(&mut self, bb: Bitboard) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pieces` is never constructed [INFO] [stderr] --> src/chess/piece.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Pieces; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated constants are never used [INFO] [stderr] --> src/chess/piece.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 3 | impl Pieces { [INFO] [stderr] | ----------- associated constants in this implementation [INFO] [stderr] 4 | pub const NUM_PIECES: usize = 6; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 5 | [INFO] [stderr] 6 | pub const KING: usize = 0; [INFO] [stderr] | ^^^^ [INFO] [stderr] 7 | pub const QUEEN: usize = 1; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | pub const ROOK: usize = 2; [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | pub const BISHOP: usize = 3; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 10 | pub const KNIGHT: usize = 4; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 11 | pub const PAWN: usize = 5; [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | pub const EMPTY: usize = 6; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chess-engine` (bin "chess-engine" test) generated 9 warnings (run `cargo fix --bin "chess-engine" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `chess-engine` (bin "chess-engine") generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chess_engine-c95a9120e44cb12d) [INFO] [stdout] [INFO] [stderr] Running tests/test_board.rs (/opt/rustwide/target/debug/deps/test_board-31d559c7f18e7e60) [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] [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" "63c0e82fa3a4b36e131f127006b522630df8be064f5a9294b2e79f90337cb168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c0e82fa3a4b36e131f127006b522630df8be064f5a9294b2e79f90337cb168", kill_on_drop: false }` [INFO] [stdout] 63c0e82fa3a4b36e131f127006b522630df8be064f5a9294b2e79f90337cb168