[INFO] cloning repository https://github.com/VoxanyNet/interceptors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VoxanyNet/interceptors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxanyNet%2Finterceptors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxanyNet%2Finterceptors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8f412a7bf142e9579f831ee6db6fd6b090f224c [INFO] building VoxanyNet/interceptors against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxanyNet%2Finterceptors" "/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/VoxanyNet/interceptors [INFO] finished tweaking git repo https://github.com/VoxanyNet/interceptors [INFO] tweaked toml for git repo https://github.com/VoxanyNet/interceptors written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VoxanyNet/interceptors on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VoxanyNet/interceptors 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.27.2 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded bitcode_derive v0.6.5 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded strum_macros v0.27.2 [INFO] [stderr] Downloaded ewebsock v0.8.0 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded nanoserde-derive v0.1.22 [INFO] [stderr] Downloaded downcast-rs v2.0.1 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded cs-utils v0.21.1 [INFO] [stderr] Downloaded bitcode v0.6.6 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] [stderr] Downloaded noise v0.9.0 [INFO] [stderr] Downloaded audrey v0.3.0 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded zerocopy v0.8.26 [INFO] [stderr] Downloaded zerocopy-derive v0.8.26 [INFO] [stderr] Downloaded rapier2d v0.26.1 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded tungstenite v0.23.0 [INFO] [stderr] Downloaded parry2d v0.21.1 [INFO] [stderr] Downloaded mintex v0.1.4 [INFO] [stderr] Downloaded dhat v0.3.3 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded spade v2.14.0 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded nanoserde v0.1.37 [INFO] [stderr] Downloaded bytemuck v1.23.1 [INFO] [stderr] Downloaded audir-sles v0.1.0 [INFO] [stderr] Downloaded ogg v0.7.1 [INFO] [stderr] Downloaded macroquad-tiled v0.2.1 [INFO] [stderr] Downloaded glam v0.30.5 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] [stderr] Downloaded ldtk2 v0.8.0 [INFO] [stderr] Downloaded quad-snd v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f7224b5d3c02836f61404bf075e640ef2382e642668e0738dc35980cb47927c [INFO] running `Command { std: "docker" "start" "-a" "8f7224b5d3c02836f61404bf075e640ef2382e642668e0738dc35980cb47927c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f7224b5d3c02836f61404bf075e640ef2382e642668e0738dc35980cb47927c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7224b5d3c02836f61404bf075e640ef2382e642668e0738dc35980cb47927c", kill_on_drop: false }` [INFO] [stdout] 8f7224b5d3c02836f61404bf075e640ef2382e642668e0738dc35980cb47927c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 390c5c2e4ec215cb7afd38872e0e5daf04b4a62258dd8bcabd8e085b7858713a [INFO] running `Command { std: "docker" "start" "-a" "390c5c2e4ec215cb7afd38872e0e5daf04b4a62258dd8bcabd8e085b7858713a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling nanoserde-derive v0.1.22 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling zune-jpeg v0.5.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nanoserde v0.1.37 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling bitcode_derive v0.6.5 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling spade v2.14.0 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling interceptors v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling mintex v0.1.4 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling dhat v0.3.3 [INFO] [stderr] Compiling noise v0.9.0 [INFO] [stderr] Compiling ldtk2 v0.8.0 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling bitcode v0.6.6 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling ewebsock v0.8.0 [INFO] [stderr] Compiling cs-utils v0.21.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling macroquad-tiled v0.2.1 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling parry2d v0.21.1 [INFO] [stderr] Compiling rapier2d v0.26.1 [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/area.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, str::FromStr, time::Instant}; [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: `mouse_world_pos` [INFO] [stdout] --> src/player.rs:9:347 [INFO] [stdout] | [INFO] [stdout] 9 | ..., get_angle_between_rapier_points, inventory::Inventory, mouse_world_pos, prop::{DissolvedPixel, Prop}, rapier_mouse_world_pos, ra... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `selectable_object_id::SelectableObjectId` [INFO] [stdout] --> src/editor_context_menu.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{button::Button, mouse_world_pos, selectable_object_id::SelectableObjectId, space::Space, uuid_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/area.rs:251:38 [INFO] [stdout] | [INFO] [stdout] 251 | SelectableObjectId::Tile(location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [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] --> src/area.rs:858:13 [INFO] [stdout] | [INFO] [stdout] 858 | let mut tiles: Vec = vec![]; [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: unused variable: `space` [INFO] [stdout] --> src/decoration.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn object_bounding_box(&self, space: Option<&Space>) -> macroquad::prelude::Rect { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/player.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_hud(&self, textures: &TextureLoader) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_camera_y` [INFO] [stdout] --> src/player.rs:317:50 [INFO] [stdout] | [INFO] [stdout] 317 | ...elf, space: &Space, max_camera_y: f32, average_enemy_pos: Option>, ctx: &mut ClientTickContext, minimum_camera_widt... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_camera_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `average_enemy_pos` [INFO] [stdout] --> src/player.rs:317:69 [INFO] [stdout] | [INFO] [stdout] 317 | ...camera_y: f32, average_enemy_pos: Option>, ctx: &mut ClientTickContext, minimum_camera_width: f32, minimum_camera_h... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average_enemy_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_camera_width` [INFO] [stdout] --> src/player.rs:317:139 [INFO] [stdout] | [INFO] [stdout] 317 | ...ickContext, minimum_camera_width: f32, minimum_camera_height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_camera_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_camera_height` [INFO] [stdout] --> src/player.rs:317:166 [INFO] [stdout] | [INFO] [stdout] 317 | ...idth: f32, minimum_camera_height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_camera_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/player.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn handle_bullet_impact(&mut self, space: &Space, bullet_impact: BulletImpactData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bullet_impact` [INFO] [stdout] --> src/player.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn handle_bullet_impact(&mut self, space: &Space, bullet_impact: BulletImpactData) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bullet_impact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_handle` [INFO] [stdout] --> src/player.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | let body_handle = body.body_handle.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/player.rs:421:98 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn change_active_inventory_slot(&mut self, ctx: &mut ClientTickContext, area_id: AreaId, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dropped_items` [INFO] [stdout] --> src/player.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | dropped_items: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dropped_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:502:24 [INFO] [stdout] | [INFO] [stdout] 502 | Item::Prop(prop) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/player.rs:550:50 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn control(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:603:36 [INFO] [stdout] | [INFO] [stdout] 603 | Item::Prop(prop) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:725:32 [INFO] [stdout] | [INFO] [stdout] 725 | Item::Prop(prop) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/player.rs:763:64 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn angle_weapon_to_mouse(&mut self, space: &mut Space, camera_rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:767:28 [INFO] [stdout] | [INFO] [stdout] 767 | Item::Prop(prop) => {return;}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/prop.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn despawn(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/prop.rs:159:85 [INFO] [stdout] | [INFO] [stdout] 159 | ...ze: f32, draw_pos: Vec2, prefabs: &Prefabs, color: Option, rotation: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/prop.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_preview_resolution(&self, size: f32, prefabs: &Prefabs, textures: &TextureLoader) -> Vec2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/prop.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_id` [INFO] [stdout] --> src/prop.rs:256:54 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_io` [INFO] [stdout] --> src/prop.rs:256:71 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dissolved_pixels` [INFO] [stdout] --> src/prop.rs:380:99 [INFO] [stdout] | [INFO] [stdout] 380 | ...rea_id: AreaId, dissolved_pixels: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dissolved_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/body_part.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn owner_tick(&mut self, ctx: &mut ClientTickContext, space: &mut Space) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/body_part.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn owner_tick(&mut self, ctx: &mut ClientTickContext, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_context` [INFO] [stdout] --> src/bullet_trail.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | async fn draw(&mut self, draw_context: &crate::drawable::DrawContext) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider_pos` [INFO] [stdout] --> src/enemy.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let collider_pos = space.collider_set.get(collider_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon` [INFO] [stdout] --> src/enemy.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let weapon = if let Some(weapon) = &mut self.weapon { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy_id` [INFO] [stdout] --> src/enemy.rs:373:32 [INFO] [stdout] | [INFO] [stdout] 373 | WeaponOwner::Enemy(enemy_id) => return, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/enemy.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | WeaponOwner::Player(player_id) => {}, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shotgun` [INFO] [stdout] --> src/enemy.rs:467:37 [INFO] [stdout] | [INFO] [stdout] 467 | WeaponType::Shotgun(shotgun) => if self.last_fired_weapon.elapsed().as_secs_f32() < 1. { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shotgun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/enemy.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | WeaponType::LMG(lmg) => if self.last_fired_weapon.elapsed().as_secs_f32() < 0.01 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_distance` is never read [INFO] [stdout] --> src/enemy.rs:744:21 [INFO] [stdout] | [INFO] [stdout] 744 | lowest_distance = distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/enemy.rs:778:50 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn upright(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/phone.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(&self, textures: &TextureLoader, camera_rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/computer.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | Item::Prop(prop) => true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon_type_item` [INFO] [stdout] --> src/computer.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Item::Weapon(weapon_type_item) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon_type_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/computer.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn name(&self, prefabs: &Prefabs) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hovered_button_color` [INFO] [stdout] --> src/computer.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let hovered_button_color = Color::new(0.78, 0.78, 0.78, 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hovered_button_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_pos` [INFO] [stdout] --> src/computer.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | let prop_pos = draw_context.space.rigid_body_set.get(self.prop.rigid_body_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font` [INFO] [stdout] --> src/computer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let font = draw_context.fonts.get(PathBuf::from("assets/fonts/CutePixel.ttf")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_font` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/dropped_item.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn owner_tick(&mut self, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/dropped_item.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_save(save: DroppedItemSave, space: &mut Space, prefabs: &Prefabs) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_pos` [INFO] [stdout] --> src/car.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let platform_pos = space.rigid_body_set.get(self.platform_body).unwrap().position().translation.vector; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/fragment.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/fragment.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_source` [INFO] [stdout] --> src/fragment.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/fragment.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/fragment.rs:17:86 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn from_save(save: WeaponSave, space: &mut Space, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let position = match self.rigid_body { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | facing: Facing, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let sound = ctx.sounds.get(PathBuf::from("assets\\sounds\\pistol_dry_fire.wav")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:51 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:66 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innacuracy_factor` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:82 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innacuracy_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | let distance = pos.vector - weapon_pos.translation.vector; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option, facing: Fac... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option, facing: Fac... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:122 [INFO] [stdout] | [INFO] [stdout] 46 | ... Option, facing: Facing) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn save(&self, space: &Space) -> SledgeSave { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn draw(&self, space: &Space, textures: &mut TextureLoader, facing: Facing) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:54:75 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn draw(&self, space: &Space, textures: &mut TextureLoader, facing: Facing) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_save(save: LMGSave, space: &mut Space, player_rigid_body_handle: Option, owner: ClientId) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | WeaponType::LMG(lmg) => "LMG".to_string() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | WeaponType::LMG(lmg) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | WeaponType::LMG(lmg) => Vec2::ZERO [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor_context_menu.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn data_editor_export(&self, ctx: &DataEditorContext) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/editor_context_menu.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | fn data_editor_import(&mut self, json: String, ctx: &mut DataEditorContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor_context_menu.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | fn data_editor_import(&mut self, json: String, ctx: &mut DataEditorContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_index` is never read [INFO] [stdout] --> src/editor_context_menu.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | entry_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/selectable_object_id.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | SelectableObject::Tile(tile) => 0, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles` [INFO] [stdout] --> src/selectable_object_id.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | tiles: &'a mut Vec>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/selectable_object_id.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | SelectableObjectId::Tile(location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_body_pos` [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let body_body_pos = Vec2::new(body_body.translation().x, body_body.translation().y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_body_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lib.rs:370:50 [INFO] [stdout] | [INFO] [stdout] 370 | ewebsock::WsEvent::Error(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_nearest` is never used [INFO] [stdout] --> src/lib.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn round_to_nearest(x: i32, n: i32) -> 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 `junk`, `last_changed_inventory_slot`, and `last_autofire` are never read [INFO] [stdout] --> src/player.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | junk: Vec, // you can hold unlimited junk [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | last_changed_inventory_slot: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | last_autofire: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/body_part.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BodyPart { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | scale: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BodyPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/computer.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StoreItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 70 | cost: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_velocity` is never read [INFO] [stdout] --> src/dropped_item.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DroppedItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | previous_velocity: RigidBodyVelocity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DroppedItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body_handle` and `collider_handle` are never read [INFO] [stdout] --> src/junk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Junk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | body_handle: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | collider_handle: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/car.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | left_wheel_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | left_wheel_collider: ColliderHandle, [INFO] [stdout] 13 | left_wheel_revolute_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | left_axle_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | left_axle_collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | left_axle_prismatic_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | right_axle_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | right_axle_collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | right_axle_prismatic_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | right_wheel_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | right_wheel_collider: ColliderHandle, [INFO] [stdout] 27 | right_wheel_revolute_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `texture_source`, `body`, `collider`, and `scale` are never read [INFO] [stdout] --> src/fragment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Fragment { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | texture: PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | texture_source: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | body: RigidBodyHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | scale: f32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/area.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_selectable_object_mut(&mut self, selectable_object_id: SelectableObjectId) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_selectable_object_mut(&mut self, selectable_object_id: SelectableObjectId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl_use_material` [INFO] [stdout] --> src/client/client.rs:4:182 [INFO] [stdout] | [INFO] [stdout] 4 | ..., math::{vec2, Rect}, prelude::{gl_use_default_material, gl_use_material, load_material, Material, ShaderSource}, texture::{draw_t... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dhat-heap` [INFO] [stdout] --> src/client/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "dhat-heap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dhat-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `draw_hitbox` [INFO] [stdout] --> src/editor/editor.rs:3:93 [INFO] [stdout] | [INFO] [stdout] 3 | use interceptors_lib::{Prefabs, area::{Area, AreaSave}, clip::Clip, decoration::Decoration, draw_hitbox, drawable::{DrawContext, Draw... [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: `Path` [INFO] [stdout] --> src/decoration-util/main.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::{self, set_current_dir}, fs, io, path::{Path, PathBuf}, time::Duration}; [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: `Arg` [INFO] [stdout] --> src/decoration-util/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Arg, Parser}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texture::load_image` [INFO] [stdout] --> src/decoration-util/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::{math::Vec2, texture::load_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/server/server.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn handle_disconnected_client(&mut self, client_id: ClientId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/server/server.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | NetworkPacket::MasterUpdate(update) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ping` [INFO] [stdout] --> src/server/server.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | NetworkPacket::Ping(ping) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/server/server.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let client = self.network_io.clients.get_mut(&client_id).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pos` [INFO] [stdout] --> src/server/server.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | let current_pos = area.space.rigid_body_set.get(player.body.body_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `megabits` [INFO] [stdout] --> src/server/server.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let megabits = self.total_bits_sent as f32 / 1000000 as f32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_megabits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/decoration-util/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/client/client.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | let player_pos = player_body.position(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `material`, `spawned`, and `test_button` are never read [INFO] [stdout] --> src/client/client.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | material: Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | spawned: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | fonts: FontLoader, [INFO] [stdout] 97 | test_button: Button [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 `update_camera_to_match_screen_size` is never used [INFO] [stdout] --> src/client/client.rs:603:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn update_camera_to_match_screen_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/editor/editor.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(tile) = self.area.get_tile_at_position_mut(Vector2::new(rapier_mouse_pos.x - 25., rapier_mouse_pos.y - 25.)) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/editor/editor.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | SelectableObject::Tile(tile) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/editor/editor.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | SelectableObject::Tile(tile) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/editor/spawner.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | pub async fn draw_menu(&self, camera_rect: &Rect, textures: &mut TextureLoader, cursor: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/editor/spawner.rs:370:55 [INFO] [stdout] | [INFO] [stdout] 370 | pub async fn draw_menu(&self, camera_rect: &Rect, textures: &mut TextureLoader, cursor: Vec2) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/editor/spawner.rs:370:85 [INFO] [stdout] | [INFO] [stdout] 370 | pub async fn draw_menu(&self, camera_rect: &Rect, textures: &mut TextureLoader, cursor: Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/editor/spawner.rs:317:46 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn spawn(&mut self, area: &mut Area, camera_rect: &Rect, cursor: Vec2, rapier_cursor: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let x = serde_json::to_string_pretty(&x).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_nearest_50` is never used [INFO] [stdout] --> src/editor/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn round_to_nearest_50(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_cursor_move` is never read [INFO] [stdout] --> src/editor/editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AreaEditor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | last_cursor_move: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 59s [INFO] running `Command { std: "docker" "inspect" "390c5c2e4ec215cb7afd38872e0e5daf04b4a62258dd8bcabd8e085b7858713a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390c5c2e4ec215cb7afd38872e0e5daf04b4a62258dd8bcabd8e085b7858713a", kill_on_drop: false }` [INFO] [stdout] 390c5c2e4ec215cb7afd38872e0e5daf04b4a62258dd8bcabd8e085b7858713a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] f14b462ea79169ca1462648c32d1b9a55706c35b4038ab1538b2c88a65232748 [INFO] running `Command { std: "docker" "start" "-a" "f14b462ea79169ca1462648c32d1b9a55706c35b4038ab1538b2c88a65232748", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/area.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, str::FromStr, time::Instant}; [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: `mouse_world_pos` [INFO] [stdout] --> src/player.rs:9:347 [INFO] [stdout] | [INFO] [stdout] 9 | ..., get_angle_between_rapier_points, inventory::Inventory, mouse_world_pos, prop::{DissolvedPixel, Prop}, rapier_mouse_world_pos, ra... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `selectable_object_id::SelectableObjectId` [INFO] [stdout] --> src/editor_context_menu.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{button::Button, mouse_world_pos, selectable_object_id::SelectableObjectId, space::Space, uuid_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/area.rs:251:38 [INFO] [stdout] | [INFO] [stdout] 251 | SelectableObjectId::Tile(location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [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] --> src/area.rs:858:13 [INFO] [stdout] | [INFO] [stdout] 858 | let mut tiles: Vec = vec![]; [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: unused variable: `space` [INFO] [stdout] --> src/decoration.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn object_bounding_box(&self, space: Option<&Space>) -> macroquad::prelude::Rect { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/player.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_hud(&self, textures: &TextureLoader) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_camera_y` [INFO] [stdout] --> src/player.rs:317:50 [INFO] [stdout] | [INFO] [stdout] 317 | ...elf, space: &Space, max_camera_y: f32, average_enemy_pos: Option>, ctx: &mut ClientTickContext, minimum_camera_widt... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_camera_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `average_enemy_pos` [INFO] [stdout] --> src/player.rs:317:69 [INFO] [stdout] | [INFO] [stdout] 317 | ...camera_y: f32, average_enemy_pos: Option>, ctx: &mut ClientTickContext, minimum_camera_width: f32, minimum_camera_h... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average_enemy_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_camera_width` [INFO] [stdout] --> src/player.rs:317:139 [INFO] [stdout] | [INFO] [stdout] 317 | ...ickContext, minimum_camera_width: f32, minimum_camera_height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_camera_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_camera_height` [INFO] [stdout] --> src/player.rs:317:166 [INFO] [stdout] | [INFO] [stdout] 317 | ...idth: f32, minimum_camera_height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_camera_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/player.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn handle_bullet_impact(&mut self, space: &Space, bullet_impact: BulletImpactData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bullet_impact` [INFO] [stdout] --> src/player.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn handle_bullet_impact(&mut self, space: &Space, bullet_impact: BulletImpactData) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bullet_impact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_handle` [INFO] [stdout] --> src/player.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | let body_handle = body.body_handle.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/player.rs:421:98 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn change_active_inventory_slot(&mut self, ctx: &mut ClientTickContext, area_id: AreaId, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dropped_items` [INFO] [stdout] --> src/player.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | dropped_items: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dropped_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:502:24 [INFO] [stdout] | [INFO] [stdout] 502 | Item::Prop(prop) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/player.rs:550:50 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn control(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:603:36 [INFO] [stdout] | [INFO] [stdout] 603 | Item::Prop(prop) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:725:32 [INFO] [stdout] | [INFO] [stdout] 725 | Item::Prop(prop) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/player.rs:763:64 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn angle_weapon_to_mouse(&mut self, space: &mut Space, camera_rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:767:28 [INFO] [stdout] | [INFO] [stdout] 767 | Item::Prop(prop) => {return;}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/prop.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn despawn(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/prop.rs:159:85 [INFO] [stdout] | [INFO] [stdout] 159 | ...ze: f32, draw_pos: Vec2, prefabs: &Prefabs, color: Option, rotation: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/prop.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_preview_resolution(&self, size: f32, prefabs: &Prefabs, textures: &TextureLoader) -> Vec2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/prop.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_id` [INFO] [stdout] --> src/prop.rs:256:54 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_io` [INFO] [stdout] --> src/prop.rs:256:71 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dissolved_pixels` [INFO] [stdout] --> src/prop.rs:380:99 [INFO] [stdout] | [INFO] [stdout] 380 | ...rea_id: AreaId, dissolved_pixels: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dissolved_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/body_part.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn owner_tick(&mut self, ctx: &mut ClientTickContext, space: &mut Space) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/body_part.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn owner_tick(&mut self, ctx: &mut ClientTickContext, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_context` [INFO] [stdout] --> src/bullet_trail.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | async fn draw(&mut self, draw_context: &crate::drawable::DrawContext) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider_pos` [INFO] [stdout] --> src/enemy.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let collider_pos = space.collider_set.get(collider_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon` [INFO] [stdout] --> src/enemy.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let weapon = if let Some(weapon) = &mut self.weapon { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy_id` [INFO] [stdout] --> src/enemy.rs:373:32 [INFO] [stdout] | [INFO] [stdout] 373 | WeaponOwner::Enemy(enemy_id) => return, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/enemy.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | WeaponOwner::Player(player_id) => {}, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shotgun` [INFO] [stdout] --> src/enemy.rs:467:37 [INFO] [stdout] | [INFO] [stdout] 467 | WeaponType::Shotgun(shotgun) => if self.last_fired_weapon.elapsed().as_secs_f32() < 1. { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shotgun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/enemy.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | WeaponType::LMG(lmg) => if self.last_fired_weapon.elapsed().as_secs_f32() < 0.01 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_distance` is never read [INFO] [stdout] --> src/enemy.rs:744:21 [INFO] [stdout] | [INFO] [stdout] 744 | lowest_distance = distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/enemy.rs:778:50 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn upright(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/phone.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(&self, textures: &TextureLoader, camera_rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/computer.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | Item::Prop(prop) => true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon_type_item` [INFO] [stdout] --> src/computer.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Item::Weapon(weapon_type_item) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon_type_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/computer.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn name(&self, prefabs: &Prefabs) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hovered_button_color` [INFO] [stdout] --> src/computer.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let hovered_button_color = Color::new(0.78, 0.78, 0.78, 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hovered_button_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_pos` [INFO] [stdout] --> src/computer.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | let prop_pos = draw_context.space.rigid_body_set.get(self.prop.rigid_body_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font` [INFO] [stdout] --> src/computer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let font = draw_context.fonts.get(PathBuf::from("assets/fonts/CutePixel.ttf")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_font` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/dropped_item.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn owner_tick(&mut self, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/dropped_item.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_save(save: DroppedItemSave, space: &mut Space, prefabs: &Prefabs) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_pos` [INFO] [stdout] --> src/car.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let platform_pos = space.rigid_body_set.get(self.platform_body).unwrap().position().translation.vector; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/fragment.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/fragment.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_source` [INFO] [stdout] --> src/fragment.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/fragment.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/fragment.rs:17:86 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn from_save(save: WeaponSave, space: &mut Space, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let position = match self.rigid_body { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | facing: Facing, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let sound = ctx.sounds.get(PathBuf::from("assets\\sounds\\pistol_dry_fire.wav")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:51 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:66 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innacuracy_factor` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:82 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innacuracy_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | let distance = pos.vector - weapon_pos.translation.vector; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling interceptors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option, facing: Fac... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option, facing: Fac... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:122 [INFO] [stdout] | [INFO] [stdout] 46 | ... Option, facing: Facing) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn save(&self, space: &Space) -> SledgeSave { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn draw(&self, space: &Space, textures: &mut TextureLoader, facing: Facing) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:54:75 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn draw(&self, space: &Space, textures: &mut TextureLoader, facing: Facing) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_save(save: LMGSave, space: &mut Space, player_rigid_body_handle: Option, owner: ClientId) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | WeaponType::LMG(lmg) => "LMG".to_string() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | WeaponType::LMG(lmg) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | WeaponType::LMG(lmg) => Vec2::ZERO [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor_context_menu.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn data_editor_export(&self, ctx: &DataEditorContext) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/editor_context_menu.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | fn data_editor_import(&mut self, json: String, ctx: &mut DataEditorContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor_context_menu.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | fn data_editor_import(&mut self, json: String, ctx: &mut DataEditorContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_index` is never read [INFO] [stdout] --> src/editor_context_menu.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | entry_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/selectable_object_id.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | SelectableObject::Tile(tile) => 0, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles` [INFO] [stdout] --> src/selectable_object_id.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | tiles: &'a mut Vec>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/selectable_object_id.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | SelectableObjectId::Tile(location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_body_pos` [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let body_body_pos = Vec2::new(body_body.translation().x, body_body.translation().y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_body_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lib.rs:370:50 [INFO] [stdout] | [INFO] [stdout] 370 | ewebsock::WsEvent::Error(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_nearest` is never used [INFO] [stdout] --> src/lib.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn round_to_nearest(x: i32, n: i32) -> 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 `junk`, `last_changed_inventory_slot`, and `last_autofire` are never read [INFO] [stdout] --> src/player.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | junk: Vec, // you can hold unlimited junk [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | last_changed_inventory_slot: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | last_autofire: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/body_part.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BodyPart { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | scale: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BodyPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/computer.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StoreItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 70 | cost: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_velocity` is never read [INFO] [stdout] --> src/dropped_item.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DroppedItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | previous_velocity: RigidBodyVelocity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DroppedItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body_handle` and `collider_handle` are never read [INFO] [stdout] --> src/junk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Junk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | body_handle: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | collider_handle: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/car.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | left_wheel_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | left_wheel_collider: ColliderHandle, [INFO] [stdout] 13 | left_wheel_revolute_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | left_axle_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | left_axle_collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | left_axle_prismatic_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | right_axle_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | right_axle_collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | right_axle_prismatic_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | right_wheel_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | right_wheel_collider: ColliderHandle, [INFO] [stdout] 27 | right_wheel_revolute_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `texture_source`, `body`, `collider`, and `scale` are never read [INFO] [stdout] --> src/fragment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Fragment { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | texture: PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | texture_source: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | body: RigidBodyHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | scale: f32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/area.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_selectable_object_mut(&mut self, selectable_object_id: SelectableObjectId) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_selectable_object_mut(&mut self, selectable_object_id: SelectableObjectId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl_use_material` [INFO] [stdout] --> src/client/client.rs:4:182 [INFO] [stdout] | [INFO] [stdout] 4 | ..., math::{vec2, Rect}, prelude::{gl_use_default_material, gl_use_material, load_material, Material, ShaderSource}, texture::{draw_t... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dhat-heap` [INFO] [stdout] --> src/client/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "dhat-heap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dhat-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `draw_hitbox` [INFO] [stdout] --> src/editor/editor.rs:3:93 [INFO] [stdout] | [INFO] [stdout] 3 | use interceptors_lib::{Prefabs, area::{Area, AreaSave}, clip::Clip, decoration::Decoration, draw_hitbox, drawable::{DrawContext, Draw... [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 variable: `player_pos` [INFO] [stdout] --> src/client/client.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | let player_pos = player_body.position(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `material`, `spawned`, and `test_button` are never read [INFO] [stdout] --> src/client/client.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | material: Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | spawned: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | fonts: FontLoader, [INFO] [stdout] 97 | test_button: Button [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 `update_camera_to_match_screen_size` is never used [INFO] [stdout] --> src/client/client.rs:603:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn update_camera_to_match_screen_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/decoration-util/main.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::{self, set_current_dir}, fs, io, path::{Path, PathBuf}, time::Duration}; [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: `Arg` [INFO] [stdout] --> src/decoration-util/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Arg, Parser}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texture::load_image` [INFO] [stdout] --> src/decoration-util/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::{math::Vec2, texture::load_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/decoration-util/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [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_id` [INFO] [stdout] --> src/server/server.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn handle_disconnected_client(&mut self, client_id: ClientId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/editor/editor.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(tile) = self.area.get_tile_at_position_mut(Vector2::new(rapier_mouse_pos.x - 25., rapier_mouse_pos.y - 25.)) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/editor/editor.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | SelectableObject::Tile(tile) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/editor/editor.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | SelectableObject::Tile(tile) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/server/server.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | NetworkPacket::MasterUpdate(update) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ping` [INFO] [stdout] --> src/server/server.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | NetworkPacket::Ping(ping) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/server/server.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let client = self.network_io.clients.get_mut(&client_id).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pos` [INFO] [stdout] --> src/server/server.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | let current_pos = area.space.rigid_body_set.get(player.body.body_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `megabits` [INFO] [stdout] --> src/server/server.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let megabits = self.total_bits_sent as f32 / 1000000 as f32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_megabits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/editor/spawner.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | pub async fn draw_menu(&self, camera_rect: &Rect, textures: &mut TextureLoader, cursor: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/editor/spawner.rs:370:55 [INFO] [stdout] | [INFO] [stdout] 370 | pub async fn draw_menu(&self, camera_rect: &Rect, textures: &mut TextureLoader, cursor: Vec2) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/editor/spawner.rs:370:85 [INFO] [stdout] | [INFO] [stdout] 370 | pub async fn draw_menu(&self, camera_rect: &Rect, textures: &mut TextureLoader, cursor: Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/editor/spawner.rs:317:46 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn spawn(&mut self, area: &mut Area, camera_rect: &Rect, cursor: Vec2, rapier_cursor: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/editor/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let x = serde_json::to_string_pretty(&x).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_nearest_50` is never used [INFO] [stdout] --> src/editor/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn round_to_nearest_50(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_cursor_move` is never read [INFO] [stdout] --> src/editor/editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AreaEditor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | last_cursor_move: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/area.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, str::FromStr, time::Instant}; [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: `mouse_world_pos` [INFO] [stdout] --> src/player.rs:9:347 [INFO] [stdout] | [INFO] [stdout] 9 | ..., get_angle_between_rapier_points, inventory::Inventory, mouse_world_pos, prop::{DissolvedPixel, Prop}, rapier_mouse_world_pos, ra... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `selectable_object_id::SelectableObjectId` [INFO] [stdout] --> src/editor_context_menu.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{button::Button, mouse_world_pos, selectable_object_id::SelectableObjectId, space::Space, uuid_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/area.rs:251:38 [INFO] [stdout] | [INFO] [stdout] 251 | SelectableObjectId::Tile(location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [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] --> src/area.rs:858:13 [INFO] [stdout] | [INFO] [stdout] 858 | let mut tiles: Vec = vec![]; [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: unused variable: `space` [INFO] [stdout] --> src/decoration.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn object_bounding_box(&self, space: Option<&Space>) -> macroquad::prelude::Rect { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/player.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_hud(&self, textures: &TextureLoader) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_camera_y` [INFO] [stdout] --> src/player.rs:317:50 [INFO] [stdout] | [INFO] [stdout] 317 | ...elf, space: &Space, max_camera_y: f32, average_enemy_pos: Option>, ctx: &mut ClientTickContext, minimum_camera_widt... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_camera_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `average_enemy_pos` [INFO] [stdout] --> src/player.rs:317:69 [INFO] [stdout] | [INFO] [stdout] 317 | ...camera_y: f32, average_enemy_pos: Option>, ctx: &mut ClientTickContext, minimum_camera_width: f32, minimum_camera_h... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average_enemy_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_camera_width` [INFO] [stdout] --> src/player.rs:317:139 [INFO] [stdout] | [INFO] [stdout] 317 | ...ickContext, minimum_camera_width: f32, minimum_camera_height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_camera_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_camera_height` [INFO] [stdout] --> src/player.rs:317:166 [INFO] [stdout] | [INFO] [stdout] 317 | ...idth: f32, minimum_camera_height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_camera_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/player.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn handle_bullet_impact(&mut self, space: &Space, bullet_impact: BulletImpactData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bullet_impact` [INFO] [stdout] --> src/player.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn handle_bullet_impact(&mut self, space: &Space, bullet_impact: BulletImpactData) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bullet_impact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_handle` [INFO] [stdout] --> src/player.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | let body_handle = body.body_handle.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/player.rs:421:98 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn change_active_inventory_slot(&mut self, ctx: &mut ClientTickContext, area_id: AreaId, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dropped_items` [INFO] [stdout] --> src/player.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | dropped_items: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dropped_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:502:24 [INFO] [stdout] | [INFO] [stdout] 502 | Item::Prop(prop) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/player.rs:550:50 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn control(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:603:36 [INFO] [stdout] | [INFO] [stdout] 603 | Item::Prop(prop) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:725:32 [INFO] [stdout] | [INFO] [stdout] 725 | Item::Prop(prop) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/player.rs:763:64 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn angle_weapon_to_mouse(&mut self, space: &mut Space, camera_rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/player.rs:767:28 [INFO] [stdout] | [INFO] [stdout] 767 | Item::Prop(prop) => {return;}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/prop.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn despawn(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/prop.rs:159:85 [INFO] [stdout] | [INFO] [stdout] 159 | ...ze: f32, draw_pos: Vec2, prefabs: &Prefabs, color: Option, rotation: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/prop.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_preview_resolution(&self, size: f32, prefabs: &Prefabs, textures: &TextureLoader) -> Vec2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/prop.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_id` [INFO] [stdout] --> src/prop.rs:256:54 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_io` [INFO] [stdout] --> src/prop.rs:256:71 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn server_tick(&mut self, space: &mut Space, area_id: AreaId, server_io: &mut ServerIO) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dissolved_pixels` [INFO] [stdout] --> src/prop.rs:380:99 [INFO] [stdout] | [INFO] [stdout] 380 | ...rea_id: AreaId, dissolved_pixels: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dissolved_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/body_part.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn owner_tick(&mut self, ctx: &mut ClientTickContext, space: &mut Space) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/body_part.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn owner_tick(&mut self, ctx: &mut ClientTickContext, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_context` [INFO] [stdout] --> src/bullet_trail.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | async fn draw(&mut self, draw_context: &crate::drawable::DrawContext) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider_pos` [INFO] [stdout] --> src/enemy.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let collider_pos = space.collider_set.get(collider_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon` [INFO] [stdout] --> src/enemy.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let weapon = if let Some(weapon) = &mut self.weapon { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy_id` [INFO] [stdout] --> src/enemy.rs:373:32 [INFO] [stdout] | [INFO] [stdout] 373 | WeaponOwner::Enemy(enemy_id) => return, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/enemy.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | WeaponOwner::Player(player_id) => {}, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shotgun` [INFO] [stdout] --> src/enemy.rs:467:37 [INFO] [stdout] | [INFO] [stdout] 467 | WeaponType::Shotgun(shotgun) => if self.last_fired_weapon.elapsed().as_secs_f32() < 1. { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shotgun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/enemy.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | WeaponType::LMG(lmg) => if self.last_fired_weapon.elapsed().as_secs_f32() < 0.01 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowest_distance` is never read [INFO] [stdout] --> src/enemy.rs:744:21 [INFO] [stdout] | [INFO] [stdout] 744 | lowest_distance = distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/enemy.rs:778:50 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn upright(&mut self, space: &mut Space, ctx: &mut ClientTickContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_rect` [INFO] [stdout] --> src/phone.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(&self, textures: &TextureLoader, camera_rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/computer.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | Item::Prop(prop) => true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon_type_item` [INFO] [stdout] --> src/computer.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Item::Weapon(weapon_type_item) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon_type_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/computer.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn name(&self, prefabs: &Prefabs) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hovered_button_color` [INFO] [stdout] --> src/computer.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let hovered_button_color = Color::new(0.78, 0.78, 0.78, 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hovered_button_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_pos` [INFO] [stdout] --> src/computer.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | let prop_pos = draw_context.space.rigid_body_set.get(self.prop.rigid_body_handle).unwrap().position(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font` [INFO] [stdout] --> src/computer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let font = draw_context.fonts.get(PathBuf::from("assets/fonts/CutePixel.ttf")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_font` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/dropped_item.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn owner_tick(&mut self, space: &mut Space) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefabs` [INFO] [stdout] --> src/dropped_item.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_save(save: DroppedItemSave, space: &mut Space, prefabs: &Prefabs) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_pos` [INFO] [stdout] --> src/car.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let platform_pos = space.rigid_body_set.get(self.platform_body).unwrap().position().translation.vector; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/fragment.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/fragment.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_source` [INFO] [stdout] --> src/fragment.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/fragment.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/fragment.rs:17:86 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, texture: PathBuf, texture_source: Rect, mass: f32, scale: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn from_save(save: WeaponSave, space: &mut Space, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let position = match self.rigid_body { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | facing: Facing, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let sound = ctx.sounds.get(PathBuf::from("assets\\sounds\\pistol_dry_fire.wav")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:51 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:66 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innacuracy_factor` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:451:82 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn get_bullet_vector_macroquad(&mut self, space: &Space, facing: Facing, innacuracy_factor: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innacuracy_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/weapons/weapon/weapon.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | let distance = pos.vector - weapon_pos.translation.vector; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option, facing: Fac... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option, facing: Fac... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/lmg/weapon.rs:46:122 [INFO] [stdout] | [INFO] [stdout] 46 | ... Option, facing: Facing) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(space: &mut Space, pos: Vector2, owner: ClientId, player_rigid_body_handle: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn save(&self, space: &Space) -> SledgeSave { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn draw(&self, space: &Space, textures: &mut TextureLoader, facing: Facing) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:54:75 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn draw(&self, space: &Space, textures: &mut TextureLoader, facing: Facing) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save` [INFO] [stdout] --> src/weapons/sledge/weapon.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_save(save: LMGSave, space: &mut Space, player_rigid_body_handle: Option, owner: ClientId) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | WeaponType::LMG(lmg) => "LMG".to_string() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | WeaponType::LMG(lmg) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lmg` [INFO] [stdout] --> src/weapons/weapon_type.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | WeaponType::LMG(lmg) => Vec2::ZERO [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lmg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor_context_menu.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn data_editor_export(&self, ctx: &DataEditorContext) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/editor_context_menu.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | fn data_editor_import(&mut self, json: String, ctx: &mut DataEditorContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor_context_menu.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | fn data_editor_import(&mut self, json: String, ctx: &mut DataEditorContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_index` is never read [INFO] [stdout] --> src/editor_context_menu.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | entry_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/selectable_object_id.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | SelectableObject::Tile(tile) => 0, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles` [INFO] [stdout] --> src/selectable_object_id.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | tiles: &'a mut Vec>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/selectable_object_id.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | SelectableObjectId::Tile(location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_body_pos` [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let body_body_pos = Vec2::new(body_body.translation().x, body_body.translation().y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_body_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lib.rs:370:50 [INFO] [stdout] | [INFO] [stdout] 370 | ewebsock::WsEvent::Error(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_nearest` is never used [INFO] [stdout] --> src/lib.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn round_to_nearest(x: i32, n: i32) -> 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 `junk`, `last_changed_inventory_slot`, and `last_autofire` are never read [INFO] [stdout] --> src/player.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | junk: Vec, // you can hold unlimited junk [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | last_changed_inventory_slot: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | last_autofire: web_time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/body_part.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BodyPart { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | scale: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BodyPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/computer.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StoreItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 70 | cost: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_velocity` is never read [INFO] [stdout] --> src/dropped_item.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DroppedItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | previous_velocity: RigidBodyVelocity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DroppedItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body_handle` and `collider_handle` are never read [INFO] [stdout] --> src/junk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Junk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | body_handle: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | collider_handle: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/car.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | left_wheel_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | left_wheel_collider: ColliderHandle, [INFO] [stdout] 13 | left_wheel_revolute_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | left_axle_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | left_axle_collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | left_axle_prismatic_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | right_axle_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | right_axle_collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | right_axle_prismatic_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | right_wheel_body: RigidBodyHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | right_wheel_collider: ColliderHandle, [INFO] [stdout] 27 | right_wheel_revolute_joint: ImpulseJointHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `texture_source`, `body`, `collider`, and `scale` are never read [INFO] [stdout] --> src/fragment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Fragment { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | texture: PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | texture_source: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | body: RigidBodyHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | collider: ColliderHandle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | scale: f32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/area.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_selectable_object_mut(&mut self, selectable_object_id: SelectableObjectId) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_selectable_object_mut(&mut self, selectable_object_id: SelectableObjectId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.95s [INFO] running `Command { std: "docker" "inspect" "f14b462ea79169ca1462648c32d1b9a55706c35b4038ab1538b2c88a65232748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14b462ea79169ca1462648c32d1b9a55706c35b4038ab1538b2c88a65232748", kill_on_drop: false }` [INFO] [stdout] f14b462ea79169ca1462648c32d1b9a55706c35b4038ab1538b2c88a65232748