[INFO] cloning repository https://github.com/soshimozi/rusty-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soshimozi/rusty-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoshimozi%2Frusty-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoshimozi%2Frusty-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bb6ca712303e498125eb42002dff505e4d42765 [INFO] checking soshimozi/rusty-chess against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoshimozi%2Frusty-chess" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soshimozi/rusty-chess [INFO] finished tweaking git repo https://github.com/soshimozi/rusty-chess [INFO] tweaked toml for git repo https://github.com/soshimozi/rusty-chess written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soshimozi/rusty-chess on toolchain ad93f57d532978d6739002a21bc66b45ed22f998 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/soshimozi/rusty-chess 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d35cc83a198dca38f042b6a2f6d937a8185e7279296ee8c98aa52642f13c4a8 [INFO] running `Command { std: "docker" "start" "-a" "1d35cc83a198dca38f042b6a2f6d937a8185e7279296ee8c98aa52642f13c4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d35cc83a198dca38f042b6a2f6d937a8185e7279296ee8c98aa52642f13c4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d35cc83a198dca38f042b6a2f6d937a8185e7279296ee8c98aa52642f13c4a8", kill_on_drop: false }` [INFO] [stdout] 1d35cc83a198dca38f042b6a2f6d937a8185e7279296ee8c98aa52642f13c4a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4950eb3984478a04802babf4ab0f8513b1175c848a956e5b4e292e9661a8a0f5 [INFO] running `Command { std: "docker" "start" "-a" "4950eb3984478a04802babf4ab0f8513b1175c848a956e5b4e292e9661a8a0f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.15.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Checking disqualified v1.0.0 [INFO] [stderr] Checking bevy_ptr v0.15.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bevy_tasks v0.15.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Compiling encase_derive_impl v0.10.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking async-fs v2.1.3 [INFO] [stderr] Compiling encase_derive v0.10.0 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Checking const_panic v0.2.13 [INFO] [stderr] Checking atomicow v1.1.0 [INFO] [stderr] Checking stackfuture v0.3.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling bevy_macro_utils v0.15.3 [INFO] [stderr] Checking ruzstd v0.7.3 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking sysinfo v0.32.1 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking offset-allocator v0.2.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling bevy_reflect_derive v0.15.3 [INFO] [stderr] Compiling bevy_ecs_macros v0.15.3 [INFO] [stderr] Compiling bevy_derive v0.15.3 [INFO] [stderr] Compiling bevy_asset_macros v0.15.3 [INFO] [stderr] Compiling bevy_render_macros v0.15.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking bevy_utils v0.15.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Compiling bevy_encase_derive v0.15.3 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking fontconfig-parser v0.5.8 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking bevy_reflect v0.15.3 [INFO] [stderr] Checking encase v0.10.0 [INFO] [stderr] Checking bevy_mikktspace v0.15.3 [INFO] [stderr] Checking hexasphere v15.1.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking naga_oil v0.16.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking rangemap v1.6.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking gilrs-core v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking bevy_ecs v0.15.4 [INFO] [stderr] Checking bevy_math v0.15.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Checking grid v0.14.0 [INFO] [stderr] Checking taffy v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Compiling bevy_state_macros v0.15.3 [INFO] [stderr] Compiling bevy_gizmos_macros v0.15.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking enum-ordinalize v4.3.0 [INFO] [stderr] Checking sark_grids v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Checking bevy_color v0.15.4 [INFO] [stderr] Checking bevy_app v0.15.3 [INFO] [stderr] Checking bevy_core v0.15.3 [INFO] [stderr] Checking bevy_asset v0.15.3 [INFO] [stderr] Checking bevy_a11y v0.15.3 [INFO] [stderr] Checking bevy_time v0.15.3 [INFO] [stderr] Checking bevy_log v0.15.3 [INFO] [stderr] Checking bevy_hierarchy v0.15.3 [INFO] [stderr] Checking bevy_input v0.15.3 [INFO] [stderr] Checking bevy_diagnostic v0.15.3 [INFO] [stderr] Checking bevy_transform v0.15.3 [INFO] [stderr] Checking bevy_state v0.15.3 [INFO] [stderr] Checking bevy_window v0.15.3 [INFO] [stderr] Checking bevy_gilrs v0.15.3 [INFO] [stderr] Checking bevy_image v0.15.3 [INFO] [stderr] Checking bevy_audio v0.15.3 [INFO] [stderr] Checking bevy_mesh v0.15.3 [INFO] [stderr] Checking bevy_winit v0.15.3 [INFO] [stderr] Checking bevy_render v0.15.3 [INFO] [stderr] Checking bevy_core_pipeline v0.15.3 [INFO] [stderr] Checking bevy_picking v0.15.3 [INFO] [stderr] Checking bevy_scene v0.15.3 [INFO] [stderr] Checking bevy_animation v0.15.3 [INFO] [stderr] Checking bevy_sprite v0.15.3 [INFO] [stderr] Checking bevy_pbr v0.15.3 [INFO] [stderr] Checking bevy_text v0.15.3 [INFO] [stderr] Checking bevy_ui v0.15.3 [INFO] [stderr] Checking bevy_gltf v0.15.3 [INFO] [stderr] Checking bevy_gizmos v0.15.3 [INFO] [stderr] Checking bevy_internal v0.15.3 [INFO] [stderr] Checking bevy v0.15.3 [INFO] [stderr] Checking bevy_ascii_terminal v0.16.6 [INFO] [stderr] Checking rusty-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ALL_SQUARES`, `BoardStatus`, `Board`, `ChessMove`, `File`, `Game`, `Piece`, `Rank`, and `Square` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{Board, ChessMove, Game, Piece, Square, ALL_SQUARES, BoardStatus, File, Rank}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/stockfish.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::BufReader` [INFO] [stdout] --> src/polyglot_book.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::File, io::BufReader}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/polyglot_book.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Square` [INFO] [stdout] --> src/polyglot_book.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{Board, Piece, Color, Square, CastleRights, ALL_SQUARES}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/polyglot_book.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt}; // Needed for read_u64, read_u32, etc. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/polyglot_book.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{BufReader, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stockfish::Stockfish` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use stockfish::Stockfish; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::chess_game::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use game::chess_game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_SQUARES`, `BoardStatus`, `Board`, `ChessMove`, `File`, `Game`, `Piece`, `Rank`, and `Square` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{Board, ChessMove, Game, Piece, Square, ALL_SQUARES, BoardStatus, File, Rank}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/stockfish.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::BufReader` [INFO] [stdout] --> src/polyglot_book.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::File, io::BufReader}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/polyglot_book.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Square` [INFO] [stdout] --> src/polyglot_book.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{Board, Piece, Color, Square, CastleRights, ALL_SQUARES}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/polyglot_book.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt}; // Needed for read_u64, read_u32, etc. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/polyglot_book.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{BufReader, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stockfish::Stockfish` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use stockfish::Stockfish; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::chess_game::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use game::chess_game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/stockfish.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/stockfish.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/stockfish.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/stockfish.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [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:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | resolution: (800., 800.).into(), [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `800._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: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | resolution: (800., 800.).into(), [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `800._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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::bevy_color::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/main.rs:168:43 [INFO] [stdout] | [INFO] [stdout] 168 | let bg = if is_light { Color::rgb(0.9, 0.9, 0.9) } else { Color::rgb(0.2, 0.2, 0.2) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::bevy_color::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/main.rs:168:78 [INFO] [stdout] | [INFO] [stdout] 168 | let bg = if is_light { Color::rgb(0.9, 0.9, 0.9) } else { Color::rgb(0.2, 0.2, 0.2) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/polyglot_book.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt}; // Needed for read_u64, read_u32, etc. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/game/chess_game.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some((prev_board, last_move)) = self.history.pop() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Restart` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Restart; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChessGame` is never constructed [INFO] [stdout] --> src/game/chess_game.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ChessGame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/chess_game.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl ChessGame { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_fen(fen: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn current_turn(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn make_move(&mut self, mv: ChessMove) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn undo(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn all_legal_moves(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn all_legal_moves_for_square(&self, sq: Square) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_castling(&self, mv: &ChessMove) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_promotion(&self, mv: &ChessMove) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn board(&self) -> Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn history(&self) -> &Vec<(Board, ChessMove)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn format_move_to_san(board: &Board, mv: ChessMove) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn file_to_char(file: File) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn rank_to_char(rank: Rank) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn parse_uci_move(uci: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn legal_move_uci(&self, uci: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANDOM_KEYS` is never used [INFO] [stdout] --> src/polyglot_keys.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const RANDOM_KEYS: [u64; 781] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalScore` is never used [INFO] [stdout] --> src/stockfish.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum EvalScore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvalResult` is never constructed [INFO] [stdout] --> src/stockfish.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct EvalResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stockfish` is never constructed [INFO] [stdout] --> src/stockfish.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Stockfish { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stockfish.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 49 | impl Stockfish { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub fn new(path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn init(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn send(&self, command: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn read_until(&self, wait_for: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn send_and_wait(&self, command: &str, wait_for: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_option(&self, name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn position_startpos(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn position_fen(&self, fen: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn search_best_move_by_depth(&self, fen: &str, depth: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn search_best_move_ms(&self, fen: &str, time_ms: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn search_best_move_by_depth_with_noise(&self, fen: &str, depth: u32, noise: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn search_adaptive(&self, fen: &str, elo: u32, time_ms: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn parse_score_line(line: &str) -> EvalScore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn parse_score_and_pv(line: &str) -> (EvalScore, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn quit(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolyglotEntry` is never constructed [INFO] [stdout] --> src/polyglot_book.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PolyglotEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_polyglot_book` is never used [INFO] [stdout] --> src/polyglot_book.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn read_polyglot_book(path: &str) -> std::io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_polyglot_hash` is never used [INFO] [stdout] --> src/polyglot_book.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn compute_polyglot_hash(board: &Board) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polyglot_piece_index` is never used [INFO] [stdout] --> src/polyglot_book.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn polyglot_piece_index(kind: Piece, color: Color) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | resolution: (800., 800.).into(), [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `800._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: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | resolution: (800., 800.).into(), [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `800._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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::bevy_color::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/main.rs:168:43 [INFO] [stdout] | [INFO] [stdout] 168 | let bg = if is_light { Color::rgb(0.9, 0.9, 0.9) } else { Color::rgb(0.2, 0.2, 0.2) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::bevy_color::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/main.rs:168:78 [INFO] [stdout] | [INFO] [stdout] 168 | let bg = if is_light { Color::rgb(0.9, 0.9, 0.9) } else { Color::rgb(0.2, 0.2, 0.2) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/polyglot_book.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt}; // Needed for read_u64, read_u32, etc. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/game/chess_game.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some((prev_board, last_move)) = self.history.pop() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Restart` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Restart; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChessGame` is never constructed [INFO] [stdout] --> src/game/chess_game.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ChessGame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/chess_game.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl ChessGame { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_fen(fen: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn current_turn(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn make_move(&mut self, mv: ChessMove) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn undo(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn all_legal_moves(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn all_legal_moves_for_square(&self, sq: Square) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_castling(&self, mv: &ChessMove) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_promotion(&self, mv: &ChessMove) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn board(&self) -> Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn history(&self) -> &Vec<(Board, ChessMove)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn format_move_to_san(board: &Board, mv: ChessMove) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn file_to_char(file: File) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn rank_to_char(rank: Rank) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn parse_uci_move(uci: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn legal_move_uci(&self, uci: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANDOM_KEYS` is never used [INFO] [stdout] --> src/polyglot_keys.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const RANDOM_KEYS: [u64; 781] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalScore` is never used [INFO] [stdout] --> src/stockfish.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum EvalScore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvalResult` is never constructed [INFO] [stdout] --> src/stockfish.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct EvalResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stockfish` is never constructed [INFO] [stdout] --> src/stockfish.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Stockfish { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stockfish.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 49 | impl Stockfish { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub fn new(path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn init(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn send(&self, command: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn read_until(&self, wait_for: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn send_and_wait(&self, command: &str, wait_for: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_option(&self, name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn position_startpos(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn position_fen(&self, fen: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn search_best_move_by_depth(&self, fen: &str, depth: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn search_best_move_ms(&self, fen: &str, time_ms: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn search_best_move_by_depth_with_noise(&self, fen: &str, depth: u32, noise: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn search_adaptive(&self, fen: &str, elo: u32, time_ms: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn parse_score_line(line: &str) -> EvalScore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn parse_score_and_pv(line: &str) -> (EvalScore, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn quit(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolyglotEntry` is never constructed [INFO] [stdout] --> src/polyglot_book.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PolyglotEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_polyglot_book` is never used [INFO] [stdout] --> src/polyglot_book.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn read_polyglot_book(path: &str) -> std::io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_polyglot_hash` is never used [INFO] [stdout] --> src/polyglot_book.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn compute_polyglot_hash(board: &Board) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polyglot_piece_index` is never used [INFO] [stdout] --> src/polyglot_book.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn polyglot_piece_index(kind: Piece, color: Color) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 49s [INFO] running `Command { std: "docker" "inspect" "4950eb3984478a04802babf4ab0f8513b1175c848a956e5b4e292e9661a8a0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4950eb3984478a04802babf4ab0f8513b1175c848a956e5b4e292e9661a8a0f5", kill_on_drop: false }` [INFO] [stdout] 4950eb3984478a04802babf4ab0f8513b1175c848a956e5b4e292e9661a8a0f5