[INFO] cloning repository https://github.com/alt-n1tro/rockfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alt-n1tro/rockfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falt-n1tro%2Frockfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falt-n1tro%2Frockfish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df1a40bc9f2d223ff78db3fd953c69e2eb2a3f74 [INFO] testing alt-n1tro/rockfish against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falt-n1tro%2Frockfish" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alt-n1tro/rockfish [INFO] finished tweaking git repo https://github.com/alt-n1tro/rockfish [INFO] tweaked toml for git repo https://github.com/alt-n1tro/rockfish written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alt-n1tro/rockfish on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alt-n1tro/rockfish 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.9 [INFO] [stderr] Downloaded wayland-protocols-misc v0.3.9 [INFO] [stderr] Downloaded zbus_xml v5.0.2 [INFO] [stderr] Downloaded quick-xml v0.36.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff [INFO] running `Command { std: "docker" "start" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling accesskit_consumer v0.31.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling epaint_default_fonts v0.33.3 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.33.3 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling calloop v0.14.3 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling ecolor v0.33.3 [INFO] [stderr] Compiling epaint v0.33.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling egui v0.33.3 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling zvariant_derive v5.8.0 [INFO] [stderr] Compiling zvariant v5.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling webbrowser v1.0.6 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling egui_glow v0.33.3 [INFO] [stderr] Compiling zbus_xml v5.0.2 [INFO] [stderr] Compiling zbus_macros v5.12.0 [INFO] [stderr] Compiling zbus-lockstep v0.5.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling zbus v5.12.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.9 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.14.2 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.17.2 [INFO] [stderr] Compiling accesskit_winit v0.29.2 [INFO] [stderr] Compiling egui-winit v0.33.3 [INFO] [stderr] Compiling eframe v0.33.3 [INFO] [stderr] Compiling rockfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `eframe::egui::Ui::allocate_ui_at_rect`: Use `allocate_new_ui` instead [INFO] [stdout] --> src/main.rs:598:16 [INFO] [stdout] | [INFO] [stdout] 598 | ui.allocate_ui_at_rect(panel_rect, |ui| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:519:47 [INFO] [stdout] | [INFO] [stdout] 519 | ... egui::Stroke::new(3.0, Color32::from_rgb(0, 200, 255)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `3.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/pieces_logic.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 983 | side: Color, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:461:47 [INFO] [stdout] | [INFO] [stdout] 461 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opponent` is never used [INFO] [stdout] --> src/main.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn opponent(side: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_empty_board` is never used [INFO] [stdout] --> src/chess_board.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn create_empty_board() -> [[pieces_logic::Piece; 8]; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_square_empty` is never used [INFO] [stdout] --> src/pieces_logic.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_square_empty(board: &mut [[Piece; 8]; 8], square: &(u8, u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_2d_location_of_board_square` is never used [INFO] [stdout] --> src/pieces_logic.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_2d_location_of_board_square(square: &u8) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_castling_moves` is never used [INFO] [stdout] --> src/pieces_logic.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn get_castling_moves(board: &[[Piece;8];8], color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_checkmate` is never used [INFO] [stdout] --> src/pieces_logic.rs:762:8 [INFO] [stdout] | [INFO] [stdout] 762 | pub fn is_checkmate(board: &[[Piece; 8]; 8], side: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_stalemate` is never used [INFO] [stdout] --> src/pieces_logic.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn is_stalemate(board: &[[Piece; 8]; 8], side: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `universal_chess_interface_to_move` is never used [INFO] [stdout] --> src/pieces_logic.rs:1410:8 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn universal_chess_interface_to_move(board: &[[Piece;8];8], uci: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rockfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `eframe::egui::Ui::allocate_ui_at_rect`: Use `allocate_new_ui` instead [INFO] [stdout] --> src/main.rs:598:16 [INFO] [stdout] | [INFO] [stdout] 598 | ui.allocate_ui_at_rect(panel_rect, |ui| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:519:47 [INFO] [stdout] | [INFO] [stdout] 519 | ... egui::Stroke::new(3.0, Color32::from_rgb(0, 200, 255)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `3.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/pieces_logic.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 983 | side: Color, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:461:47 [INFO] [stdout] | [INFO] [stdout] 461 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opponent` is never used [INFO] [stdout] --> src/main.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn opponent(side: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `universal_chess_interface_to_move` is never used [INFO] [stdout] --> src/pieces_logic.rs:1410:8 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn universal_chess_interface_to_move(board: &[[Piece;8];8], uci: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `eframe::egui::Ui::allocate_ui_at_rect`: Use `allocate_new_ui` instead [INFO] [stderr] --> src/main.rs:598:16 [INFO] [stderr] | [INFO] [stderr] 598 | ui.allocate_ui_at_rect(panel_rect, |ui| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/main.rs:519:47 [INFO] [stderr] | [INFO] [stderr] 519 | ... egui::Stroke::new(3.0, Color32::from_rgb(0, 200, 255)), [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `3.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `side` [INFO] [stderr] --> src/pieces_logic.rs:983:5 [INFO] [stderr] | [INFO] [stderr] 983 | side: Color, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/main.rs:461:47 [INFO] [stderr] | [INFO] [stderr] 461 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] [INFO] [stderr] warning: function `opponent` is never used [INFO] [stderr] --> src/main.rs:111:4 [INFO] [stderr] | [INFO] [stderr] 111 | fn opponent(side: Color) -> Color { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `universal_chess_interface_to_move` is never used [INFO] [stderr] --> src/pieces_logic.rs:1410:8 [INFO] [stderr] | [INFO] [stderr] 1410 | pub fn universal_chess_interface_to_move(board: &[[Piece;8];8], uci: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rockfish` (bin "rockfish" test) generated 6 warnings (run `cargo fix --bin "rockfish" -p rockfish --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rockfish-69c29aa4509fda44) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test tests::get_2d_location_of_board_square ... ok [INFO] [stdout] test tests::get_castle_move ... ok [INFO] [stdout] test tests::get_all_legal_moves_for_this_turn ... ok [INFO] [stdout] test tests::get_legal_moves_for_bishop ... ok [INFO] [stdout] test tests::get_legal_moves_for_king ... ok [INFO] [stdout] test tests::get_legal_moves_for_knight ... ok [INFO] [stdout] test tests::get_legal_moves_for_pawn ... ok [INFO] [stdout] test tests::get_square_of_king ... ok [INFO] [stdout] test tests::get_legal_moves_for_rook ... ok [INFO] [stdout] test tests::is_checkmate ... ok [INFO] [stdout] test tests::insufficient_material_stalemate ... ok [INFO] [stdout] test tests::get_legal_moves_for_queen ... ok [INFO] [stdout] test tests::is_king_in_check_left_right ... ok [INFO] [stdout] test tests::is_king_in_check_straights_up_down ... ok [INFO] [stdout] test tests::is_piece_pinned_pawn ... ok [INFO] [stdout] test tests::is_king_in_check_knights ... ok [INFO] [stdout] test tests::make_move ... ok [INFO] [stdout] test tests::pawn_promotion ... ok [INFO] [stdout] test tests::is_king_in_check_pawns ... ok [INFO] [stdout] test tests::is_stalemate ... ok [INFO] [stdout] test tests::is_king_in_check_diagonals ... ok [INFO] [stdout] test tests::create_empty_piece ... ok [INFO] [stdout] test tests::en_passant ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::en_passant stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::en_passant' (3093) panicked at src/main.rs:1505:9: [INFO] [stdout] assertion failed: false [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5aab644df7e8 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5aab644df7e8 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5aab644df7e8 - std[10d71ac2c42b111e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5aab644df7e8 - <::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5aab644f37da - ::fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5aab644f37da - core[8fb95b77d25ab6c8]::fmt::write [INFO] [stdout] 6: 0x5aab644e4002 - std[10d71ac2c42b111e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x5aab644e4002 - as std[10d71ac2c42b111e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x5aab644be9a6 - ::print [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5aab644be9a6 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5aab644d7d39 - std[10d71ac2c42b111e]::panicking::default_hook [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5aab6447138c - core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 12: 0x5aab6447138c - test[213991da798b1c03]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x5aab644d7ef2 - core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 14: 0x5aab644d7ef2 - std[10d71ac2c42b111e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5aab644bea94 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x5aab644b3c69 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5aab644bf77d - __rustc[3be9ba60078d4c86]::rust_begin_unwind [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5aab644f3ecc - core[8fb95b77d25ab6c8]::panicking::panic_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5aab644f3e92 - core[8fb95b77d25ab6c8]::panicking::panic [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5aab64454d5a - rockfish[5f0c7cbacf43349b]::tests::en_passant [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:1505:9 [INFO] [stdout] 21: 0x5aab64454907 - rockfish[5f0c7cbacf43349b]::tests::en_passant::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:1504:20 [INFO] [stdout] 22: 0x5aab644542f6 - >::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5aab6446446b - core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5aab6446446b - test[213991da798b1c03]::__rust_begin_short_backtrace::, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:724:18 [INFO] [stdout] 25: 0x5aab64471ce5 - test[213991da798b1c03]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:74 [INFO] [stdout] 26: 0x5aab64471ce5 - as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 27: 0x5aab64471ce5 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x5aab64471ce5 - std[10d71ac2c42b111e]::panicking::catch_unwind::, core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x5aab64471ce5 - std[10d71ac2c42b111e]::panic::catch_unwind::, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5aab64471ce5 - test[213991da798b1c03]::run_test_in_process [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:27 [INFO] [stdout] 31: 0x5aab64471ce5 - test[213991da798b1c03]::run_test::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:668:43 [INFO] [stdout] 32: 0x5aab6446b5f4 - test[213991da798b1c03]::run_test::{closure#1} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:698:41 [INFO] [stdout] 33: 0x5aab6446b5f4 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 34: 0x5aab64474d62 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 35: 0x5aab64474d62 - ::{closure#1}::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 36: 0x5aab64474d62 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 37: 0x5aab64474d62 - std[10d71ac2c42b111e]::panicking::catch_unwind::<(), core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 38: 0x5aab64474d62 - std[10d71ac2c42b111e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5aab64474d62 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 40: 0x5aab64474d62 - ::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5aab644df14f - + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2275:9 [INFO] [stdout] 42: 0x5aab644df14f - ::new::thread_start [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 43: 0x7b9ac8d1faa4 - [INFO] [stdout] 44: 0x7b9ac8daca64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::en_passant [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin rockfish` [INFO] running `Command { std: "docker" "inspect" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff", kill_on_drop: false }` [INFO] [stdout] c0e3c178c9e1aedc6c28eb606dc453ca91422cb0c2fd3b29c3481a970978deff