[INFO] cloning repository https://github.com/AngelOnFira/macroquad-mech-2025 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngelOnFira/macroquad-mech-2025" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Fmacroquad-mech-2025", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Fmacroquad-mech-2025'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cf61d90185fb07e3e7a4e372003a2ea116cc4ad [INFO] checking AngelOnFira/macroquad-mech-2025 against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Fmacroquad-mech-2025" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/AngelOnFira/macroquad-mech-2025 [INFO] finished tweaking git repo https://github.com/AngelOnFira/macroquad-mech-2025 [INFO] tweaked toml for git repo https://github.com/AngelOnFira/macroquad-mech-2025 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AngelOnFira/macroquad-mech-2025 on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AngelOnFira/macroquad-mech-2025 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f12b966a12163e7b47a64c0e19fb1e93b1b0aa335a2473549b2820d99022311 [INFO] running `Command { std: "docker" "start" "-a" "1f12b966a12163e7b47a64c0e19fb1e93b1b0aa335a2473549b2820d99022311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f12b966a12163e7b47a64c0e19fb1e93b1b0aa335a2473549b2820d99022311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f12b966a12163e7b47a64c0e19fb1e93b1b0aa335a2473549b2820d99022311", kill_on_drop: false }` [INFO] [stdout] 1f12b966a12163e7b47a64c0e19fb1e93b1b0aa335a2473549b2820d99022311 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f173884a5a5f32e1a9513e8580cb9599a6be6a5b60d27af87f0d70ee169775f7 [INFO] running `Command { std: "docker" "start" "-a" "f173884a5a5f32e1a9513e8580cb9599a6be6a5b60d27af87f0d70ee169775f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking async-fs v2.1.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tracing-core v0.1.34 (https://github.com/AngelOnFira/tracing#61f70021) [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking quad-url v0.1.2 [INFO] [stderr] Checking tracing-log v0.2.0 (https://github.com/AngelOnFira/tracing#61f70021) [INFO] [stderr] Checking immutable-chunkmap v2.1.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 (https://github.com/AngelOnFira/tracing#61f70021) [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking epaint_default_fonts v0.29.1 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking accesskit_consumer v0.24.3 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking tracing-tree v0.4.0 (https://github.com/AngelOnFira/tracing-tree#589eaf83) [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 (https://github.com/AngelOnFira/tracing#61f70021) [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.29.1 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking ecolor v0.29.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking epaint v0.29.1 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking tracing v0.1.41 (https://github.com/AngelOnFira/tracing#61f70021) [INFO] [stderr] Checking egui v0.29.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking ws v0.9.2 [INFO] [stderr] Checking webbrowser v1.0.5 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking egui_glow v0.29.1 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking egui-miniquad v0.16.0 [INFO] [stderr] Checking egui_plot v0.31.0 [INFO] [stderr] Checking egui-macroquad v0.17.3 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Checking ai v0.1.0 (/opt/rustwide/workdir/ai) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stdout] warning: unused variable: `enable_captain` [INFO] [stdout] --> ai/src/communication.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn new(enable_captain: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_captain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> client/src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ref client) = network_client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut renderer = Renderer::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut network_client: Option; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> client/src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ref client) = network_client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut renderer = Renderer::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut network_client: Option; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_bounds` [INFO] [stdout] --> client/src/rendering/spatial_debug.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (min_bounds, max_bounds) = MechInteriorCoordinates::get_mech_world_bounds(mech_pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_bounds` [INFO] [stdout] --> client/src/rendering/spatial_debug.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (min_bounds, max_bounds) = MechInteriorCoordinates::get_mech_world_bounds(mech_pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ai_id` [INFO] [stdout] --> ai/src/perception.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 162 | fn identify_threats(game_view: &GameView, ai_id: Uuid, my_state: &MyState) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ai_id` [INFO] [stdout] --> ai/src/perception.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | ai_id: Uuid, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ai_id` [INFO] [stdout] --> ai/src/perception.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | fn analyze_team_state(game_view: &GameView, ai_id: Uuid) -> TeamState { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> client/src/spatial_testing.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | mech_id: Uuid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_door` [INFO] [stdout] --> client/src/spatial_testing.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | entry_door: TilePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_door` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> client/src/spatial_testing.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn start_relative_movement_test(&mut self, mech_id: Uuid, error_threshold: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> ai/src/utility.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | messages: &[AIMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> ai/src/utility.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | delta_time: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> ai/src/utility.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | messages: &[AIMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> ai/src/utility.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | delta_time: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_type` [INFO] [stdout] --> client/src/network.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | resource_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `resource_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> client/src/network.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | position, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable_captain` [INFO] [stdout] --> ai/src/communication.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn new(enable_captain: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_captain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_server_message` and `message_counter` are never read [INFO] [stdout] --> client/src/debug_overlay.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DebugOverlay { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | last_server_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | message_history: VecDeque, [INFO] [stdout] 48 | message_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_server_message` is never used [INFO] [stdout] --> client/src/debug_overlay.rs:861:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl DebugOverlay { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 861 | pub fn log_server_message(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> client/src/rendering/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | /// Create a new camera at the given world position [INFO] [stdout] 15 | pub fn new(position: WorldPos) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn centered_on_tile(tile_pos: TilePos) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_offset(&self) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn world_to_screen(&self, world_pos: WorldPos) -> ScreenPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn screen_to_world(&self, screen_pos: ScreenPos) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn tile_to_screen(&self, tile_pos: TilePos) -> ScreenPos { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn screen_to_tile(&self, screen_pos: ScreenPos) -> TilePos { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn move_by(&mut self, offset: WorldPos) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn follow(&mut self, target: WorldPos, smoothing: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn clamp_to_world(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn set_zoom(&mut self, zoom: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn zoom_in(&mut self, factor: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn zoom_out(&mut self, factor: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewportCalculations` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ViewportCalculations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_visible_tile_range`, `get_visible_tile_range_with_padding`, `is_world_pos_visible`, `is_tile_visible`, `is_rect_visible`, and `get_visible_world_bounds` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl ViewportCalculations { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] 116 | /// Calculate which tiles are visible on screen [INFO] [stdout] 117 | pub fn get_visible_tile_range(camera: &Camera) -> TileRegion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_visible_tile_range_with_padding(camera: &Camera, padding_tiles: i32) -> TileRegion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn is_world_pos_visible(camera: &Camera, world_pos: WorldPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn is_tile_visible(camera: &Camera, tile_pos: TilePos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_rect_visible(camera: &Camera, world_pos: WorldPos, width: f32, height: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_visible_world_bounds(camera: &Camera) -> (WorldPos, WorldPos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraBehavior` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct CameraBehavior; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `smooth_follow_with_deadzone`, `snap_follow_grid_aligned`, `predictive_follow`, and `constrained_follow` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl CameraBehavior { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 199 | /// Smooth camera following with deadzone [INFO] [stdout] 200 | pub fn smooth_follow_with_deadzone( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn snap_follow_grid_aligned(camera: &mut Camera, target: WorldPos, grid_size: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn predictive_follow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn constrained_follow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenSpace` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ScreenSpace; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mouse_to_world`, `mouse_to_tile`, `is_mouse_over_tile`, `is_mouse_over_area`, and `get_hovered_tile` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 258 | impl ScreenSpace { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 259 | /// Convert mouse position to world position [INFO] [stdout] 260 | pub fn mouse_to_world(camera: &Camera) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn mouse_to_tile(camera: &Camera) -> TilePos { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn is_mouse_over_tile(camera: &Camera, tile_pos: TilePos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn is_mouse_over_area( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get_hovered_tile(camera: &Camera) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraShake` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct CameraShake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `apply_to_camera`, `is_active`, and `reset` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 313 | impl CameraShake { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 314 | pub fn new(intensity: f32, duration: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn update(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn apply_to_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn reset(&mut self, intensity: f32, duration: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_mech_interior` is never used [INFO] [stdout] --> client/src/rendering/mech_interior.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn render_mech_interior( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_stations_on_floor` is never used [INFO] [stdout] --> client/src/rendering/mech_interior.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn render_stations_on_floor(game_state: &GameState, mech_id: Uuid, floor: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_players_on_floor` is never used [INFO] [stdout] --> client/src/rendering/mech_interior.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn render_players_on_floor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_size_ratio`, `with_thickness`, `outlined`, and `filled` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ArrowStyle { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_size_ratio(mut self, size_ratio: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn with_thickness(mut self, thickness: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn outlined(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn filled(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_arrow_at_world`, `draw_arrow_in_tile`, and `draw_arrow_centered_in_tile` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ArrowRenderer { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 59 | /// Draw an arrow at a world position [INFO] [stdout] 60 | pub fn draw_arrow_at_world(pos: WorldPos, direction: Direction, size: f32, style: ArrowStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn draw_arrow_in_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn draw_arrow_centered_in_tile(tile: TilePos, direction: Direction, style: ArrowStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileHighlightStyle` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TileHighlightStyle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection`, `hover`, and `danger` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl TileHighlightStyle { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 176 | pub fn selection() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn hover() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn danger() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileHighlight` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct TileHighlight; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_at_screen`, `draw_at_world`, `draw_tile`, and `draw_tiles` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl TileHighlight { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 211 | /// Highlight a tile at screen coordinates [INFO] [stdout] 212 | pub fn draw_at_screen(screen_x: f32, screen_y: f32, size: f32, style: TileHighlightStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn draw_at_world( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn draw_tile(tile_pos: TilePos, camera_offset: WorldPos, style: TileHighlightStyle) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn draw_tiles( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct GridRenderer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_tile_grid` and `draw_screen_grid` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl GridRenderer { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 268 | /// Draw a tile grid over a region [INFO] [stdout] 269 | pub fn draw_tile_grid( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn draw_screen_grid(camera_offset: WorldPos, grid_color: Color, line_thickness: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoorRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct DoorRenderer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_door_at_screen`, `draw_door_at_world`, and `draw_door_tile` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl DoorRenderer { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 328 | /// Draw a door indicator at screen coordinates [INFO] [stdout] 329 | pub fn draw_door_at_screen(screen_x: f32, screen_y: f32, size: f32, team_color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn draw_door_at_world(world_pos: WorldPos, team_color: Color, camera_offset: WorldPos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn draw_door_tile(tile_pos: TilePos, team_color: Color, camera_offset: WorldPos) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub struct EntityRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_circle_in_tile`, `draw_rect_in_tile`, and `draw_player_entity` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 376 | impl EntityRenderer { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 377 | /// Draw a circle entity positioned within a tile [INFO] [stdout] 378 | pub fn draw_circle_in_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn draw_rect_in_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn draw_player_entity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | pub struct ShapeRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_plus`, `draw_x_mark`, and `draw_diamond` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl ShapeRenderer { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 441 | /// Draw a plus sign (+) for debugging or UI [INFO] [stdout] 442 | pub fn draw_plus( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn draw_x_mark( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn draw_diamond( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_all` and `render_debug_panel` are never used [INFO] [stdout] --> client/src/rendering/spatial_debug.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl SpatialDebugRenderer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn toggle_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn render_debug_panel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_team_and_location_info` is never used [INFO] [stdout] --> client/src/rendering/ui.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn render_team_and_location_info(game_state: &GameState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_station_color` is never used [INFO] [stdout] --> client/src/rendering/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_station_color(station_type: StationType) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_world_view` is never used [INFO] [stdout] --> client/src/rendering/world.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn render_world_view(game_state: &GameState, cam_x: f32, cam_y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_world_view_with_vision` is never used [INFO] [stdout] --> client/src/rendering/world.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn render_world_view_with_vision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expected_behavior` is never read [INFO] [stdout] --> client/src/spatial_testing.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct RunningTest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] 24 | pub expected_behavior: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunningTest` 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 `mech_world_position` and `actual_render_position` are never read [INFO] [stdout] --> client/src/spatial_testing.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SpatialMeasurement { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 31 | pub player_location: PlayerLocation, [INFO] [stdout] 32 | pub mech_world_position: WorldPos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub calculated_world_position: WorldPos, // What the coordinate system calculates [INFO] [stdout] 34 | pub actual_render_position: WorldPos, // Where we actually rendered (same as calculated) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpatialMeasurement` 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 `start_mech_entry_test`, `get_test_results`, and `print_status` are never used [INFO] [stdout] --> client/src/spatial_testing.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl SpatialTestSuite { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn start_mech_entry_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_test_results(&self) -> &[TestResult] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn print_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_interior_visible` is never used [INFO] [stdout] --> client/src/vision.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ClientVisionSystem { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn is_interior_visible( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> client/src/network.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct ClientHandler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 44 | out: Sender, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ai_id` [INFO] [stdout] --> ai/src/perception.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 162 | fn identify_threats(game_view: &GameView, ai_id: Uuid, my_state: &MyState) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_bounds` [INFO] [stdout] --> client/src/rendering/spatial_debug.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (min_bounds, max_bounds) = MechInteriorCoordinates::get_mech_world_bounds(mech_pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ai_id` [INFO] [stdout] --> ai/src/perception.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | ai_id: Uuid, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_bounds` [INFO] [stdout] --> client/src/rendering/spatial_debug.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (min_bounds, max_bounds) = MechInteriorCoordinates::get_mech_world_bounds(mech_pos); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ai_id` [INFO] [stdout] --> ai/src/perception.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | fn analyze_team_state(game_view: &GameView, ai_id: Uuid) -> TeamState { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> ai/src/utility.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | messages: &[AIMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> ai/src/utility.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | delta_time: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> client/src/spatial_testing.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | mech_id: Uuid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> ai/src/utility.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | messages: &[AIMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_door` [INFO] [stdout] --> client/src/spatial_testing.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | entry_door: TilePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_door` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> client/src/spatial_testing.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn start_relative_movement_test(&mut self, mech_id: Uuid, error_threshold: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> ai/src/utility.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | delta_time: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_type` [INFO] [stdout] --> client/src/network.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | resource_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `resource_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> client/src/network.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | position, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_server_message` and `message_counter` are never read [INFO] [stdout] --> client/src/debug_overlay.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DebugOverlay { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | last_server_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | message_history: VecDeque, [INFO] [stdout] 48 | message_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_server_message` is never used [INFO] [stdout] --> client/src/debug_overlay.rs:861:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl DebugOverlay { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 861 | pub fn log_server_message(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `centered_on_tile`, `world_to_screen`, `screen_to_world`, `tile_to_screen`, `screen_to_tile`, and `clamp_to_world` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn centered_on_tile(tile_pos: TilePos) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn world_to_screen(&self, world_pos: WorldPos) -> ScreenPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn screen_to_world(&self, screen_pos: ScreenPos) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn tile_to_screen(&self, tile_pos: TilePos) -> ScreenPos { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn screen_to_tile(&self, screen_pos: ScreenPos) -> TilePos { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn clamp_to_world(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewportCalculations` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ViewportCalculations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_visible_tile_range`, `get_visible_tile_range_with_padding`, `is_world_pos_visible`, `is_tile_visible`, `is_rect_visible`, and `get_visible_world_bounds` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl ViewportCalculations { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] 116 | /// Calculate which tiles are visible on screen [INFO] [stdout] 117 | pub fn get_visible_tile_range(camera: &Camera) -> TileRegion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_visible_tile_range_with_padding(camera: &Camera, padding_tiles: i32) -> TileRegion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn is_world_pos_visible(camera: &Camera, world_pos: WorldPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn is_tile_visible(camera: &Camera, tile_pos: TilePos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_rect_visible(camera: &Camera, world_pos: WorldPos, width: f32, height: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_visible_world_bounds(camera: &Camera) -> (WorldPos, WorldPos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraBehavior` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct CameraBehavior; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `smooth_follow_with_deadzone`, `snap_follow_grid_aligned`, `predictive_follow`, and `constrained_follow` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl CameraBehavior { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 199 | /// Smooth camera following with deadzone [INFO] [stdout] 200 | pub fn smooth_follow_with_deadzone( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn snap_follow_grid_aligned(camera: &mut Camera, target: WorldPos, grid_size: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn predictive_follow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn constrained_follow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenSpace` is never constructed [INFO] [stdout] --> client/src/rendering/camera.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ScreenSpace; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mouse_to_world`, `mouse_to_tile`, `is_mouse_over_tile`, `is_mouse_over_area`, and `get_hovered_tile` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 258 | impl ScreenSpace { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 259 | /// Convert mouse position to world position [INFO] [stdout] 260 | pub fn mouse_to_world(camera: &Camera) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn mouse_to_tile(camera: &Camera) -> TilePos { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn is_mouse_over_tile(camera: &Camera, tile_pos: TilePos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn is_mouse_over_area( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get_hovered_tile(camera: &Camera) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_to_camera` and `reset` are never used [INFO] [stdout] --> client/src/rendering/camera.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 313 | impl CameraShake { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn apply_to_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn reset(&mut self, intensity: f32, duration: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_mech_interior` is never used [INFO] [stdout] --> client/src/rendering/mech_interior.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn render_mech_interior( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_stations_on_floor` is never used [INFO] [stdout] --> client/src/rendering/mech_interior.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn render_stations_on_floor(game_state: &GameState, mech_id: Uuid, floor: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_players_on_floor` is never used [INFO] [stdout] --> client/src/rendering/mech_interior.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn render_players_on_floor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filled` is never used [INFO] [stdout] --> client/src/rendering/primitives.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ArrowStyle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn filled(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_arrow_at_world`, `draw_arrow_in_tile`, and `draw_arrow_centered_in_tile` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ArrowRenderer { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 59 | /// Draw an arrow at a world position [INFO] [stdout] 60 | pub fn draw_arrow_at_world(pos: WorldPos, direction: Direction, size: f32, style: ArrowStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn draw_arrow_in_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn draw_arrow_centered_in_tile(tile: TilePos, direction: Direction, style: ArrowStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `border_thickness`, `corner_radius`, and `filled` are never read [INFO] [stdout] --> client/src/rendering/primitives.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TileHighlightStyle { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 156 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | pub border_color: Color, [INFO] [stdout] 158 | pub border_thickness: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | pub corner_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 160 | pub filled: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileHighlightStyle` 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: struct `TileHighlight` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct TileHighlight; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_at_screen`, `draw_at_world`, `draw_tile`, and `draw_tiles` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl TileHighlight { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 211 | /// Highlight a tile at screen coordinates [INFO] [stdout] 212 | pub fn draw_at_screen(screen_x: f32, screen_y: f32, size: f32, style: TileHighlightStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn draw_at_world( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn draw_tile(tile_pos: TilePos, camera_offset: WorldPos, style: TileHighlightStyle) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn draw_tiles( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct GridRenderer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_tile_grid` and `draw_screen_grid` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl GridRenderer { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 268 | /// Draw a tile grid over a region [INFO] [stdout] 269 | pub fn draw_tile_grid( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn draw_screen_grid(camera_offset: WorldPos, grid_color: Color, line_thickness: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoorRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct DoorRenderer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_door_at_screen`, `draw_door_at_world`, and `draw_door_tile` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl DoorRenderer { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 328 | /// Draw a door indicator at screen coordinates [INFO] [stdout] 329 | pub fn draw_door_at_screen(screen_x: f32, screen_y: f32, size: f32, team_color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn draw_door_at_world(world_pos: WorldPos, team_color: Color, camera_offset: WorldPos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn draw_door_tile(tile_pos: TilePos, team_color: Color, camera_offset: WorldPos) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub struct EntityRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_circle_in_tile`, `draw_rect_in_tile`, and `draw_player_entity` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 376 | impl EntityRenderer { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 377 | /// Draw a circle entity positioned within a tile [INFO] [stdout] 378 | pub fn draw_circle_in_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn draw_rect_in_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn draw_player_entity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeRenderer` is never constructed [INFO] [stdout] --> client/src/rendering/primitives.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | pub struct ShapeRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_plus`, `draw_x_mark`, and `draw_diamond` are never used [INFO] [stdout] --> client/src/rendering/primitives.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl ShapeRenderer { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 441 | /// Draw a plus sign (+) for debugging or UI [INFO] [stdout] 442 | pub fn draw_plus( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn draw_x_mark( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn draw_diamond( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_all` and `render_debug_panel` are never used [INFO] [stdout] --> client/src/rendering/spatial_debug.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl SpatialDebugRenderer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn toggle_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn render_debug_panel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_team_and_location_info` is never used [INFO] [stdout] --> client/src/rendering/ui.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn render_team_and_location_info(game_state: &GameState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_station_color` is never used [INFO] [stdout] --> client/src/rendering/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_station_color(station_type: StationType) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_world_view` is never used [INFO] [stdout] --> client/src/rendering/world.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn render_world_view(game_state: &GameState, cam_x: f32, cam_y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_world_view_with_vision` is never used [INFO] [stdout] --> client/src/rendering/world.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn render_world_view_with_vision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expected_behavior` is never read [INFO] [stdout] --> client/src/spatial_testing.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct RunningTest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] 24 | pub expected_behavior: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunningTest` 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 `mech_world_position` and `actual_render_position` are never read [INFO] [stdout] --> client/src/spatial_testing.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SpatialMeasurement { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 31 | pub player_location: PlayerLocation, [INFO] [stdout] 32 | pub mech_world_position: WorldPos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub calculated_world_position: WorldPos, // What the coordinate system calculates [INFO] [stdout] 34 | pub actual_render_position: WorldPos, // Where we actually rendered (same as calculated) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpatialMeasurement` 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 `start_mech_entry_test`, `get_test_results`, and `print_status` are never used [INFO] [stdout] --> client/src/spatial_testing.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl SpatialTestSuite { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn start_mech_entry_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_test_results(&self) -> &[TestResult] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn print_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_interior_visible` is never used [INFO] [stdout] --> client/src/vision.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ClientVisionSystem { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn is_interior_visible( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_game_state` is never used [INFO] [stdout] --> client/src/vision.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn create_test_game_state() -> GameState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> client/src/network.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct ClientHandler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 44 | out: Sender, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> server/src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let game = state.game.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> server/src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let game = state.game.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> server/src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{SinkExt, StreamExt}; [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: `SinkExt` [INFO] [stdout] --> server/src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> server/src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{SinkExt, StreamExt}; [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: `SinkExt` [INFO] [stdout] --> server/src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> server/src/game.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | mech_id: Uuid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> server/src/game_tests.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mech_id = red_mech.id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> server/src/spatial_collision.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | player_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_team` [INFO] [stdout] --> server/src/spatial_collision.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | player_team: TeamId, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> server/src/systems/ai.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | player_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `player_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movement` [INFO] [stdout] --> server/src/systems/ai.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | movement, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `movement: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> server/src/systems/ai.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | player_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `player_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button_index` [INFO] [stdout] --> server/src/systems/ai.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | button_index, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `button_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> server/src/systems/combat.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | fn update(&mut self, game: &mut Game, delta_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> server/src/systems/networking.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | mech_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `mech_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> server/src/systems/networking.rs:174:43 [INFO] [stdout] | [INFO] [stdout] 174 | fn update(&mut self, game: &mut Game, delta_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> server/src/systems/resource.rs:273:43 [INFO] [stdout] | [INFO] [stdout] 273 | fn update(&mut self, game: &mut Game, delta_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> server/src/game.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | mech_id: Uuid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mech_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> server/src/spatial_collision.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | player_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_team` [INFO] [stdout] --> server/src/spatial_collision.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | player_team: TeamId, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `active` are never read [INFO] [stdout] --> server/src/entity_storage.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct EntityInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 45 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_player_in_mech` is never used [INFO] [stdout] --> server/src/game_tests.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn assert_player_in_mech(game: &Game, player_id: Uuid, expected_mech_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemConfig` is never constructed [INFO] [stdout] --> server/src/systems/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct SystemConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemMetrics` is never constructed [INFO] [stdout] --> server/src/systems/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetricsManager` is never constructed [INFO] [stdout] --> server/src/systems/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct MetricsManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_update`, `get_all_metrics`, and `get_metrics` are never used [INFO] [stdout] --> server/src/systems/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl MetricsManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 156 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn record_update(&mut self, system_name: &str, update_time_ms: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_all_metrics(&self) -> Vec<&SystemMetrics> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_metrics(&self, system_name: &str) -> Option<&SystemMetrics> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `team`, and `mech_id` are never read [INFO] [stdout] --> server/src/systems/ai.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct AIPlayerInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | team: TeamId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | mech_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ai_debug_info` and `process_ai_commands` are never used [INFO] [stdout] --> server/src/systems/ai.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AISystem { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_ai_debug_info(&self, ai_id: Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn process_ai_commands(&self, commands: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_weapon_targeting` and `create_combat_effects` are never used [INFO] [stdout] --> server/src/systems/combat.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl CombatSystem { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | fn process_weapon_targeting( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn create_combat_effects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compress_game_state` and `adapt_to_connection_quality` are never used [INFO] [stdout] --> server/src/systems/networking.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl NetworkingSystem { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn compress_game_state(&self, _game: &Game) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn adapt_to_connection_quality(&self, _game: &Game) -> NetworkAdaptation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkAdaptation` is never constructed [INFO] [stdout] --> server/src/systems/networking.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct NetworkAdaptation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrecisionLevel` is never used [INFO] [stdout] --> server/src/systems/networking.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum PrecisionLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `balance_resource_distribution` is never used [INFO] [stdout] --> server/src/systems/resource.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ResourceSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn balance_resource_distribution(&self, game: &Game) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> server/src/systems/ai.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | player_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `player_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movement` [INFO] [stdout] --> server/src/systems/ai.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | movement, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `movement: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> server/src/systems/ai.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | player_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `player_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button_index` [INFO] [stdout] --> server/src/systems/ai.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | button_index, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `button_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> server/src/systems/combat.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | fn update(&mut self, game: &mut Game, delta_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mech_id` [INFO] [stdout] --> server/src/systems/networking.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | mech_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `mech_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> server/src/systems/networking.rs:174:43 [INFO] [stdout] | [INFO] [stdout] 174 | fn update(&mut self, game: &mut Game, delta_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> server/src/systems/resource.rs:273:43 [INFO] [stdout] | [INFO] [stdout] 273 | fn update(&mut self, game: &mut Game, delta_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `active` are never read [INFO] [stdout] --> server/src/entity_storage.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct EntityInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 45 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemConfig` is never constructed [INFO] [stdout] --> server/src/systems/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct SystemConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemMetrics` is never constructed [INFO] [stdout] --> server/src/systems/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetricsManager` is never constructed [INFO] [stdout] --> server/src/systems/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct MetricsManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_update`, `get_all_metrics`, and `get_metrics` are never used [INFO] [stdout] --> server/src/systems/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl MetricsManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 156 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn record_update(&mut self, system_name: &str, update_time_ms: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_all_metrics(&self) -> Vec<&SystemMetrics> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_metrics(&self, system_name: &str) -> Option<&SystemMetrics> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `team`, and `mech_id` are never read [INFO] [stdout] --> server/src/systems/ai.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct AIPlayerInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | team: TeamId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | mech_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ai_debug_info` and `process_ai_commands` are never used [INFO] [stdout] --> server/src/systems/ai.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AISystem { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_ai_debug_info(&self, ai_id: Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn process_ai_commands(&self, commands: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_weapon_targeting` and `create_combat_effects` are never used [INFO] [stdout] --> server/src/systems/combat.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl CombatSystem { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | fn process_weapon_targeting( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn create_combat_effects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compress_game_state` and `adapt_to_connection_quality` are never used [INFO] [stdout] --> server/src/systems/networking.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl NetworkingSystem { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn compress_game_state(&self, _game: &Game) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn adapt_to_connection_quality(&self, _game: &Game) -> NetworkAdaptation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkAdaptation` is never constructed [INFO] [stdout] --> server/src/systems/networking.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct NetworkAdaptation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrecisionLevel` is never used [INFO] [stdout] --> server/src/systems/networking.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum PrecisionLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `balance_resource_distribution` is never used [INFO] [stdout] --> server/src/systems/resource.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ResourceSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn balance_resource_distribution(&self, game: &Game) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.9.3 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.12.3 [INFO] [stderr] Checking accesskit_winit v0.22.4 [INFO] [stderr] Checking egui-winit v0.29.1 [INFO] [stderr] Checking eframe v0.29.1 [INFO] [stderr] Checking debug-client v0.1.0 (/opt/rustwide/workdir/debug-client) [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> debug-client/src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum ConnectionStatus { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> debug-client/src/network.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct ClientHandler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 77 | out: WsSender, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> debug-client/src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum ConnectionStatus { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> debug-client/src/network.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct ClientHandler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 77 | out: WsSender, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "f173884a5a5f32e1a9513e8580cb9599a6be6a5b60d27af87f0d70ee169775f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f173884a5a5f32e1a9513e8580cb9599a6be6a5b60d27af87f0d70ee169775f7", kill_on_drop: false }` [INFO] [stdout] f173884a5a5f32e1a9513e8580cb9599a6be6a5b60d27af87f0d70ee169775f7