[INFO] cloning repository https://github.com/rstegg/rpg-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rstegg/rpg-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frstegg%2Frpg-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frstegg%2Frpg-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18fa56eeabec203afe97e2fc02711a02e5792957 [INFO] checking rstegg/rpg-engine against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frstegg%2Frpg-engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rstegg/rpg-engine [INFO] finished tweaking git repo https://github.com/rstegg/rpg-engine [INFO] tweaked toml for git repo https://github.com/rstegg/rpg-engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rstegg/rpg-engine on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rstegg/rpg-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded postgres-types v0.2.13 [INFO] [stderr] Downloaded tokio-postgres v0.7.17 [INFO] [stderr] Downloaded postgres-protocol v0.6.11 [INFO] [stderr] Downloaded postgres v0.19.13 [INFO] [stderr] Downloaded deprecate-until v1.0.0 [INFO] [stderr] Downloaded audir-sles v0.1.0 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded egui-macroquad v0.17.3 [INFO] [stderr] Downloaded egui-miniquad v0.16.0 [INFO] [stderr] Downloaded audrey v0.3.0 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded sapp-jsutils v0.1.7 [INFO] [stderr] Downloaded quad-url v0.1.2 [INFO] [stderr] Downloaded pathfinding v4.15.0 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] [stderr] Downloaded quad-snd v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534 [INFO] running `Command { std: "docker" "start" "8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking cmov v0.5.3 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking ctutils v0.4.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking siphasher v1.0.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking quad-url v0.1.2 [INFO] [stderr] Checking whoami v2.1.2 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking hybrid-array v0.4.12 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking crypto-common v0.2.1 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Checking hmac v0.13.0 [INFO] [stderr] Checking md-5 v0.11.0 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling deprecate-until v1.0.0 [INFO] [stderr] Checking postgres-protocol v0.6.11 [INFO] [stderr] Checking postgres-types v0.2.13 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking pathfinding v4.15.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking tokio-postgres v0.7.17 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking postgres v0.19.13 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking egui-miniquad v0.16.0 [INFO] [stderr] Checking egui-macroquad v0.17.3 [INFO] [stderr] Checking rpg_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/pathfinding.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut start_grid = to_grid(start).clamp(width, height); [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] --> src/world/pathfinding.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut goal_grid = to_grid(goal).clamp(width, height); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mask_key` is never used [INFO] [stdout] --> src/world/chunk.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 86 | fn mask_key(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GATE_OPEN_COLLISION_THRESHOLD` is never used [INFO] [stdout] --> src/world/chunk.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 124 | impl ChunkedWorld { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | const GATE_OPEN_COLLISION_THRESHOLD: f32 = 0.35; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/pathfinding.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut start_grid = to_grid(start).clamp(width, height); [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] --> src/world/pathfinding.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut goal_grid = to_grid(goal).clamp(width, height); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mask_key` is never used [INFO] [stdout] --> src/world/chunk.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 86 | fn mask_key(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GATE_OPEN_COLLISION_THRESHOLD` is never used [INFO] [stdout] --> src/world/chunk.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 124 | impl ChunkedWorld { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | const GATE_OPEN_COLLISION_THRESHOLD: f32 = 0.35; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/bin/server.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH}; [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 imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/bin/server.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH}; [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: `HitboxPaintedMask` [INFO] [stdout] --> src/systems/hitbox_editor.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::world::environment::{self, HitboxConfig, GltfTemplate, HitboxPaintedMask}; [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: `environment::*` [INFO] [stdout] --> src/world/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use environment::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pathfinding::*` [INFO] [stdout] --> src/world/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use pathfinding::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GltfTemplate` [INFO] [stdout] --> src/main.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | use world::environment::{self, HitboxConfig, GltfTemplate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `slide_move_world` [INFO] [stdout] --> src/main.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | use world::pathfinding::{self, slide_move_world}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `anim_frame` and `account_id` are never read [INFO] [stdout] --> src/bin/server.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct ServerPlayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | anim_frame: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | account_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `username`, and `last_heard` are never read [INFO] [stdout] --> src/bin/server.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct PendingClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 54 | addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | account_id: i32, [INFO] [stdout] 56 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | last_heard: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `anim_frame` and `account_id` are never read [INFO] [stdout] --> src/bin/server.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct ServerPlayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | anim_frame: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | account_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `username`, and `last_heard` are never read [INFO] [stdout] --> src/bin/server.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct PendingClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 54 | addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | account_id: i32, [INFO] [stdout] 56 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | last_heard: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `egui_macroquad::egui::PlatformOutput::copied_text`: Use `Context::copy_text` or `PlatformOutput::commands` instead [INFO] [stdout] --> src/main.rs:338:44 [INFO] [stdout] | [INFO] [stdout] 338 | let copy_text = ctx.output(|o| o.copied_text.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HitboxPaintedMask` [INFO] [stdout] --> src/systems/hitbox_editor.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::world::environment::{self, HitboxConfig, GltfTemplate, HitboxPaintedMask}; [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: `environment::*` [INFO] [stdout] --> src/world/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use environment::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pathfinding::*` [INFO] [stdout] --> src/world/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use pathfinding::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GltfTemplate` [INFO] [stdout] --> src/main.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | use world::environment::{self, HitboxConfig, GltfTemplate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `slide_move_world` [INFO] [stdout] --> src/main.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | use world::pathfinding::{self, slide_move_world}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `egui_macroquad::egui::PlatformOutput::copied_text`: Use `Context::copy_text` or `PlatformOutput::commands` instead [INFO] [stdout] --> src/main.rs:338:44 [INFO] [stdout] | [INFO] [stdout] 338 | let copy_text = ctx.output(|o| o.copied_text.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let mut char_select_scroll = 0usize; [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] --> src/main.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let mut char_select_scroll = 0usize; [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: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 69 | visuals.widgets.inactive.bg_stroke = egui::Stroke::new(1.0, egui::Color32::from_rgb(70, 58, 95)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | visuals.widgets.hovered.bg_stroke = egui::Stroke::new(1.5, egui::Color32::from_rgb(180, 140, 60)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:77:58 [INFO] [stdout] | [INFO] [stdout] 77 | visuals.widgets.active.bg_stroke = egui::Stroke::new(2.0, egui::Color32::from_rgb(210, 165, 45)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:81:56 [INFO] [stdout] | [INFO] [stdout] 81 | visuals.widgets.open.bg_stroke = egui::Stroke::new(2.0, egui::Color32::from_rgb(210, 165, 45)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | visuals.selection.stroke = egui::Stroke::new(1.0, egui::Color32::from_rgb(210, 165, 45)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | visuals.text_cursor.stroke = egui::Stroke::new(2.0, egui::Color32::from_rgb(220, 175, 55)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `combat_text_mgr` [INFO] [stdout] --> src/systems/input.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | combat_text_mgr: &mut crate::ui::combat_text::CombatTextManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_combat_text_mgr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/systems/input.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | TargetingState::Aoe(spell, radius) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my` [INFO] [stdout] --> src/systems/hitbox_editor.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let (mx, my) = mouse_position(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_my` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 69 | visuals.widgets.inactive.bg_stroke = egui::Stroke::new(1.0, egui::Color32::from_rgb(70, 58, 95)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | visuals.widgets.hovered.bg_stroke = egui::Stroke::new(1.5, egui::Color32::from_rgb(180, 140, 60)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:77:58 [INFO] [stdout] | [INFO] [stdout] 77 | visuals.widgets.active.bg_stroke = egui::Stroke::new(2.0, egui::Color32::from_rgb(210, 165, 45)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:81:56 [INFO] [stdout] | [INFO] [stdout] 81 | visuals.widgets.open.bg_stroke = egui::Stroke::new(2.0, egui::Color32::from_rgb(210, 165, 45)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | visuals.selection.stroke = egui::Stroke::new(1.0, egui::Color32::from_rgb(210, 165, 45)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | visuals.text_cursor.stroke = egui::Stroke::new(2.0, egui::Color32::from_rgb(220, 175, 55)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/pathfinding.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut start_grid = to_grid(start).clamp(width, height); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/pathfinding.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut goal_grid = to_grid(goal).clamp(width, height); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char_select_scroll` [INFO] [stdout] --> src/main.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let mut char_select_scroll = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_char_select_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_loaded` [INFO] [stdout] --> src/main.rs:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let template_loaded = cluster_editor [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_loaded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/main.rs:1078:54 [INFO] [stdout] | [INFO] [stdout] 1078 | ... if let Some(dest) = srv_dest { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ground_intersection` is never used [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn ground_intersection(camera: &Camera3D) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_contains` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn rect_contains(x: f32, y: f32, w: f32, h: f32, point: (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Punch`, `CarryWalk`, and `Jump` are never constructed [INFO] [stdout] --> src/core/animation.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum AnimationState { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 129 | Punch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | CarryWalk, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 134 | Jump, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/entities/effects.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl EffectManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn draw(&self, camera_pos: Vec3) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stuck_timer` is never read [INFO] [stdout] --> src/entities/enemy.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub stuck_timer: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/net/client.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WorldSnapshot { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 47 | pub tick: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_PLAYERS` is never used [INFO] [stdout] --> src/net/protocol.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAX_PLAYERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER_TICK_RATE` is never used [INFO] [stdout] --> src/net/protocol.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SERVER_TICK_RATE: u64 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PORT` is never used [INFO] [stdout] --> src/net/protocol.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DEFAULT_PORT: u16 = 7878; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CHARACTERS_PER_ACCOUNT` is never used [INFO] [stdout] --> src/net/protocol.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MAX_CHARACTERS_PER_ACCOUNT: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_server_message` is never used [INFO] [stdout] --> src/net/protocol.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn encode_server_message(msg: &ServerMessage) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net/protocol.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | Client(ClientMessage), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacketPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 288 - Client(ClientMessage), [INFO] [stdout] 288 + Client(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster_scroll` is never read [INFO] [stdout] --> src/systems/cluster_editor.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ClusterEditor { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | cluster_scroll: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/world/chunk.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl BiomeType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mask_key` is never used [INFO] [stdout] --> src/world/chunk.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 86 | fn mask_key(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coord`, `biome`, `placements`, and `pathfinding` are never read [INFO] [stdout] --> src/world/chunk.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 96 | pub coord: ChunkCoord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | pub biome: BiomeType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub placements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 99 | pub walkability: Vec>, [INFO] [stdout] 100 | pub pathfinding: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GATE_OPEN_COLLISION_THRESHOLD` is never used [INFO] [stdout] --> src/world/chunk.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 124 | impl ChunkedWorld { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | const GATE_OPEN_COLLISION_THRESHOLD: f32 = 0.35; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_cluster` is never used [INFO] [stdout] --> src/world/cluster.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl MapDocument { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn active_cluster(&self) -> Option<&WorldCluster> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_walkable` is never used [INFO] [stdout] --> src/world/environment.rs:1042:12 [INFO] [stdout] | [INFO] [stdout] 741 | impl WorldSimulation { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1042 | pub fn is_walkable(&self, world_pos: Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/world/environment.rs:1118:12 [INFO] [stdout] | [INFO] [stdout] 1080 | impl WorldEnvironment { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1118 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WalkabilityMap` is never used [INFO] [stdout] --> src/world/pathfinding.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WalkabilityMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `diagnostics` is never read [INFO] [stdout] --> src/world/pathfinding.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PathfindResult { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 27 | pub path: Option>, [INFO] [stdout] 28 | pub diagnostics: PathfindDiagnostics, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathfindResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_of_sight` is never used [INFO] [stdout] --> src/world/pathfinding.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn line_of_sight( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_walkable` is never used [INFO] [stdout] --> src/world/pathfinding.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn sample_walkable( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_walkable_with_radius` is never used [INFO] [stdout] --> src/world/pathfinding.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn is_walkable_with_radius( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slide_move` is never used [INFO] [stdout] --> src/world/pathfinding.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn slide_move( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_path` is never used [INFO] [stdout] --> src/world/pathfinding.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn find_path( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clamp` is never used [INFO] [stdout] --> src/world/pathfinding.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 431 | impl GridPos { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 432 | fn clamp(mut self, width: i32, height: i32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smooth_path` is never used [INFO] [stdout] --> src/world/pathfinding.rs:439:4 [INFO] [stdout] | [INFO] [stdout] 439 | fn smooth_path( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `combat_text_mgr` [INFO] [stdout] --> src/systems/input.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | combat_text_mgr: &mut crate::ui::combat_text::CombatTextManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_combat_text_mgr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/systems/input.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | TargetingState::Aoe(spell, radius) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my` [INFO] [stdout] --> src/systems/hitbox_editor.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let (mx, my) = mouse_position(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_my` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/pathfinding.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut start_grid = to_grid(start).clamp(width, height); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/pathfinding.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut goal_grid = to_grid(goal).clamp(width, height); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char_select_scroll` [INFO] [stdout] --> src/main.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let mut char_select_scroll = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_char_select_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_loaded` [INFO] [stdout] --> src/main.rs:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let template_loaded = cluster_editor [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_loaded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/main.rs:1078:54 [INFO] [stdout] | [INFO] [stdout] 1078 | ... if let Some(dest) = srv_dest { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ground_intersection` is never used [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn ground_intersection(camera: &Camera3D) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_contains` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn rect_contains(x: f32, y: f32, w: f32, h: f32, point: (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Punch`, `CarryWalk`, and `Jump` are never constructed [INFO] [stdout] --> src/core/animation.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum AnimationState { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 129 | Punch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | CarryWalk, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 134 | Jump, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/entities/effects.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl EffectManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn draw(&self, camera_pos: Vec3) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stuck_timer` is never read [INFO] [stdout] --> src/entities/enemy.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub stuck_timer: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/net/client.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WorldSnapshot { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 47 | pub tick: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_PLAYERS` is never used [INFO] [stdout] --> src/net/protocol.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAX_PLAYERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER_TICK_RATE` is never used [INFO] [stdout] --> src/net/protocol.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SERVER_TICK_RATE: u64 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PORT` is never used [INFO] [stdout] --> src/net/protocol.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DEFAULT_PORT: u16 = 7878; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CHARACTERS_PER_ACCOUNT` is never used [INFO] [stdout] --> src/net/protocol.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MAX_CHARACTERS_PER_ACCOUNT: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_server_message` is never used [INFO] [stdout] --> src/net/protocol.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn encode_server_message(msg: &ServerMessage) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net/protocol.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | Client(ClientMessage), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacketPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 288 - Client(ClientMessage), [INFO] [stdout] 288 + Client(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster_scroll` is never read [INFO] [stdout] --> src/systems/cluster_editor.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ClusterEditor { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | cluster_scroll: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/world/chunk.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl BiomeType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mask_key` is never used [INFO] [stdout] --> src/world/chunk.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 86 | fn mask_key(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coord`, `biome`, `placements`, and `pathfinding` are never read [INFO] [stdout] --> src/world/chunk.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 96 | pub coord: ChunkCoord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | pub biome: BiomeType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub placements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 99 | pub walkability: Vec>, [INFO] [stdout] 100 | pub pathfinding: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GATE_OPEN_COLLISION_THRESHOLD` is never used [INFO] [stdout] --> src/world/chunk.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 124 | impl ChunkedWorld { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | const GATE_OPEN_COLLISION_THRESHOLD: f32 = 0.35; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_cluster` is never used [INFO] [stdout] --> src/world/cluster.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl MapDocument { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn active_cluster(&self) -> Option<&WorldCluster> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_walkable` is never used [INFO] [stdout] --> src/world/environment.rs:1042:12 [INFO] [stdout] | [INFO] [stdout] 741 | impl WorldSimulation { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1042 | pub fn is_walkable(&self, world_pos: Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/world/environment.rs:1118:12 [INFO] [stdout] | [INFO] [stdout] 1080 | impl WorldEnvironment { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1118 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WalkabilityMap` is never used [INFO] [stdout] --> src/world/pathfinding.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WalkabilityMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_of_sight` is never used [INFO] [stdout] --> src/world/pathfinding.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn line_of_sight( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_walkable` is never used [INFO] [stdout] --> src/world/pathfinding.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn sample_walkable( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_walkable_with_radius` is never used [INFO] [stdout] --> src/world/pathfinding.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn is_walkable_with_radius( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slide_move` is never used [INFO] [stdout] --> src/world/pathfinding.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn slide_move( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_path` is never used [INFO] [stdout] --> src/world/pathfinding.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn find_path( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clamp` is never used [INFO] [stdout] --> src/world/pathfinding.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 431 | impl GridPos { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 432 | fn clamp(mut self, width: i32, height: i32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smooth_path` is never used [INFO] [stdout] --> src/world/pathfinding.rs:439:4 [INFO] [stdout] | [INFO] [stdout] 439 | fn smooth_path( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.39s [INFO] running `Command { std: "docker" "inspect" "8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534", kill_on_drop: false }` [INFO] [stdout] 8c26bbedd14b598e8ce733f5da7fd79453d082fddfae19d014f65c4a83fea534