[INFO] cloning repository https://github.com/SoRA-X7/hikari_firefly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SoRA-X7/hikari_firefly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoRA-X7%2Fhikari_firefly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoRA-X7%2Fhikari_firefly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97c5c068de52ab037094527ccaa4541deaf41398 [INFO] checking SoRA-X7/hikari_firefly/97c5c068de52ab037094527ccaa4541deaf41398 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoRA-X7%2Fhikari_firefly" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SoRA-X7/hikari_firefly on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SoRA-X7/hikari_firefly [INFO] finished tweaking git repo https://github.com/SoRA-X7/hikari_firefly [INFO] tweaked toml for git repo https://github.com/SoRA-X7/hikari_firefly written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SoRA-X7/hikari_firefly 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bumpalo-herd v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5457bc8659783be32cc2f25d94b106b7d990649344fa08975d71bb3c898570f [INFO] running `Command { std: "docker" "start" "-a" "c5457bc8659783be32cc2f25d94b106b7d990649344fa08975d71bb3c898570f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5457bc8659783be32cc2f25d94b106b7d990649344fa08975d71bb3c898570f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5457bc8659783be32cc2f25d94b106b7d990649344fa08975d71bb3c898570f", kill_on_drop: false }` [INFO] [stdout] c5457bc8659783be32cc2f25d94b106b7d990649344fa08975d71bb3c898570f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5565ab393c65d25de32aca10088bb1719ec0c2dcfe99b6aec80ab6d4655ad823 [INFO] running `Command { std: "docker" "start" "-a" "5565ab393c65d25de32aca10088bb1719ec0c2dcfe99b6aec80ab6d4655ad823", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling wayland-sys v0.31.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling wayland-client v0.31.4 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling wayland-scanner v0.31.3 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wayland-backend v0.3.5 [INFO] [stderr] Checking ttf-parser v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling enumn v0.1.13 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking xdg-home v1.2.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking wayland-cursor v0.31.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking bumpalo-herd v0.1.2 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stdout] warning: unused imports: `cell::Cell` and `rc::Rc` [INFO] [stdout] --> game/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Cell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stdout] warning: unused variable: `can_move` [INFO] [stdout] --> game/src/player/tetris.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | fn update(&self, can_move: bool) -> Controls { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking puffin v0.19.1 [INFO] [stderr] Checking emath v0.28.1 [INFO] [stderr] Checking puffin_http v0.16.1 [INFO] [stderr] Checking ouroboros v0.18.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking ecolor v0.28.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking epaint v0.28.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking firefly v0.1.0 (/opt/rustwide/workdir/firefly) [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stdout] warning: unused variable: `mv` [INFO] [stdout] --> firefly/src/eval/simple.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | mv: Move, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> firefly/src/eval/simple.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | state: &GameState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stdout] warning: type `State` is more private than the item `Generation::::find_node_index` [INFO] [stdout] --> firefly/src/search.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn find_node_index(&self, state: &State) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Generation::::find_node_index` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `State` is only usable at visibility `pub(self)` [INFO] [stdout] --> firefly/src/search.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `State` is more private than the item `Generation::::select` [INFO] [stdout] --> firefly/src/search.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn select(&self, state: &State, depth: u32) -> SelectResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Generation::::select` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `State` is only usable at visibility `pub(self)` [INFO] [stdout] --> firefly/src/search.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `State` is more private than the item `Generation::::expand` [INFO] [stdout] --> firefly/src/search.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn expand(&self, state: &State, current_piece: PieceKind, evaluator: &E) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Generation::::expand` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `State` is only usable at visibility `pub(self)` [INFO] [stdout] --> firefly/src/search.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `no_tspin` is never read [INFO] [stdout] --> firefly/src/eval/standard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Weights { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | no_tspin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rent` are never used [INFO] [stdout] --> firefly/src/mem.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HerdPool { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn rent(&self) -> RentedHerd { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> firefly/src/search.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 555 | pub struct Plan { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 556 | pub moves: Vec, [INFO] [stdout] 557 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify` and `get` are never used [INFO] [stdout] --> firefly/src/storage.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ShelfRef<'_, T> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn modify(&mut self, index: Index, f: impl FnOnce(&mut T)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get(&self, index: Index) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> firefly/src/eval/standard.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if prev >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking webbrowser v1.0.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking egui v0.28.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> firefly/src/bin/sample.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 18 | / loop { [INFO] [stdout] 19 | | std::thread::sleep(std::time::Duration::from_secs(1)); [INFO] [stdout] 20 | | let plan = bot.suggest().unwrap(); [INFO] [stdout] 21 | | let mv = plan[0]; [INFO] [stdout] ... | [INFO] [stdout] 29 | | eprintln!("State: {:?}", state); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 31 | [INFO] [stdout] 32 | bot.stop(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> firefly/src/bin/sample.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 18 | / loop { [INFO] [stdout] 19 | | std::thread::sleep(std::time::Duration::from_secs(1)); [INFO] [stdout] 20 | | let plan = bot.suggest().unwrap(); [INFO] [stdout] 21 | | let mv = plan[0]; [INFO] [stdout] ... | [INFO] [stdout] 29 | | eprintln!("State: {:?}", state); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 31 | [INFO] [stdout] 32 | bot.stop(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ordinal v0.1.0 (/opt/rustwide/workdir/ordinal) [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stdout] warning: unused import: `BotSync` [INFO] [stdout] --> ordinal/src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use search::{bot_run, BotSync}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> ordinal/src/movegen.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BinaryHeap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColoredBoard` [INFO] [stdout] --> ordinal/src/tbp.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use game::tetris::{BitBoard, ColoredBoard, PieceKind, PieceState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `puffin_http` [INFO] [stdout] --> ordinal/src/main.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "puffin_http")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `puffin_http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> ordinal/src/search.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | FrontendMessage::Start(start) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mv` [INFO] [stdout] --> ordinal/src/search.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | FrontendMessage::Play { mv } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `mv: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_height` [INFO] [stdout] --> ordinal/src/eval.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let max_height = state [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ordinal/src/eval.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut eval = 0f32; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `depth` is assigned to, but never used [INFO] [stdout] --> ordinal/src/graph.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut depth = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_depth` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> ordinal/src/graph.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let result = state.advance(act.mv); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BotSync` [INFO] [stdout] --> ordinal/src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use search::{bot_run, BotSync}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> ordinal/src/movegen.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BinaryHeap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColoredBoard` [INFO] [stdout] --> ordinal/src/tbp.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use game::tetris::{BitBoard, ColoredBoard, PieceKind, PieceState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `puffin_http` [INFO] [stdout] --> ordinal/src/main.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "puffin_http")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `puffin_http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> ordinal/src/search.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | FrontendMessage::Start(start) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mv` [INFO] [stdout] --> ordinal/src/search.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | FrontendMessage::Play { mv } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `mv: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mv` [INFO] [stdout] --> firefly/src/eval/simple.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | mv: Move, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> firefly/src/eval/simple.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | state: &GameState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluator` is never used [INFO] [stdout] --> ordinal/src/eval.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Evaluator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleEvaluator` is never constructed [INFO] [stdout] --> ordinal/src/eval.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SimpleEvaluator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next` is never read [INFO] [stdout] --> ordinal/src/graph.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Generation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 24 | nodes: DashMap, [INFO] [stdout] 25 | next: Lazy>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `acc`, `field_eval`, `children`, `parents`, `visits`, and `dead` are never read [INFO] [stdout] --> ordinal/src/graph.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | acc: Eval, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | field_eval: Eval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | children: ChildrenData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | parents: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | visits: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | dead: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speculated`, `candidates`, and `data` are never read [INFO] [stdout] --> ordinal/src/graph.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ChildrenData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 42 | speculated: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | candidates: EnumSet, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | data: [Vec; 7], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildrenData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ordinal/src/graph.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct NodeSync(Arc>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NodeSync` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mv`, `reward`, `acc`, and `visits` are never read [INFO] [stdout] --> ordinal/src/graph.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | mv: Move, [INFO] [stdout] | ^^ [INFO] [stdout] 53 | reward: Eval, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | acc: Eval, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | visits: AtomicU32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search` and `count_nodes` are never used [INFO] [stdout] --> ordinal/src/graph.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn search(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn count_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_node` is never used [INFO] [stdout] --> ordinal/src/graph.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Generation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn write_node( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `select_child`, `back_propagate`, `process_children`, `expand`, and `generate_moves` are never used [INFO] [stdout] --> ordinal/src/graph.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 167 | pub fn select_child(&self) -> Option<(Option, &Action)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn back_propagate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn process_children(field_eval: Eval, children: &mut Vec) -> Eval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn expand( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn generate_moves( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> ordinal/src/graph.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl ChildrenData { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | fn is_known(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn is_speculated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn get_known(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn get(&self, piece: PieceKind) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | fn get_known_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn get_mut(&mut self, piece: PieceKind) -> &mut Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn set(&mut self, piece: PieceKind, data: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> ordinal/src/movegen.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_DEPTH: u8 = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_NON_T_COST` is never used [INFO] [stdout] --> ordinal/src/movegen.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MAX_NON_T_COST: u8 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveGenerator` is never constructed [INFO] [stdout] --> ordinal/src/movegen.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MoveGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate_for`, `generate_internal`, `check_write`, and `moves` are never used [INFO] [stdout] --> ordinal/src/movegen.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl MoveGenerator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 52 | pub fn generate_for(state: &GameState, use_hold: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn generate_internal(&mut self, state: &GameState, spawn: PieceState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn check_write( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn moves(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_piece` is never used [INFO] [stdout] --> ordinal/src/search.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bot { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn add_piece(&mut self, piece: PieceKind) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search`, `work_loop`, `stats`, and `get` are never used [INFO] [stdout] --> ordinal/src/search.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BotSync { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn search(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn work_loop(&self) -> ! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn stats(&self) -> BotStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get(&self) -> impl Deref + '_ { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotStats` is never constructed [INFO] [stdout] --> ordinal/src/search.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct BotStats { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Info` and `Suggestion` are never constructed [INFO] [stdout] --> ordinal/src/tbp.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum BotMessage { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | Info { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Suggestion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `queue`, `hold`, `combo`, `back_to_back`, and `randomizer` are never read [INFO] [stdout] --> ordinal/src/tbp.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Start { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 44 | pub board: BitBoard, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub queue: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub hold: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub combo: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | pub back_to_back: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | #[serde(default)] [INFO] [stdout] 50 | pub randomizer: Randomizer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bag_state` is never read [INFO] [stdout] --> ordinal/src/tbp.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | SevenBag { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 58 | #[serde(deserialize_with = "collect_enumset")] [INFO] [stdout] 59 | bag_state: EnumSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_height` [INFO] [stdout] --> ordinal/src/eval.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let max_height = state [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ordinal/src/eval.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut eval = 0f32; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `depth` is assigned to, but never used [INFO] [stdout] --> ordinal/src/graph.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut depth = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_depth` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `State` is more private than the item `Generation::::find_node_index` [INFO] [stdout] --> firefly/src/search.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn find_node_index(&self, state: &State) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Generation::::find_node_index` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `State` is only usable at visibility `pub(self)` [INFO] [stdout] --> firefly/src/search.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> ordinal/src/graph.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let result = state.advance(act.mv); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `State` is more private than the item `Generation::::select` [INFO] [stdout] --> firefly/src/search.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn select(&self, state: &State, depth: u32) -> SelectResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Generation::::select` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `State` is only usable at visibility `pub(self)` [INFO] [stdout] --> firefly/src/search.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `State` is more private than the item `Generation::::expand` [INFO] [stdout] --> firefly/src/search.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn expand(&self, state: &State, current_piece: PieceKind, evaluator: &E) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Generation::::expand` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `State` is only usable at visibility `pub(self)` [INFO] [stdout] --> firefly/src/search.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | struct State { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `no_tspin` is never read [INFO] [stdout] --> firefly/src/eval/standard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Weights { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | no_tspin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rent` are never used [INFO] [stdout] --> firefly/src/mem.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HerdPool { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn rent(&self) -> RentedHerd { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> firefly/src/search.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 555 | pub struct Plan { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 556 | pub moves: Vec, [INFO] [stdout] 557 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify` and `get` are never used [INFO] [stdout] --> firefly/src/storage.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ShelfRef<'_, T> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn modify(&mut self, index: Index, f: impl FnOnce(&mut T)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get(&self, index: Index) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> firefly/src/eval/standard.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if prev >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluator` is never used [INFO] [stdout] --> ordinal/src/eval.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Evaluator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleEvaluator` is never constructed [INFO] [stdout] --> ordinal/src/eval.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SimpleEvaluator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next` is never read [INFO] [stdout] --> ordinal/src/graph.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Generation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 24 | nodes: DashMap, [INFO] [stdout] 25 | next: Lazy>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `acc`, `field_eval`, `children`, `parents`, `visits`, and `dead` are never read [INFO] [stdout] --> ordinal/src/graph.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | acc: Eval, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | field_eval: Eval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | children: ChildrenData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | parents: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | visits: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | dead: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speculated`, `candidates`, and `data` are never read [INFO] [stdout] --> ordinal/src/graph.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ChildrenData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 42 | speculated: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | candidates: EnumSet, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | data: [Vec; 7], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildrenData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ordinal/src/graph.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct NodeSync(Arc>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NodeSync` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mv`, `reward`, `acc`, and `visits` are never read [INFO] [stdout] --> ordinal/src/graph.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | mv: Move, [INFO] [stdout] | ^^ [INFO] [stdout] 53 | reward: Eval, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | acc: Eval, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | visits: AtomicU32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search` and `count_nodes` are never used [INFO] [stdout] --> ordinal/src/graph.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn search(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn count_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_node` is never used [INFO] [stdout] --> ordinal/src/graph.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Generation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn write_node( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `select_child`, `back_propagate`, `process_children`, `expand`, and `generate_moves` are never used [INFO] [stdout] --> ordinal/src/graph.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 167 | pub fn select_child(&self) -> Option<(Option, &Action)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn back_propagate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn process_children(field_eval: Eval, children: &mut Vec) -> Eval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn expand( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn generate_moves( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> ordinal/src/graph.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl ChildrenData { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | fn is_known(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn is_speculated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn get_known(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn get(&self, piece: PieceKind) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | fn get_known_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn get_mut(&mut self, piece: PieceKind) -> &mut Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn set(&mut self, piece: PieceKind, data: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> ordinal/src/movegen.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_DEPTH: u8 = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_NON_T_COST` is never used [INFO] [stdout] --> ordinal/src/movegen.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MAX_NON_T_COST: u8 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveGenerator` is never constructed [INFO] [stdout] --> ordinal/src/movegen.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MoveGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate_for`, `generate_internal`, `check_write`, and `moves` are never used [INFO] [stdout] --> ordinal/src/movegen.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl MoveGenerator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 52 | pub fn generate_for(state: &GameState, use_hold: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn generate_internal(&mut self, state: &GameState, spawn: PieceState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn check_write( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn moves(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_piece` is never used [INFO] [stdout] --> ordinal/src/search.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bot { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn add_piece(&mut self, piece: PieceKind) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search`, `work_loop`, `stats`, and `get` are never used [INFO] [stdout] --> ordinal/src/search.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BotSync { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn search(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn work_loop(&self) -> ! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn stats(&self) -> BotStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get(&self) -> impl Deref + '_ { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotStats` is never constructed [INFO] [stdout] --> ordinal/src/search.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct BotStats { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Info` and `Suggestion` are never constructed [INFO] [stdout] --> ordinal/src/tbp.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum BotMessage { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | Info { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Suggestion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `queue`, `hold`, `combo`, `back_to_back`, and `randomizer` are never read [INFO] [stdout] --> ordinal/src/tbp.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Start { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 44 | pub board: BitBoard, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub queue: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub hold: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub combo: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | pub back_to_back: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | #[serde(default)] [INFO] [stdout] 50 | pub randomizer: Randomizer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bag_state` is never read [INFO] [stdout] --> ordinal/src/tbp.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | SevenBag { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 58 | #[serde(deserialize_with = "collect_enumset")] [INFO] [stdout] 59 | bag_state: EnumSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::Cell` and `rc::Rc` [INFO] [stdout] --> game/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Cell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_move` [INFO] [stdout] --> game/src/player/tetris.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | fn update(&self, can_move: bool) -> Controls { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking egui_glow v0.28.1 [INFO] [stderr] Checking egui_extras v0.28.1 [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stdout] warning: field `mv` is never read [INFO] [stdout] --> cli/src/tbp.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | Play { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 12 | #[serde(rename = "move")] [INFO] [stdout] 13 | mv: PieceState, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mv` is never read [INFO] [stdout] --> cli/src/tbp.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | Play { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 12 | #[serde(rename = "move")] [INFO] [stdout] 13 | mv: PieceState, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.28.1 [INFO] [stderr] Checking eframe v0.28.1 [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> frontend/src/render.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | egui::{Color32, Pos2, Rect, Shape, Stroke, Ui}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceKind` [INFO] [stdout] --> frontend/src/render.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use game::tetris::{CellKind, ColoredBoard, GameState, PieceKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> frontend/src/render.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | egui::{Color32, Pos2, Rect, Shape, Stroke, Ui}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceKind` [INFO] [stdout] --> frontend/src/render.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use game::tetris::{CellKind, ColoredBoard, GameState, PieceKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "5565ab393c65d25de32aca10088bb1719ec0c2dcfe99b6aec80ab6d4655ad823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5565ab393c65d25de32aca10088bb1719ec0c2dcfe99b6aec80ab6d4655ad823", kill_on_drop: false }` [INFO] [stdout] 5565ab393c65d25de32aca10088bb1719ec0c2dcfe99b6aec80ab6d4655ad823