[INFO] cloning repository https://github.com/eggmunkee/suri-sprint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eggmunkee/suri-sprint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fsuri-sprint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fsuri-sprint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fce904f665cefd5c6989975724e9bf49e8babcf [INFO] testing eggmunkee/suri-sprint against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fsuri-sprint" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eggmunkee/suri-sprint on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eggmunkee/suri-sprint [INFO] finished tweaking git repo https://github.com/eggmunkee/suri-sprint [INFO] tweaked toml for git repo https://github.com/eggmunkee/suri-sprint written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eggmunkee/suri-sprint 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wrapped2d v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28f9fda496a7618f504d5af205c5ed0e0a8be3f698fdf5de1a9269a15587a774 [INFO] running `Command { std: "docker" "start" "-a" "28f9fda496a7618f504d5af205c5ed0e0a8be3f698fdf5de1a9269a15587a774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f9fda496a7618f504d5af205c5ed0e0a8be3f698fdf5de1a9269a15587a774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f9fda496a7618f504d5af205c5ed0e0a8be3f698fdf5de1a9269a15587a774", kill_on_drop: false }` [INFO] [stdout] 28f9fda496a7618f504d5af205c5ed0e0a8be3f698fdf5de1a9269a15587a774 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9920fe749324485e6755feffbfc960c8038a9beb217928df0c603f86030c1b21 [INFO] running `Command { std: "docker" "start" "-a" "9920fe749324485e6755feffbfc960c8038a9beb217928df0c603f86030c1b21", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling mint v0.5.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling tynm v0.1.4 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling wrapped2d v0.4.0 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling gilrs-core v0.2.5 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling proc-macro-hack v0.5.12 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.3.2 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling ron v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling suri_sprint v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ContextBuilder` [INFO] [stdout] --> src/conf.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{ContextBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FullscreenType`, `NumSamples` [INFO] [stdout] --> src/conf.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::conf::{WindowSetup,WindowMode,FullscreenType,NumSamples}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Axis`, `GamepadId`, `KeyMods` [INFO] [stdout] --> src/core/compat.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::event::{KeyCode,KeyMods,Axis,Button,GamepadId}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/core/compat.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize,Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_squared`, `distance` [INFO] [stdout] --> src/core/physics.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use na::{Point2,Vector2,distance_squared,distance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/core/physics.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, Entity}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Join` [INFO] [stdout] --> src/core/physics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaBody` [INFO] [stdout] --> src/core/physics.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use wrapped2d::dynamics::body::{MetaBody}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Level` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Player_Level, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerLevel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Ghost` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Player_Ghost, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerGhost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Portal` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Player_Portal, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerPortal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Npc_Level` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Npc_Level, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NpcLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Npc_Portal` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Npc_Portal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NpcPortal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Collider_Portal` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Collider_Portal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColliderPortal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ghost_Meow` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Ghost_Meow, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GhostMeow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Meow_Level` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Meow_Level, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `MeowLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Pickup` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Player_Pickup, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerPickup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Collider_Collider` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Collider_Collider, //generic physical touch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColliderCollider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Collider_Sensor` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Collider_Sensor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColliderSensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/core/input.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::event::{KeyCode,KeyMods,Axis,Button,GamepadId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/core/input.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize,Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldAction` [INFO] [stdout] --> src/core/input.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{InputResource,WorldAction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeowBuilder` [INFO] [stdout] --> src/core/input.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entities::meow::{MeowBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/core/world.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{World, WorldExt, Entity, Builder}; // Builder, Component, ReadStorage, System, VecStorage, RunNow [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DispatcherBuilder`, `Dispatcher` [INFO] [stdout] --> src/core/world.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::shred::{Dispatcher, DispatcherBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/core/world.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position`, `Velocity` [INFO] [stdout] --> src/core/world.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::components::{Position, Velocity, LevelSource, register_components}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteConfig`, `SpriteLayer` [INFO] [stdout] --> src/core/world.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::components::sprite::{SpriteLayer,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformBuilder` [INFO] [stdout] --> src/core/world.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::entities::platform::{PlatformBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterBuilder` [INFO] [stdout] --> src/core/world.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entities::player::{CharacterBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GhostBuilder` [INFO] [stdout] --> src/core/world.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::entities::ghost::{GhostBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UIBuilder` [INFO] [stdout] --> src/core/world.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::entities::ui::{UIBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/core/world.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterActorSys` [INFO] [stdout] --> src/core/world.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::systems::interactor::{InterActorSys}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `World` [INFO] [stdout] --> src/core/system.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, RunNow, Entity, Builder}; // Builder, Component, ReadStorage, System, VecStorage, RunNow [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/core/system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/core/system.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::game_state::{GameState,State,RunningState,GameMode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxQueryInfo` [INFO] [stdout] --> src/core/system.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::physics::{BoxQueryInfo}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionResource` [INFO] [stdout] --> src/core/system.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::resources::{InputResource,GameStateResource,ConnectionResource,WorldAction,Camera,GameLog}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteLayer` [INFO] [stdout] --> src/core/system.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::components::sprite::{SpriteLayer,SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhysicsWorld`, `RayCastQueryInfo` [INFO] [stdout] --> src/core/system.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::core::physics::{PhysicsWorld,RayCastQueryInfo}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/core/events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DialogChoice` [INFO] [stdout] --> src/core/events.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::menu_dialog::{DialogChoice}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RunningState` [INFO] [stdout] --> src/core/events.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core::game_state::{GameState,RunningState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteLayer` [INFO] [stdout] --> src/core/events.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::components::sprite::{SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NullStorage` [INFO] [stdout] --> src/components/mod.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{ Component, DenseVecStorage, VecStorage, NullStorage, World, WorldExt, Entity }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/flags/event_flags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NullStorage`, `VecStorage` [INFO] [stdout] --> src/components/flags/event_flags.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{ Component, DenseVecStorage, VecStorage, NullStorage, World, WorldExt, Entity }; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/components/flags/event_flags.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/components/flags/event_flags.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTrait` [INFO] [stdout] --> src/components/flags/event_flags.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::{RenderTrait}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/components/flags/event_flags.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NpcComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::npc::{NpcComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiSpriteComponent`, `SpriteComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::sprite::{SpriteComponent,MultiSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::components::anim_sprite::{AnimSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParticleSysComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::components::particle_sys::{ParticleSysComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/sprite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode`, `Image` [INFO] [stdout] --> src/components/sprite.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,WrapMode,BlendMode}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/components/sprite.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/components/sprite.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LevelItem` [INFO] [stdout] --> src/components/sprite.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::entities::level::{LevelItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/button.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/components/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/player.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `ShaderLock` [INFO] [stdout] --> src/components/player.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,ShaderLock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Velocity` [INFO] [stdout] --> src/components/player.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::{Velocity,PhysicsUpdateTrait}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsBody` [INFO] [stdout] --> src/components/player.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::physics::{PhysicsBody,PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DialogRenderer` [INFO] [stdout] --> src/components/player.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::render::dialog::{DialogRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/components/collision.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra::{Point2,Vector2,distance}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::user_data::NoUserData` [INFO] [stdout] --> src/components/collision.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::user_data::NoUserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaBody` [INFO] [stdout] --> src/components/collision.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use wrapped2d::b2::{MetaBody}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/components/collision.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsBody` [INFO] [stdout] --> src/components/collision.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::physics::{PhysicsWorld, PhysicsBody, PhysicsVec, PhysicsBodyType, PhysicsBodyHandle, EntityType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/components/npc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/npc.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::components::sprite::{SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/components/npc.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/components/npc.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::physics` [INFO] [stdout] --> src/components/portal.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/anim_sprite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode`, `Image` [INFO] [stdout] --> src/components/anim_sprite.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,WrapMode,BlendMode}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/components/anim_sprite.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/components/anim_sprite.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | while (f < self.frame_index) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - while (f < self.frame_index) { [INFO] [stdout] 287 + while f < self.frame_index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/particle_sys.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode`, `WrapMode` [INFO] [stdout] --> src/components/particle_sys.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,WrapMode,BlendMode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/components/particle_sys.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position`, `Velocity` [INFO] [stdout] --> src/components/particle_sys.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::{Position, Velocity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/components/particle_sys.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShaderInputs` [INFO] [stdout] --> src/components/particle_sys.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::resources::{ImageResources,ShaderResources,ShaderInputs,GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/particle_sys.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::components::sprite::{SpriteConfig,SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/pickup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/components/pickup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/pickup.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::components::sprite::{SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::physics` [INFO] [stdout] --> src/components/pickup.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/components/pickup.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::physics::{PhysicsWorld,PickupItemType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/sensor_area.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs_derive::*` [INFO] [stdout] --> src/components/sensor_area.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use specs_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/components/sensor_area.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/sensor_area.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::sprite::{SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteComponent` [INFO] [stdout] --> src/components/sensor_area.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::anim_sprite::{AnimSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionType` [INFO] [stdout] --> src/components/sensor_area.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::logic::{ConnectionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EffectAreaType` [INFO] [stdout] --> src/components/sensor_area.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::entities::effect_area::{EffectAreaType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::physics` [INFO] [stdout] --> src/components/sensor_area.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::core::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PickupItemType` [INFO] [stdout] --> src/components/sensor_area.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::core::physics::{PhysicsWorld,PickupItemType,CollideType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/components/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/platform.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/platform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/platform.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/platform.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/platform.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/platform.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/platform.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/platform.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent`, `SpriteLayer` [INFO] [stdout] --> src/entities/platform.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NpcComponent` [INFO] [stdout] --> src/entities/platform.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::npc::{NpcComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/platform.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicOpType` [INFO] [stdout] --> src/entities/platform.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::logic::{LogicComponent,LogicOpType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/platform.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/empty_box.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/empty_box.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/empty_box.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/empty_box.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/empty_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/empty_box.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/empty_box.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/entities/empty_box.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer,MultiSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/empty_box.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/empty_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/button.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/button.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/button.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/button.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/button.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/button.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/button.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiSpriteComponent`, `SpriteComponent` [INFO] [stdout] --> src/entities/button.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer,MultiSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NpcComponent` [INFO] [stdout] --> src/entities/button.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::npc::{NpcComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/button.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/mouse.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/mouse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/mouse.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/mouse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/mouse.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/mouse.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/mouse.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/mouse.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/entities/mouse.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/portal_area.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/portal_area.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/portal_area.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/portal_area.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/portal_area.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/portal_area.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/portal_area.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteConfig`, `SpriteLayer` [INFO] [stdout] --> src/entities/portal_area.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::sprite::{SpriteLayer,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicOpType` [INFO] [stdout] --> src/entities/portal_area.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::logic::{LogicComponent,LogicOpType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/exit.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/exit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/exit.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/exit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/exit.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/exit.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/exit.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteLayer` [INFO] [stdout] --> src/entities/exit.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::sprite::{SpriteLayer,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/player.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/player.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/player.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/player.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::user_data::*` [INFO] [stdout] --> src/entities/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wrapped2d::user_data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/player.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageResources` [INFO] [stdout] --> src/entities/player.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/entities/player.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::sprite::{SpriteComponent,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParticleSysComponent` [INFO] [stdout] --> src/entities/player.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::particle_sys::{ParticleSysConfig,ParticleSysComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/player.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/meow.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/meow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/meow.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/meow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/meow.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/meow.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/meow.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/meow.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/entities/ui.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{Builder,Entity,World,WorldExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/entities/ui.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionCategory`, `PhysicsWorld` [INFO] [stdout] --> src/entities/ui.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics::{PhysicsWorld,CollisionCategory}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/entities/ui.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | if (!has_image) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (!has_image) { [INFO] [stdout] 27 + if !has_image { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/bowl.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/bowl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/bowl.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/bowl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/bowl.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/bowl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/bowl.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/bowl.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent`, `SpriteLayer` [INFO] [stdout] --> src/entities/bowl.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteComponent` [INFO] [stdout] --> src/entities/bowl.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::anim_sprite::{AnimSpriteComponent,AnimSpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/bowl.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/bowl.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/ball.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/ball.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/ball.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/ball.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/ball.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/ball.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/ball.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/ball.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent`, `SpriteLayer` [INFO] [stdout] --> src/entities/ball.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimSpriteComponent`, `AnimSpriteConfig` [INFO] [stdout] --> src/entities/ball.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::anim_sprite::{AnimSpriteComponent,AnimSpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/ball.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderAnimSpriteFlag` [INFO] [stdout] --> src/entities/ball.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::flags::{RenderSpriteFlag,RenderAnimSpriteFlag}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/ball.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/point_pickup.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/point_pickup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/point_pickup.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/point_pickup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/point_pickup.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/point_pickup.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/point_pickup.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeowComponent` [INFO] [stdout] --> src/entities/point_pickup.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::meow::{MeowComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/point_pickup.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/effect_area.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/effect_area.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/effect_area.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/effect_area.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/effect_area.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/effect_area.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/effect_area.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteConfig` [INFO] [stdout] --> src/entities/effect_area.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::anim_sprite::{AnimSpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeowComponent` [INFO] [stdout] --> src/entities/effect_area.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::meow::{MeowComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/effect_area.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PickupItemType` [INFO] [stdout] --> src/entities/effect_area.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::physics::{PhysicsWorld,CollisionCategory,EntityType,PickupItemType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/entities/geometry.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderAnimSpriteFlag` [INFO] [stdout] --> src/entities/geometry.rs:11:59 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::flags::{RenderFlag,RenderLayerType,RenderAnimSpriteFlag}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/entities/level.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `World` [INFO] [stdout] --> src/entities/level.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{World,WorldExt,Builder}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/entities/level.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterBuilder` [INFO] [stdout] --> src/entities/level.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::entities::player::{CharacterBuilder,PlayerCharacter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionCategory`, `PhysicsWorld` [INFO] [stdout] --> src/entities/level.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics::{PhysicsWorld,CollisionCategory,PickupItemType,EntityType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/entities/level_builder.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{Component,World,WorldExt,Builder,Entity,EntityBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/entities/level_builder.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize,Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeometryComponent` [INFO] [stdout] --> src/entities/level_builder.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::geometry::{GeometryComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LevelPatch` [INFO] [stdout] --> src/entities/level_builder.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::entities::geometry::{LevelGridData,LevelPatch}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/entities/level_builder.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageResources` [INFO] [stdout] --> src/entities/level_builder.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::resources::{ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionCategory`, `PickupItemType` [INFO] [stdout] --> src/entities/level_builder.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::core::physics::{PhysicsWorld,CollisionCategory,PickupItemType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/camera.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/resources/camera.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LevelBounds`, `LevelType` [INFO] [stdout] --> src/resources/camera.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::entities::level_builder::{LevelBounds,LevelType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuItem` [INFO] [stdout] --> src/resources/camera.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::menu_dialog::{MenuItem}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMode` [INFO] [stdout] --> src/resources/camera.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::game_state::{GameState,State,GameMode,RunningState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/resources/image.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/image.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/resources/image.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/resources/connection.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::{Entry}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/resources/connection.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Image` [INFO] [stdout] --> src/resources/connection.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Image,Font}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `GameError`, `GameResult` [INFO] [stdout] --> src/resources/connection.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ggez::{Context,GameResult,GameError}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/connection.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/resources/connection.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use specs::{World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/resources/connection.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyConst` [INFO] [stdout] --> src/resources/shaders.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Shader,EmptyConst,BlendMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Image` [INFO] [stdout] --> src/resources/shaders.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use ggez::graphics::{Image,Font}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/shaders.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/resources/shaders.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use specs::{World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/resources/shaders.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/systems/mod.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::{Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/systems/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `ReadStorage`, `Read`, `System`, `WriteStorage` [INFO] [stdout] --> src/systems/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entities, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | ReadStorage, WriteStorage, System, //VecStorage, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::*` [INFO] [stdout] --> src/systems/interactor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/interactor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/interactor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/systems/interactor.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::{WorldExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2`, `Vector2`, `distance_squared`, `distance` [INFO] [stdout] --> src/systems/interactor.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::nalgebra::{Point2,Vector2,distance,distance_squared}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputResource` [INFO] [stdout] --> src/systems/interactor.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{InputResource,GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/interactor.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Join` [INFO] [stdout] --> src/systems/interactor.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputResource`, `WorldAction` [INFO] [stdout] --> src/systems/logic.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::resources::{InputResource,WorldAction,GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/logic.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/animation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/systems/animation.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/animation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState`, `RunningState` [INFO] [stdout] --> src/systems/animation.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState,RunningState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/animation.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 32 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/particles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/systems/particles.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/particles.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState`, `RunningState` [INFO] [stdout] --> src/systems/particles.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState,RunningState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/particles.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 34 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2`, `Vector2`, `distance_squared`, `distance` [INFO] [stdout] --> src/systems/physics.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Point2,Vector2,distance_squared,distance}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/systems/physics.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{World, WorldExt, Entity, Builder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/systems/physics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameError` [INFO] [stdout] --> src/render/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `DrawMode` [INFO] [stdout] --> src/render/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::graphics::{DrawMode,Align}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillOptions`, `Scale`, `StrokeOptions` [INFO] [stdout] --> src/render/mod.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Color,StrokeOptions,Rect,FillOptions,DrawParam,Scale,set_window_title}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `System`, `WriteStorage` [INFO] [stdout] --> src/render/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use specs::{Entity,World,WorldExt,System,WriteStorage}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/render/level.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/render/level.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Scale`, `set_window_title` [INFO] [stdout] --> src/render/level.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,Scale,set_window_title}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/render/dialog.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_window_title` [INFO] [stdout] --> src/render/dialog.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,Scale,FillOptions,set_window_title}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/render/paused.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/render/paused.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/render/paused.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawParam`, `Scale`, `set_window_title` [INFO] [stdout] --> src/render/paused.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,Scale,set_window_title}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Velocity` [INFO] [stdout] --> src/render/mod.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::components::{Position,Velocity,RenderTrait,RenderFlag,RenderLayerType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LevelItem` [INFO] [stdout] --> src/render/mod.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::entities::level_builder::{LevelItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/render/mod.rs:1215:49 [INFO] [stdout] | [INFO] [stdout] 1215 | ... 0.0, 1.0, match (*value) { true => 1.0, false => 0.0 } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1215 - 0.0, 1.0, match (*value) { true => 1.0, false => 0.0 } [INFO] [stdout] 1215 + 0.0, 1.0, match *value { true => 1.0, false => 0.0 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/mod.rs:504:125 [INFO] [stdout] | [INFO] [stdout] 504 | fn render_item(ctx: &mut Context, world: &World, entity: Entity, pt: &na::Point2, item_index: usize, render_item: &RenderTrait) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 504 | fn render_item(ctx: &mut Context, world: &World, entity: Entity, pt: &na::Point2, item_index: usize, render_item: &dyn RenderTrait) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/core/physics.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, Entity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/render/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/core/input.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{World, WorldExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/core/system.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, RunNow, Entity, Builder}; // Builder, Component, ReadStorage, System, VecStorage, RunNow [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/entities/level.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{World,WorldExt,Builder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components` [INFO] [stdout] --> src/systems/animation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Fraction` is named the same as one of the variants of the type `core::physics::RayCastBehaviorType` [INFO] [stdout] --> src/core/physics.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `core::physics::RayCastBehaviorType::Fraction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `All` is named the same as one of the variants of the type `core::physics::RayCastBehaviorType` [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `core::physics::RayCastBehaviorType::All` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | -------- matches any value [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/input.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/input.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/systems/physics.rs:545:29 [INFO] [stdout] | [INFO] [stdout] 481 | ... _ => { [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 545 | ... _ => {} [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/render/mod.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/conf.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let config: T = match from_reader(f) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/conf.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Fraction` [INFO] [stdout] --> src/core/physics.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Fraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `All` [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_All` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixt_a_mask` [INFO] [stdout] --> src/core/physics.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let fixt_a_mask = filt_a.mask_bits; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixt_a_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixt_b_cat` [INFO] [stdout] --> src/core/physics.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let fixt_b_cat = filt_b.category_bits; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixt_b_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/core/physics.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let dot = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_dot` [INFO] [stdout] --> src/core/physics.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let local_dot = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixture` [INFO] [stdout] --> src/core/physics.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | let fixture = body.fixture(fixture_handle); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_type` [INFO] [stdout] --> src/core/physics.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | query_type: RayCastBehaviorType) -> RayCastQueryInfo { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/core/input.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | keymod: KeyMods,) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/core/input.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | id: GamepadId) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/core/input.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | keymod: KeyMods,) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/core/input.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | id: GamepadId) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/core/world.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/core/world.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | fn init_world(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/world.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | fn init_world(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/core/world.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | fn init_world(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/world.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/core/world.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/core/world.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `meows` is never read [INFO] [stdout] --> src/core/system.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | let mut meows = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clicks` is never read [INFO] [stdout] --> src/core/system.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | let mut clicks = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_ghost` [INFO] [stdout] --> src/core/system.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | let mut spawn_ghost = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_box` [INFO] [stdout] --> src/core/system.rs:763:17 [INFO] [stdout] | [INFO] [stdout] 763 | let mut spawn_box = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_platform` [INFO] [stdout] --> src/core/system.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 764 | let mut spawn_platform = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_mouse` [INFO] [stdout] --> src/core/system.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let mut spawn_mouse = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_closed_box` [INFO] [stdout] --> src/core/system.rs:766:17 [INFO] [stdout] | [INFO] [stdout] 766 | let mut spawn_closed_box = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_closed_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/system.rs:866:64 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, time_delta: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/core/system.rs:866:83 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/core/events.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | repeat: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/components/flags/event_flags.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update_item(&self, game_state: &GameState, ctx: &mut Context, event_type: EventFlagType) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/flags/event_flags.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update_item(&self, game_state: &GameState, ctx: &mut Context, event_type: EventFlagType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/components/flags/event_flags.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pre_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/flags/event_flags.rs:95:55 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pre_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/components/flags/event_flags.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn post_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/flags/event_flags.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn post_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(ctx: &mut Context, char_img: &String, z_order: f32) -> SpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_reader` [INFO] [stdout] --> src/components/sprite.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let collision_reader = world.read_storage::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/sprite.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_run_time` [INFO] [stdout] --> src/components/sprite.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/components/sprite.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let w = texture.width(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/components/sprite.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let h = texture.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/components/sprite.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: game_run_time}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn new(ctx: &mut Context) -> MultiSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/sprite.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new(ctx: &mut Context) -> ParallaxSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:321:34 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn add_sprite(&mut self, ctx: &mut Context, sprite: SpriteComponent, scroll_multiplier: f32, offset: (f32, f32)) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrw` [INFO] [stdout] --> src/components/sprite.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scrw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrh` [INFO] [stdout] --> src/components/sprite.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scrh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/sprite.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_body_handle` [INFO] [stdout] --> src/components/button.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some((other_body_handle, joint_handle)) = &joints.nth(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/player.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn new(ctx: &mut Context, char_img: &String, player_char: PlayerCharacter) -> CharacterDisplayComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn process_walk(&mut self, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:376:45 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn process_walk_overhead(&mut self, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:431:36 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn process_idle(&mut self, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_movement` [INFO] [stdout] --> src/components/player.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | fn process_facing_moving(&mut self, body_movement: na::Vector2::, time_delta: f32) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:600:76 [INFO] [stdout] | [INFO] [stdout] 600 | fn process_facing_moving(&mut self, body_movement: na::Vector2::, time_delta: f32) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:617:75 [INFO] [stdout] | [INFO] [stdout] 617 | ...ent: na::Vector2::, time_delta: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/player.rs:1003:38 [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/player.rs:1003:53 [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:1003:87 [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/player.rs:1004:9 [INFO] [stdout] | [INFO] [stdout] 1004 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/player.rs:1005:9 [INFO] [stdout] | [INFO] [stdout] 1005 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/player.rs:1006:9 [INFO] [stdout] | [INFO] [stdout] 1006 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/player.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/player.rs:1015:54 [INFO] [stdout] | [INFO] [stdout] 1015 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:1015:88 [INFO] [stdout] | [INFO] [stdout] 1015 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/player.rs:1017:9 [INFO] [stdout] | [INFO] [stdout] 1017 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/player.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/player.rs:1062:17 [INFO] [stdout] | [INFO] [stdout] 1062 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exhaust_radius` [INFO] [stdout] --> src/components/player.rs:1110:13 [INFO] [stdout] | [INFO] [stdout] 1110 | let exhaust_radius = 27.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exhaust_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_rot` [INFO] [stdout] --> src/components/player.rs:1111:13 [INFO] [stdout] | [INFO] [stdout] 1111 | let self_rot = self.rot; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_green` [INFO] [stdout] --> src/components/player.rs:1112:13 [INFO] [stdout] | [INFO] [stdout] 1112 | let texture_green = if self.jump_duration <= 0.0 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_num` [INFO] [stdout] --> src/components/player.rs:1146:29 [INFO] [stdout] | [INFO] [stdout] 1146 | let mut frame_num = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `psys` [INFO] [stdout] --> src/components/player.rs:1230:25 [INFO] [stdout] | [INFO] [stdout] 1230 | if let Some(psys) = psys_reader.get(entity) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_psys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_index` [INFO] [stdout] --> src/components/player.rs:1053:96 [INFO] [stdout] | [INFO] [stdout] 1053 | fn draw(&self, ctx: &mut Context, world: &World, ent: Option, pos: na::Point2::, item_index: usize) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_handle` [INFO] [stdout] --> src/components/collision.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(body_handle) = self.body_handle { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/components/collision.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | for (fixture, meta) in body.fixtures() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/collision.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_vel` is never read [INFO] [stdout] --> src/components/collision.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut curr_vel = physics::PhysicsVec { x: self.vel.x, y: self.vel.y }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_pos` [INFO] [stdout] --> src/components/collision.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | let mut updated_pos = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/collision.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/collision.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_id` [INFO] [stdout] --> src/components/collision.rs:639:18 [INFO] [stdout] | [INFO] [stdout] 639 | for (entity_id, collide_type) in &self.body_contacts { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collide_type` [INFO] [stdout] --> src/components/collision.rs:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | for (entity_id, collide_type) in &self.body_contacts { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collide_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/collision.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/collision.rs:595:88 [INFO] [stdout] | [INFO] [stdout] 595 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/collision.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/collision.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/collision.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_movement` [INFO] [stdout] --> src/components/npc.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn update(&mut self, body_movement: na::Vector2::, time_delta: f32, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_movement` [INFO] [stdout] --> src/components/npc.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn update_overhead(&mut self, body_movement: na::Vector2::, time_delta: f32, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/components/portal.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_anim_sprite(&mut self, delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mu... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/components/portal.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | ...ut self, delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/portal.rs:74:120 [INFO] [stdout] | [INFO] [stdout] 74 | ... AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/anim_sprite.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(ctx: &mut Context, char_img: &String, z_order: f32) -> AnimSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_num` [INFO] [stdout] --> src/components/anim_sprite.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let frame_num = grid_layout.cols * grid_layout.rows; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/anim_sprite.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_run_time` [INFO] [stdout] --> src/components/anim_sprite.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/components/anim_sprite.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let w = texture.width(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/components/anim_sprite.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let h = texture.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/components/anim_sprite.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: game_run_time}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/anim_sprite.rs:460:16 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn new(ctx: &mut Context) -> MultiAnimSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/anim_sprite.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/particle_sys.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new(ctx: &mut Context) -> ParticleSysComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/particle_sys.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/particle_sys.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/components/particle_sys.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut angle = self.ang; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_run_time` [INFO] [stdout] --> src/components/particle_sys.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_run_time` [INFO] [stdout] --> src/components/particle_sys.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let game_run_time = gs_res.game_run_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_res` [INFO] [stdout] --> src/components/particle_sys.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | let mut shader_res = world.fetch_mut::(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/components/particle_sys.rs:438:29 [INFO] [stdout] | [INFO] [stdout] 438 | let w = texture.width(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/components/particle_sys.rs:439:29 [INFO] [stdout] | [INFO] [stdout] 439 | let h = texture.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/components/particle_sys.rs:371:54 [INFO] [stdout] | [INFO] [stdout] 371 | fn draw(&self, ctx: &mut Context, world: &World, ent: Option, pos: na::Point2::, _item_index: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/pickup.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/sensor_area.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/components/sensor_area.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/sensor_area.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/sensor_area.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/sensor_area.rs:59:87 [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/sensor_area.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/sensor_area.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/sensor_area.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/sensor_area.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/components/sensor_area.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let body = physics_world.body(body_handle); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/sensor_area.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/sensor_area.rs:69:88 [INFO] [stdout] | [INFO] [stdout] 69 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/sensor_area.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/sensor_area.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/sensor_area.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/mod.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/mod.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/mod.rs:82:87 [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/mod.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/mod.rs:89:55 [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/mod.rs:89:89 [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npc` [INFO] [stdout] --> src/entities/empty_box.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let npc = NpcComponent::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/empty_box.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `joint_handle` [INFO] [stdout] --> src/entities/button.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let joint_handle = Self::build_joint(physics_world, &mut collision, 0.25, 0.4, height, &body_handle, &trigger_handle); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_joint_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_y` [INFO] [stdout] --> src/entities/button.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let off_y = create_size(bottom_offset.y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_off_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_y` [INFO] [stdout] --> src/entities/button.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let off_y = create_size(bottom_offset.y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_off_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/entities/button.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/entities/button.rs:242:77 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `restitution` [INFO] [stdout] --> src/entities/button.rs:242:91 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restitution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/mouse.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_num` is never read [INFO] [stdout] --> src/entities/player.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut player_num = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_type` [INFO] [stdout] --> src/entities/player.rs:38:135 [INFO] [stdout] | [INFO] [stdout] 38 | ...player: PlayerCharacter, level_type: &LevelType) -> Entity { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_num` is never read [INFO] [stdout] --> src/entities/player.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let mut player_num = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_type` [INFO] [stdout] --> src/entities/player.rs:169:131 [INFO] [stdout] | [INFO] [stdout] 169 | ...player: PlayerCharacter, level_type: &LevelType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/bowl.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/ball.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/entities/effect_area.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, z: f32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/entities/effect_area.rs:35:106 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, z: f32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_area_type` [INFO] [stdout] --> src/entities/effect_area.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | width: f32, height: f32, effect_area_type: EffectAreaType) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_area_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/entities/geometry.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | for i in 0..mod_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/entities/geometry.rs:418:56 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, grid_data: LevelGridData) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_type` [INFO] [stdout] --> src/entities/level_builder.rs:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | LevelItem::Connection { from, to, conn_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `conn_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/resources/camera.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn update(game_state: &GameState, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/resources/connection.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | ... if let Some( (ref mut curr_input_value, ref mut val, ref mut flag, ref mut input_counter)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/resources/connection.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/resources/connection.rs:127:48 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_count` [INFO] [stdout] --> src/resources/connection.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_val` [INFO] [stdout] --> src/resources/connection.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some( (ref mut in_val, ref mut val, ref mut flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_count` [INFO] [stdout] --> src/resources/connection.rs:141:70 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some( (ref mut in_val, ref mut val, ref mut flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_val` [INFO] [stdout] --> src/resources/connection.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get(input_key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/resources/connection.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get(input_key) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_count` [INFO] [stdout] --> src/resources/connection.rs:156:58 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get(input_key) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_val` [INFO] [stdout] --> src/resources/connection.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some( (ref mut in_val, ref mut val, ref mut flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/resources/connection.rs:166:47 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some( (ref mut in_val, ref mut val, ref mut flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_count` [INFO] [stdout] --> src/resources/connection.rs:166:70 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some( (ref mut in_val, ref mut val, ref mut flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_val` [INFO] [stdout] --> src/resources/connection.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get(input_key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/resources/connection.rs:174:39 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get(input_key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_count` [INFO] [stdout] --> src/resources/connection.rs:174:58 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get(input_key) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `out_value` is never read [INFO] [stdout] --> src/resources/connection.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut out_value = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flagged` [INFO] [stdout] --> src/resources/connection.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let flagged = self.set_in_value(&out_key, Some(out_value), true, Some(LogicOpType::Or), debug); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flagged` [INFO] [stdout] --> src/resources/connection.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | let flagged = self.set_in_value(&out_key, in_value, true, Some(LogicOpType::Or), debug); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_pressed` [INFO] [stdout] --> src/systems/input.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut use_pressed = input.keys_pressed.iter().filter(|&k| k == &InputKey::P1UseAction).collect::>().len() > 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/systems/input.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | mut game_state, input, camera, ent, lazy): Self::SystemData) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/systems/interactor.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/interactor.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel` [INFO] [stdout] --> src/systems/interactor.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/interactor.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_res` [INFO] [stdout] --> src/systems/interactor.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/interactor.rs:58:63 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/logic.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/logic.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/logic.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/animation.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | for (mut anim_sprite, ent) in (&mut anim_sprites, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lazy` [INFO] [stdout] --> src/systems/animation.rs:31:72 [INFO] [stdout] | [INFO] [stdout] 31 | fn run(&mut self, (mut anim_sprites, mut game_state, mut entities, lazy): Self::SystemData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lazy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/particles.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | for (mut particle_sys, pos, opt_vel, ent) in (&mut particle_systems, &position, (&velocity).maybe(), &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lazy` [INFO] [stdout] --> src/systems/particles.rs:33:96 [INFO] [stdout] | [INFO] [stdout] 33 | fn run(&mut self, (mut particle_systems, position, velocity, mut game_state, mut entities, lazy): Self::SystemData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lazy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | ... for (mut collision, mut pos, mut character, mut npc, ent) in (&mut phys_writer, &mut pos_writer, (&mut char_writer).maybe(),(&mut n... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npc_comp` [INFO] [stdout] --> src/systems/physics.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(ref mut npc_comp) = npc { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_npc_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/systems/physics.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:100:50 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup` [INFO] [stdout] --> src/systems/physics.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portal` [INFO] [stdout] --> src/systems/physics.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_portal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | for (mut collision, logic, ent) in (&mut phys_writer, &logic_reader, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/systems/physics.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | for (mut character, mut collision, mut pos, ent) in [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:158:48 [INFO] [stdout] | [INFO] [stdout] 158 | for (mut character, mut collision, mut pos, ent) in [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | for (mut character, mut collision, mut pos, ent) in [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/systems/physics.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | for (id, contact_type) in collision.body_contacts.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_type` [INFO] [stdout] --> src/systems/physics.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | for (id, contact_type) in collision.body_contacts.iter() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/systems/physics.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:166:50 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup` [INFO] [stdout] --> src/systems/physics.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:176:50 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/physics.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portal` [INFO] [stdout] --> src/systems/physics.rs:180:42 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_portal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/systems/physics.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent_type_1` [INFO] [stdout] --> src/systems/physics.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | ent_type_1: &EntityType, ent_type_2: &EntityType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ent_type_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lvl_type` is never read [INFO] [stdout] --> src/systems/physics.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut lvl_type : LevelType = LevelType::default(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `existing_portal` is assigned to, but never used [INFO] [stdout] --> src/systems/physics.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | let mut existing_portal = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_existing_portal` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `existing_portal` is never read [INFO] [stdout] --> src/systems/physics.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | existing_portal = collision.portal_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fix_a` [INFO] [stdout] --> src/systems/physics.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | let (bh_a, fix_a) = contact.fixture_a(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fix_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bh_a` [INFO] [stdout] --> src/systems/physics.rs:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | let (bh_a, fix_a) = contact.fixture_a(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bh_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fix_a` [INFO] [stdout] --> src/systems/physics.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | let (bh_a, fix_a) = contact.fixture_a(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fix_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bh_b` [INFO] [stdout] --> src/systems/physics.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | let (bh_b, fix_b) = contact.fixture_b(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bh_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fix_b` [INFO] [stdout] --> src/systems/physics.rs:349:32 [INFO] [stdout] | [INFO] [stdout] 349 | let (bh_b, fix_b) = contact.fixture_b(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fix_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_type` [INFO] [stdout] --> src/render/level.rs:301:52 [INFO] [stdout] | [INFO] [stdout] 301 | LevelItem::EffectArea {x, y, w, h, area_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `area_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/render/level.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | LevelItem::ImportSection { x, y, name } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/render/level.rs:332:47 [INFO] [stdout] | [INFO] [stdout] 332 | LevelItem::ImportSection { x, y, name } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/render/level.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | LevelItem::ImportSection { x, y, name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_w` [INFO] [stdout] --> src/render/dialog.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let text_w = dialog_text.width(ctx); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_h` [INFO] [stdout] --> src/render/dialog.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let text_h = dialog_text.height(ctx); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `draw_ok` is assigned to, but never used [INFO] [stdout] --> src/render/dialog.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let mut draw_ok = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_draw_ok` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `draw_ok` is never read [INFO] [stdout] --> src/render/dialog.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | draw_ok = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_scale` [INFO] [stdout] --> src/render/dialog.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let text_scale = DialogRenderer::get_default_text_scale(game_state); //(win_w.min(win_h) / 50.0).max(5.0).min(50.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_ok` [INFO] [stdout] --> src/render/dialog.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut draw_ok = true; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/render/mod.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | ... let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: self.game_run_time}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_res` [INFO] [stdout] --> src/render/mod.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | let mut shader_res = world.fetch_mut::(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_scale` [INFO] [stdout] --> src/render/mod.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let x_scale = scl; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_x` [INFO] [stdout] --> src/render/mod.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | let src_x = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_src_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_y` [INFO] [stdout] --> src/render/mod.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let src_y = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_src_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/render/mod.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | let res = graphics::draw(ctx, &image, DrawParam::default() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_player_num` [INFO] [stdout] --> src/render/mod.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | let current_player_num = gs_res.player_1_char_num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_player_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/render/mod.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | for (render_flag, character, pos, ent) in (&render_res, &char_disp, &pos, &entities).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/render/mod.rs:511:64 [INFO] [stdout] | [INFO] [stdout] 511 | fn generate_render_list(&mut self, game_state: &GameState, ctx: &mut Context, world: &World) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/render/mod.rs:511:83 [INFO] [stdout] | [INFO] [stdout] 511 | fn generate_render_list(&mut self, game_state: &GameState, ctx: &mut Context, world: &World) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/render/mod.rs:780:29 [INFO] [stdout] | [INFO] [stdout] 780 | let mut x = start_x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/render/mod.rs:781:29 [INFO] [stdout] | [INFO] [stdout] 781 | let mut y = start_y; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> src/render/mod.rs:796:29 [INFO] [stdout] | [INFO] [stdout] 796 | let points = if shape == PatchCellShape::Square { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_x` [INFO] [stdout] --> src/render/mod.rs:920:33 [INFO] [stdout] | [INFO] [stdout] 920 | ... let pos_x = start_x + (i as f32 * x_size); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_y` [INFO] [stdout] --> src/render/mod.rs:921:33 [INFO] [stdout] | [INFO] [stdout] 921 | ... let pos_y = start_y + (j as f32 * y_size); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/render/mod.rs:922:33 [INFO] [stdout] | [INFO] [stdout] 922 | ... let color = if val > 0 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/render/mod.rs:994:74 [INFO] [stdout] | [INFO] [stdout] 994 | fn pre_render_list(&self, game_state: &GameState, ctx: &mut Context, world: &World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/render/mod.rs:1007:51 [INFO] [stdout] | [INFO] [stdout] 1007 | fn post_render_list(&self, ctx: &mut Context, world: &World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bg_alpha` [INFO] [stdout] --> src/render/mod.rs:1106:17 [INFO] [stdout] | [INFO] [stdout] 1106 | let bg_alpha = match menu_layer { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bg_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_range_item` [INFO] [stdout] --> src/render/mod.rs:1157:25 [INFO] [stdout] | [INFO] [stdout] 1157 | let mut is_range_item = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_range_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/world.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut wactions = input.actions.drain(0..).collect::>(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | let mut spawn_ghost = false; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | let mut spawn_box = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | let mut spawn_platform = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:765:13 [INFO] [stdout] | [INFO] [stdout] 765 | let mut spawn_mouse = false; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:766:13 [INFO] [stdout] | [INFO] [stdout] 766 | let mut spawn_closed_box = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(mut images) = world.get_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: game_run_time}); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut display_offset = na::Point2::new(camera.display_offset.0, camera.display_offset.1); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/sprite.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/button.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut button = ButtonComponent { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/button.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut button = ButtonTriggerComponent { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/player.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let mut vertical_move_amt = 75.0; //75 // 45.0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/player.rs:1062:13 [INFO] [stdout] | [INFO] [stdout] 1062 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/player.rs:1146:25 [INFO] [stdout] | [INFO] [stdout] 1146 | let mut frame_num = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/collision.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let mut body = physics_world.body_mut(handle); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/collision.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | let mut body = physics_world.body_mut(body_handle); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/collision.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | let mut body = physics_world.body_mut(body_handle); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/collision.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/collision.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | let mut updated_pos = false; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/npc.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut npc = NpcComponent { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/portal.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut portal = PortalComponent { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/anim_sprite.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(mut images) = world.get_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/anim_sprite.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/anim_sprite.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/anim_sprite.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: game_run_time}); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/anim_sprite.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/particle_sys.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(mut images) = world.get_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/particle_sys.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/particle_sys.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | let mut angle = self.ang; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/particle_sys.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let mut shader_res = world.fetch_mut::(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/ui.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(mut images) = world.get_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/effect_area.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut sensor_area = SensorAreaComponent::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/geometry.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(mut images) = world.get_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/level_builder.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let mut connection = &mut *connection_res; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resources/image.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(mut images) = world.get_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/input.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut use_pressed = input.keys_pressed.iter().filter(|&k| k == &InputKey::P1UseAction).collect::>().len() > 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/interactor.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/interactor.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&mut self, (mut pos, mut vel, collision, game_res, ent): Self::SystemData) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/interactor.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 35 | fn run(&mut self, (mut logic_res, mut portal_res, mut button_res, mut sprite_res, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | game_state, mut connection, mut entities): Self::SystemData) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut flagged_ct : i32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | for (mut logic, ent) in (&mut logic_res, &entities).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/logic.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(mut part_sys) = particle_res.get_mut(ent) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/animation.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | fn run(&mut self, (mut anim_sprites, mut game_state, mut entities, lazy): Self::SystemData) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/animation.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | fn run(&mut self, (mut anim_sprites, mut game_state, mut entities, lazy): Self::SystemData) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/animation.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (mut anim_sprite, ent) in (&mut anim_sprites, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/particles.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | fn run(&mut self, (mut particle_systems, position, velocity, mut game_state, mut entities, lazy): Self::SystemData) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/particles.rs:33:82 [INFO] [stdout] | [INFO] [stdout] 33 | fn run(&mut self, (mut particle_systems, position, velocity, mut game_state, mut entities, lazy): Self::SystemData) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | ... for (mut collision, mut pos, mut character, mut npc, ent) in (&mut phys_writer, &mut pos_writer, (&mut char_writer).maybe(),(&mut n... [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | ... for (mut collision, mut pos, mut character, mut npc, ent) in (&mut phys_writer, &mut pos_writer, (&mut char_writer).maybe(),(&mut n... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | for (mut collision, mut pos, mut character, mut npc, ent) in [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | for (mut collision, mut pos, mut character, mut npc, ent) in [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | for (mut collision, logic, ent) in (&mut phys_writer, &logic_reader, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | for (mut character, mut collision, mut pos, ent) in [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | for (mut character, mut collision, mut pos, ent) in [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | for (mut character, mut collision, mut pos, ent) in [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | for (mut collision, mut pos, mut button, ent) in (&mut phys_writer, &mut pos_writer, &mut button_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:176:38 [INFO] [stdout] | [INFO] [stdout] 176 | for (mut collision, mut pos, mut pickup, ent) in (&mut phys_writer, &mut pos_writer, &mut pickup_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | for (mut collision, mut pos, mut portal, ent) in (&mut phys_writer, &mut pos_writer, &mut portal_writer, &entities).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/dialog.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/dialog.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/dialog.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut draw_ok = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut canvas = graphics::Canvas::with_window_size(ctx).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 290 | if let Ok(mut texture) = texture_ref { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | ... let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: self.game_run_time}); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | let mut shader_res = world.fetch_mut::(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:780:25 [INFO] [stdout] | [INFO] [stdout] 780 | let mut x = start_x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:781:25 [INFO] [stdout] | [INFO] [stdout] 781 | let mut y = start_y; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:1157:21 [INFO] [stdout] | [INFO] [stdout] 1157 | let mut is_range_item = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:1283:13 [INFO] [stdout] | [INFO] [stdout] 1283 | let mut input = game_state.world.fetch_mut::(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Player_Level`, `Player_Portal`, `Npc_Level`, `Npc_Portal`, `Meow_Level`, and `Other` are never constructed [INFO] [stdout] --> src/core/physics.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum CollideType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 50 | Player_Level, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | Player_Ghost, [INFO] [stdout] 52 | Player_Portal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | Npc_Level, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | Npc_Portal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | Meow_Level, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollideType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unused1` and `Unused2` are never constructed [INFO] [stdout] --> src/core/physics.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub enum CollisionCategory { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 102 | Unused1 = 64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | Unused2 = 128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionCategory` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fraction` and `All` are never constructed [INFO] [stdout] --> src/core/physics.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum RayCastBehaviorType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 164 | Fraction, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 165 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_contact_floor_dot` is never used [INFO] [stdout] --> src/core/physics.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn debug_contact_floor_dot(contact: &Contact, flip: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raycast_query` is never used [INFO] [stdout] --> src/core/physics.rs:672:8 [INFO] [stdout] | [INFO] [stdout] 672 | pub fn raycast_query(world: &PhysicsWorld, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/physics.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_text` is never used [INFO] [stdout] --> src/core/input.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn clear_text(&self, world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_cmd_text` is never used [INFO] [stdout] --> src/core/input.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn get_cmd_text(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSX_RANGE` is never used [INFO] [stdout] --> src/core/world.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | const POSX_RANGE: f32 = 7000.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSY_RANGE` is never used [INFO] [stdout] --> src/core/world.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | const POSY_RANGE: f32 = 12000.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELX_RANGE` is never used [INFO] [stdout] --> src/core/world.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | const VELX_RANGE: f32 = 395.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELY_RANGE` is never used [INFO] [stdout] --> src/core/world.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | const VELY_RANGE: f32 = 375.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_world` is never used [INFO] [stdout] --> src/core/world.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_inputs` is never used [INFO] [stdout] --> src/core/system.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn clear_inputs(game_state: &mut GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `incr_music_volume` is never used [INFO] [stdout] --> src/core/audio.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn incr_music_volume(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decr_music_volume` is never used [INFO] [stdout] --> src/core/audio.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn decr_music_volume(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `world_dialog` is never used [INFO] [stdout] --> src/core/game_state.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn world_dialog(msg: String, choices: Option>, custom_bg: String) -> RunningState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sprite`, `MultiSprite`, `AnimSprite`, `Character`, `ParticleSys`, and `Unimplemented` are never constructed [INFO] [stdout] --> src/components/flags/event_flags.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum EventFlagType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 23 | Sprite, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | MultiSprite, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | AnimSprite, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Character, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | ParticleSys, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | Unimplemented [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventFlagType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `in_layer` is never used [INFO] [stdout] --> src/components/flags/event_flags.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn in_layer(&self, layer_type: EventFlagType) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_layer` is never used [INFO] [stdout] --> src/components/flags/event_flags.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from_layer(layer_type: EventFlagType) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_layers` is never used [INFO] [stdout] --> src/components/flags/event_flags.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from_layers(layer_types: &Vec::) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_item` is never used [INFO] [stdout] --> src/components/flags/event_flags.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update_item(&self, game_state: &GameState, ctx: &mut Context, event_type: EventFlagType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pre_physics_update` is never used [INFO] [stdout] --> src/components/flags/event_flags.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pre_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `post_physics_update` is never used [INFO] [stdout] --> src/components/flags/event_flags.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn post_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_trigger` is never used [INFO] [stdout] --> src/components/button.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_trigger(&mut self, trigger_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FALL_ONLY_SET` is never used [INFO] [stdout] --> src/components/player.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | const FALL_ONLY_SET : u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FALL_ONLY_FRAMES` is never used [INFO] [stdout] --> src/components/player.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | const FALL_ONLY_FRAMES : u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_movement_new` is never used [INFO] [stdout] --> src/components/player.rs:859:12 [INFO] [stdout] | [INFO] [stdout] 859 | pub fn apply_movement_new(&mut self, body: &mut physics::PhysicsBody, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_active` is never used [INFO] [stdout] --> src/components/collision.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn set_active(&mut self, physics_world: &mut PhysicsWorld, is_active: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_linear_damping` is never used [INFO] [stdout] --> src/components/collision.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn set_linear_damping(&mut self, physics_world: &mut PhysicsWorld, damping: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_gravity_scale` is never used [INFO] [stdout] --> src/components/collision.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_gravity_scale(&mut self, physics_world: &mut PhysicsWorld) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `can_use_portal` is never used [INFO] [stdout] --> src/components/collision.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn can_use_portal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start_jump` is never used [INFO] [stdout] --> src/components/npc.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn start_jump(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_frame_time` is never used [INFO] [stdout] --> src/components/anim_sprite.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn get_frame_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/anim_sprite.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn new(ctx: &mut Context) -> MultiAnimSpriteComponent { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init_images` is never used [INFO] [stdout] --> src/components/particle_sys.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn init_images(world: &mut World, ctx: &mut Context, path: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_logic_value` is never used [INFO] [stdout] --> src/components/particle_sys.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_logic_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components/sensor_area.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/components/sensor_area.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UIBuilder` is never constructed [INFO] [stdout] --> src/entities/ui.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UIBuilder; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_sprite_paths` is never used [INFO] [stdout] --> src/entities/ui.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_sprite_paths() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init_images` is never used [INFO] [stdout] --> src/entities/ui.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn init_images(world: &mut World, ctx: &mut Context) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build_icon` is never used [INFO] [stdout] --> src/entities/ui.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build_icon(world: &mut World, ctx: &mut Context) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build_dynamic` is never used [INFO] [stdout] --> src/entities/bowl.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn build_dynamic(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EffectAreaBuilder` is never constructed [INFO] [stdout] --> src/entities/effect_area.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct EffectAreaBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/entities/effect_area.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, z: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_filled` is never used [INFO] [stdout] --> src/entities/geometry.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new_filled(center: (f32, f32,), size: (f32, f32,), cell_nums: (i32, i32,), z_order: f32 ) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_empty` is never used [INFO] [stdout] --> src/entities/geometry.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new_empty(center: (f32, f32,), size: (f32, f32,), cell_nums: (i32, i32,), z_order: f32 ) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_value` is never used [INFO] [stdout] --> src/entities/geometry.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn set_value(&mut self, x: i32, y: i32, val: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_point` is never used [INFO] [stdout] --> src/entities/geometry.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn random_point(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `modify_random` is never used [INFO] [stdout] --> src/entities/geometry.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn modify_random(&mut self) -> (i32, i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `modify_random_many` is never used [INFO] [stdout] --> src/entities/geometry.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn modify_random_many(&mut self, mod_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_test_data` is never used [INFO] [stdout] --> src/entities/geometry.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn new_test_data() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_patch` is never used [INFO] [stdout] --> src/entities/geometry.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn add_patch(&mut self, patch: LevelPatch) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/entities/geometry.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_jump` is never used [INFO] [stdout] --> src/resources/input.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_jump(&mut self, press: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_use` is never used [INFO] [stdout] --> src/resources/input.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_use(&mut self, press: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_mouse_x` is never used [INFO] [stdout] --> src/resources/input.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_mouse_x(&mut self, mouse_x: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_mouse_y` is never used [INFO] [stdout] --> src/resources/input.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_mouse_y(&mut self, mouse_y: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init_images` is never used [INFO] [stdout] --> src/resources/image.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init_images(world: &mut World, ctx: &mut Context, paths: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_value` is never used [INFO] [stdout] --> src/resources/connection.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_value(&mut self, input_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_value` is never used [INFO] [stdout] --> src/resources/connection.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn apply_value(&mut self, input_key: &str, debug: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/systems/interactor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(physics_world: &'a mut PhysicsWorld) -> InterActorSys<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/systems/animation.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/systems/particles.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RenderObjectType` is never used [INFO] [stdout] --> src/render/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum RenderObjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `call_renderer` is never used [INFO] [stdout] --> src/render/mod.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn call_renderer(ctx: &mut Context, world: &World, entity: Entity, pt: &na::Point2, item_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render_item` is never used [INFO] [stdout] --> src/render/mod.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | fn render_item(ctx: &mut Context, world: &World, entity: Entity, pt: &na::Point2, item_index: usize, render_item: &RenderTrait) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/render/dialog.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn render(game_state: &GameState, ctx: &mut Context, msg: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/conf.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | fs::write(&input_path, source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Fraction` should have a snake case name [INFO] [stdout] --> src/core/physics.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fraction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All` should have a snake case name [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core/game_state.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | &self.level.build_level_content(&mut world, ctx, &mut physics_world, entry_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 537 | let _ = &self.level.build_level_content(&mut world, ctx, &mut physics_world, entry_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/sprite.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | images.load_image(path.clone(), ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/components/sprite.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | if item_index >= 0 && item_index < self.sprites.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/components/sprite.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | if item_index >= 0 && item_index < parallax_sprite.offsets.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/components/sprite.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | if item_index >= 0 && item_index < parallax_sprite.scroll_mults.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/components/sprite.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | if item_index >= 0 && item_index < parallax_sprite.sprites.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/components/sprite.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | if item_index >= 0 && item_index < self.sprites.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/anim_sprite.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | images.load_image(path.clone(), ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/components/anim_sprite.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | if item_index >= 0 && item_index < self.sprites.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/particle_sys.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 427 | | .dest(draw_pos.clone()) [INFO] [stdout] 428 | | .offset(na::Point2::new(self.width, self.width)) [INFO] [stdout] 429 | | .color(Color::new(1.0,1.0,1.0,calc_alpha)) [INFO] [stdout] 430 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/entities/ui.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | images.load_image(path.clone(), ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/entities/geometry.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | images.load_image(patch.image_path.clone(), ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/resources/image.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | images.load_image(path.clone(), ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/mod.rs:898:29 [INFO] [stdout] | [INFO] [stdout] 898 | / ... graphics::draw(ctx, image_ref, DrawParam::new() [INFO] [stdout] 899 | | ... .dest(na::Point2::new(pos_x, pos_y)) [INFO] [stdout] 900 | | ... .scale(na::Vector2::new(scale.0, scale.1)) [INFO] [stdout] 901 | | ... .src(Rect::new(src.0, src.1, src.2, src.3)) [INFO] [stdout] ... | [INFO] [stdout] 908 | | ... ) [INFO] [stdout] 909 | | ... ); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/mod.rs:970:17 [INFO] [stdout] | [INFO] [stdout] 970 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 971 | | .dest(na::Point2::new(level_bounds.min_x, level_bounds.min_y)) ); [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/mod.rs:980:17 [INFO] [stdout] | [INFO] [stdout] 980 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 981 | | .dest(na::Point2::new(level_bounds.min_x, level_bounds.min_y)) ); [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/mod.rs:1003:9 [INFO] [stdout] | [INFO] [stdout] 1003 | graphics::apply_transformations(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/mod.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | graphics::apply_transformations(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 35 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 47 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 59 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 71 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 84 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 85 | | .offset(na::Point2::new(*w, *w)) [INFO] [stdout] 86 | | [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | / ggez::graphics::draw(ctx, &circle, DrawParam::default() [INFO] [stdout] 102 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 103 | | .offset(na::Point2::new(*w, *w)) [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | / ggez::graphics::draw(ctx, &line, DrawParam::default() [INFO] [stdout] 114 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 115 | | .offset(na::Point2::new(*w, *w)) [INFO] [stdout] 116 | | [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 130 | | .dest(na::Point2::::new(*x, *y)) ); [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 143 | | .dest(na::Point2::::new(*x, *y)) ); [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 155 | | //.dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] 156 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 157 | | .offset(na::Point2::new(0.0, 0.0)) [INFO] [stdout] 158 | | .rotation(*angle)); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 170 | | //.dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] 171 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 172 | | .offset(na::Point2::new(0.0, 0.0)) [INFO] [stdout] 173 | | .rotation(*angle)); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 185 | | //.dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] 186 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 187 | | .offset(na::Point2::new(0.0, 0.0)) [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 200 | | .dest(na::Point2::new(*x-*w, *y-*h)) [INFO] [stdout] 201 | | .offset(na::Point2::new(*w, *h)) [INFO] [stdout] 202 | | .rotation(*ang) [INFO] [stdout] 203 | | ); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 215 | | .dest(na::Point2::new(*x-*w, *y-*h)) [INFO] [stdout] 216 | | .offset(na::Point2::new(*w, *h)) [INFO] [stdout] 217 | | .rotation(*ang) [INFO] [stdout] 218 | | ); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 230 | | //.dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] 231 | | .dest(na::Point2::new(*x, *y)) [INFO] [stdout] 232 | | .offset(na::Point2::new(0.0, 0.0))); [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 244 | | .dest(na::Point2::new(*x-*w, *y-*h)) [INFO] [stdout] 245 | | .offset(na::Point2::new(*w, *h)) [INFO] [stdout] 246 | | .rotation(*ang) [INFO] [stdout] 247 | | ); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 259 | | .dest(na::Point2::new(*x-*w, *y-*h)) [INFO] [stdout] 260 | | .offset(na::Point2::new(*w, *h)) [INFO] [stdout] 261 | | .rotation(*ang) [INFO] [stdout] 262 | | ); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 274 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 286 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 298 | | .dest(na::Point2::new(x - 5.0, y - 5.0)) ); [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 310 | | .dest(na::Point2::new(*x-*w, *y-*h)) [INFO] [stdout] 311 | | .offset(na::Point2::new(*w, *h)) [INFO] [stdout] 312 | | ); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/level.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | / ... ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 325 | | ... .dest(na::Point2::new(patch.center.0, patch.center.1)) [INFO] [stdout] 326 | | ... //.offset(na::Point2::new(patch.size.0, patch.size.1)) [INFO] [stdout] 327 | | ... [INFO] [stdout] 328 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 75 | | .dest(na::Point2::new(cent_x - dialog_w * 0.5, cent_y - dialog_h * 0.5)) ); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 87 | | .dest(na::Point2::new(cent_x - dialog_w * 0.5, cent_y - dialog_h * 0.5)) ); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 99 | | .dest(na::Point2::new(cent_x - 3.0 - dialog_w * 0.5, cent_y - 3.0 - dialog_h * 0.5)) ); [INFO] [stdout] | |______________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 337 | | .dest(na::Point2::new(cent_x - dialog_w * 0.5, cent_y - dialog_h * 0.5)) ); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | / ggez::graphics::draw(ctx, &rect, DrawParam::default() [INFO] [stdout] 349 | | .dest(na::Point2::new(cent_x - dialog_w * 0.5, cent_y - dialog_h * 0.5)) ); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | / ggez::graphics::draw(ctx, &circle, DrawParam::default() [INFO] [stdout] 369 | | .dest(na::Point2::new(mx, my)) [INFO] [stdout] 370 | | .color(Color::new(color.r, color.g, color.b, 0.3)) ); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | / ggez::graphics::draw(ctx, &circle, DrawParam::default() [INFO] [stdout] 373 | | .dest(na::Point2::new(mx, my)) [INFO] [stdout] 374 | | .scale(na::Vector2::::new(0.5, 0.5)) [INFO] [stdout] 375 | | .color(Color::new(color.r, color.g, color.b, 0.5))); [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render/dialog.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | / ggez::graphics::draw(ctx, &circle, DrawParam::default() [INFO] [stdout] 378 | | .dest(na::Point2::new(mx, my)) [INFO] [stdout] 379 | | .scale(na::Vector2::::new(0.25, 0.25)) [INFO] [stdout] 380 | | .color(Color::new(color.r, color.g, color.b, 1.0)) ); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 815 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 6m 09s [INFO] running `Command { std: "docker" "inspect" "9920fe749324485e6755feffbfc960c8038a9beb217928df0c603f86030c1b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9920fe749324485e6755feffbfc960c8038a9beb217928df0c603f86030c1b21", kill_on_drop: false }` [INFO] [stdout] 9920fe749324485e6755feffbfc960c8038a9beb217928df0c603f86030c1b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18141bc83747ac7caddc07327dc28e5d2ccee9d570c2813dd9d11a1debd25f91 [INFO] running `Command { std: "docker" "start" "-a" "18141bc83747ac7caddc07327dc28e5d2ccee9d570c2813dd9d11a1debd25f91", kill_on_drop: false }` [INFO] [stderr] Compiling suri_sprint v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ContextBuilder` [INFO] [stdout] --> src/conf.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{ContextBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FullscreenType`, `NumSamples` [INFO] [stdout] --> src/conf.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::conf::{WindowSetup,WindowMode,FullscreenType,NumSamples}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Axis`, `GamepadId`, `KeyMods` [INFO] [stdout] --> src/core/compat.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::event::{KeyCode,KeyMods,Axis,Button,GamepadId}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/core/compat.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize,Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_squared`, `distance` [INFO] [stdout] --> src/core/physics.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use na::{Point2,Vector2,distance_squared,distance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/core/physics.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, Entity}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Join` [INFO] [stdout] --> src/core/physics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaBody` [INFO] [stdout] --> src/core/physics.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use wrapped2d::dynamics::body::{MetaBody}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Level` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Player_Level, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerLevel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Ghost` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Player_Ghost, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerGhost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Portal` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Player_Portal, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerPortal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Npc_Level` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Npc_Level, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NpcLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Npc_Portal` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Npc_Portal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NpcPortal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Collider_Portal` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Collider_Portal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColliderPortal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ghost_Meow` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Ghost_Meow, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GhostMeow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Meow_Level` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Meow_Level, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `MeowLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player_Pickup` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Player_Pickup, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerPickup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Collider_Collider` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Collider_Collider, //generic physical touch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColliderCollider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Collider_Sensor` should have an upper camel case name [INFO] [stdout] --> src/core/physics.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Collider_Sensor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColliderSensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/core/input.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::event::{KeyCode,KeyMods,Axis,Button,GamepadId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/core/input.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize,Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldAction` [INFO] [stdout] --> src/core/input.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{InputResource,WorldAction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeowBuilder` [INFO] [stdout] --> src/core/input.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entities::meow::{MeowBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/core/world.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{World, WorldExt, Entity, Builder}; // Builder, Component, ReadStorage, System, VecStorage, RunNow [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DispatcherBuilder`, `Dispatcher` [INFO] [stdout] --> src/core/world.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::shred::{Dispatcher, DispatcherBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/core/world.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position`, `Velocity` [INFO] [stdout] --> src/core/world.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::components::{Position, Velocity, LevelSource, register_components}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteConfig`, `SpriteLayer` [INFO] [stdout] --> src/core/world.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::components::sprite::{SpriteLayer,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformBuilder` [INFO] [stdout] --> src/core/world.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::entities::platform::{PlatformBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterBuilder` [INFO] [stdout] --> src/core/world.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entities::player::{CharacterBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GhostBuilder` [INFO] [stdout] --> src/core/world.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::entities::ghost::{GhostBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UIBuilder` [INFO] [stdout] --> src/core/world.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::entities::ui::{UIBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/core/world.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterActorSys` [INFO] [stdout] --> src/core/world.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::systems::interactor::{InterActorSys}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `World` [INFO] [stdout] --> src/core/system.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, RunNow, Entity, Builder}; // Builder, Component, ReadStorage, System, VecStorage, RunNow [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/core/system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/core/system.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::game_state::{GameState,State,RunningState,GameMode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxQueryInfo` [INFO] [stdout] --> src/core/system.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::physics::{BoxQueryInfo}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionResource` [INFO] [stdout] --> src/core/system.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::resources::{InputResource,GameStateResource,ConnectionResource,WorldAction,Camera,GameLog}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteLayer` [INFO] [stdout] --> src/core/system.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::components::sprite::{SpriteLayer,SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhysicsWorld`, `RayCastQueryInfo` [INFO] [stdout] --> src/core/system.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::core::physics::{PhysicsWorld,RayCastQueryInfo}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/core/events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DialogChoice` [INFO] [stdout] --> src/core/events.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::menu_dialog::{DialogChoice}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RunningState` [INFO] [stdout] --> src/core/events.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core::game_state::{GameState,RunningState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteLayer` [INFO] [stdout] --> src/core/events.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::components::sprite::{SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NullStorage` [INFO] [stdout] --> src/components/mod.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{ Component, DenseVecStorage, VecStorage, NullStorage, World, WorldExt, Entity }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/flags/event_flags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NullStorage`, `VecStorage` [INFO] [stdout] --> src/components/flags/event_flags.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{ Component, DenseVecStorage, VecStorage, NullStorage, World, WorldExt, Entity }; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/components/flags/event_flags.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/components/flags/event_flags.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTrait` [INFO] [stdout] --> src/components/flags/event_flags.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::{RenderTrait}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/components/flags/event_flags.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NpcComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::npc::{NpcComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiSpriteComponent`, `SpriteComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::sprite::{SpriteComponent,MultiSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::components::anim_sprite::{AnimSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParticleSysComponent` [INFO] [stdout] --> src/components/flags/event_flags.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::components::particle_sys::{ParticleSysComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/sprite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode`, `Image` [INFO] [stdout] --> src/components/sprite.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,WrapMode,BlendMode}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/components/sprite.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/components/sprite.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LevelItem` [INFO] [stdout] --> src/components/sprite.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::entities::level::{LevelItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/button.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/components/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/player.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `ShaderLock` [INFO] [stdout] --> src/components/player.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,ShaderLock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Velocity` [INFO] [stdout] --> src/components/player.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::{Velocity,PhysicsUpdateTrait}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsBody` [INFO] [stdout] --> src/components/player.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::physics::{PhysicsBody,PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DialogRenderer` [INFO] [stdout] --> src/components/player.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::render::dialog::{DialogRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/components/collision.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra::{Point2,Vector2,distance}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::user_data::NoUserData` [INFO] [stdout] --> src/components/collision.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::user_data::NoUserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaBody` [INFO] [stdout] --> src/components/collision.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use wrapped2d::b2::{MetaBody}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/components/collision.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsBody` [INFO] [stdout] --> src/components/collision.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::physics::{PhysicsWorld, PhysicsBody, PhysicsVec, PhysicsBodyType, PhysicsBodyHandle, EntityType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/components/npc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/npc.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::components::sprite::{SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/components/npc.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/components/npc.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::physics` [INFO] [stdout] --> src/components/portal.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/anim_sprite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode`, `Image` [INFO] [stdout] --> src/components/anim_sprite.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,WrapMode,BlendMode}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/components/anim_sprite.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/components/anim_sprite.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | while (f < self.frame_index) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - while (f < self.frame_index) { [INFO] [stdout] 287 + while f < self.frame_index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/components/particle_sys.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode`, `WrapMode` [INFO] [stdout] --> src/components/particle_sys.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{Rect,Image,Color,DrawParam,WrapMode,BlendMode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/components/particle_sys.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize,de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position`, `Velocity` [INFO] [stdout] --> src/components/particle_sys.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::{Position, Velocity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/components/particle_sys.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShaderInputs` [INFO] [stdout] --> src/components/particle_sys.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::resources::{ImageResources,ShaderResources,ShaderInputs,GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/particle_sys.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::components::sprite::{SpriteConfig,SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/pickup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/components/pickup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/pickup.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::components::sprite::{SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::physics` [INFO] [stdout] --> src/components/pickup.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/components/pickup.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::physics::{PhysicsWorld,PickupItemType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/components/sensor_area.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs_derive::*` [INFO] [stdout] --> src/components/sensor_area.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use specs_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/components/sensor_area.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/components/sensor_area.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::sprite::{SpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteComponent` [INFO] [stdout] --> src/components/sensor_area.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::anim_sprite::{AnimSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionType` [INFO] [stdout] --> src/components/sensor_area.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::logic::{ConnectionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EffectAreaType` [INFO] [stdout] --> src/components/sensor_area.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::entities::effect_area::{EffectAreaType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::physics` [INFO] [stdout] --> src/components/sensor_area.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::core::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PickupItemType` [INFO] [stdout] --> src/components/sensor_area.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::core::physics::{PhysicsWorld,PickupItemType,CollideType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/components/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/platform.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/platform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/platform.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/platform.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/platform.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/platform.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/platform.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/platform.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent`, `SpriteLayer` [INFO] [stdout] --> src/entities/platform.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NpcComponent` [INFO] [stdout] --> src/entities/platform.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::npc::{NpcComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/platform.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicOpType` [INFO] [stdout] --> src/entities/platform.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::logic::{LogicComponent,LogicOpType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/platform.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/empty_box.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/empty_box.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/empty_box.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/empty_box.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/empty_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/empty_box.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/empty_box.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/entities/empty_box.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer,MultiSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/empty_box.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/empty_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/button.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/button.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/button.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/button.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/button.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/button.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/button.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiSpriteComponent`, `SpriteComponent` [INFO] [stdout] --> src/entities/button.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer,MultiSpriteComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NpcComponent` [INFO] [stdout] --> src/entities/button.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::npc::{NpcComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/button.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/mouse.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/mouse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/mouse.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/mouse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/mouse.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/mouse.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/mouse.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/mouse.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/entities/mouse.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/portal_area.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/portal_area.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/portal_area.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/portal_area.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/portal_area.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/portal_area.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/portal_area.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteConfig`, `SpriteLayer` [INFO] [stdout] --> src/entities/portal_area.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::sprite::{SpriteLayer,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicOpType` [INFO] [stdout] --> src/entities/portal_area.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::logic::{LogicComponent,LogicOpType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/exit.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/exit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/exit.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/exit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/exit.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/exit.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/exit.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteLayer` [INFO] [stdout] --> src/entities/exit.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::sprite::{SpriteLayer,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/player.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/player.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/player.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/player.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::user_data::*` [INFO] [stdout] --> src/entities/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wrapped2d::user_data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/player.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageResources` [INFO] [stdout] --> src/entities/player.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteComponent` [INFO] [stdout] --> src/entities/player.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::sprite::{SpriteComponent,SpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParticleSysComponent` [INFO] [stdout] --> src/entities/player.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::particle_sys::{ParticleSysConfig,ParticleSysComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/player.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/meow.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/meow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/meow.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/meow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/meow.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/meow.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/meow.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/meow.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/entities/ui.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{Builder,Entity,World,WorldExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/entities/ui.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionCategory`, `PhysicsWorld` [INFO] [stdout] --> src/entities/ui.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics::{PhysicsWorld,CollisionCategory}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/entities/ui.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | if (!has_image) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (!has_image) { [INFO] [stdout] 27 + if !has_image { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/bowl.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/bowl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/bowl.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/bowl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/bowl.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/bowl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/bowl.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/bowl.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent`, `SpriteLayer` [INFO] [stdout] --> src/entities/bowl.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteComponent` [INFO] [stdout] --> src/entities/bowl.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::anim_sprite::{AnimSpriteComponent,AnimSpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/bowl.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/bowl.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/ball.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/ball.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/ball.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/ball.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityBuilder` [INFO] [stdout] --> src/entities/ball.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::*` [INFO] [stdout] --> src/entities/ball.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/ball.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameStateResource`, `ImageResources` [INFO] [stdout] --> src/entities/ball.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource,ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent`, `SpriteLayer` [INFO] [stdout] --> src/entities/ball.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::components::sprite::{SpriteComponent,SpriteConfig,SpriteLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimSpriteComponent`, `AnimSpriteConfig` [INFO] [stdout] --> src/entities/ball.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::anim_sprite::{AnimSpriteComponent,AnimSpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterDisplayComponent` [INFO] [stdout] --> src/entities/ball.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::player::{CharacterDisplayComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderAnimSpriteFlag` [INFO] [stdout] --> src/entities/ball.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::components::flags::{RenderSpriteFlag,RenderAnimSpriteFlag}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/ball.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/point_pickup.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/point_pickup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/point_pickup.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/point_pickup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/point_pickup.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/point_pickup.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/point_pickup.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeowComponent` [INFO] [stdout] --> src/entities/point_pickup.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::components::meow::{MeowComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/point_pickup.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/entities/effect_area.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/entities/effect_area.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/entities/effect_area.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/entities/effect_area.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `EntityBuilder` [INFO] [stdout] --> src/entities/effect_area.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder,Entity,Entities,EntityBuilder,World,WorldExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/entities/effect_area.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStateResource` [INFO] [stdout] --> src/entities/effect_area.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::{GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnimSpriteConfig` [INFO] [stdout] --> src/entities/effect_area.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::components::anim_sprite::{AnimSpriteConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeowComponent` [INFO] [stdout] --> src/entities/effect_area.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::meow::{MeowComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::*` [INFO] [stdout] --> src/entities/effect_area.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::systems::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PickupItemType` [INFO] [stdout] --> src/entities/effect_area.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::physics::{PhysicsWorld,CollisionCategory,EntityType,PickupItemType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/entities/geometry.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::{Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderAnimSpriteFlag` [INFO] [stdout] --> src/entities/geometry.rs:11:59 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::components::flags::{RenderFlag,RenderLayerType,RenderAnimSpriteFlag}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/entities/level.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `World` [INFO] [stdout] --> src/entities/level.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{World,WorldExt,Builder}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/entities/level.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacterBuilder` [INFO] [stdout] --> src/entities/level.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::entities::player::{CharacterBuilder,PlayerCharacter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionCategory`, `PhysicsWorld` [INFO] [stdout] --> src/entities/level.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::physics::{PhysicsWorld,CollisionCategory,PickupItemType,EntityType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/entities/level_builder.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{Component,World,WorldExt,Builder,Entity,EntityBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/entities/level_builder.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize,Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeometryComponent` [INFO] [stdout] --> src/entities/level_builder.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::geometry::{GeometryComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LevelPatch` [INFO] [stdout] --> src/entities/level_builder.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::entities::geometry::{LevelGridData,LevelPatch}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/entities/level_builder.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::components::collision::{Collision}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageResources` [INFO] [stdout] --> src/entities/level_builder.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::resources::{ImageResources}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionCategory`, `PickupItemType` [INFO] [stdout] --> src/entities/level_builder.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::core::physics::{PhysicsWorld,CollisionCategory,PickupItemType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/camera.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/resources/camera.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LevelBounds`, `LevelType` [INFO] [stdout] --> src/resources/camera.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::entities::level_builder::{LevelBounds,LevelType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuItem` [INFO] [stdout] --> src/resources/camera.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::menu_dialog::{MenuItem}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMode` [INFO] [stdout] --> src/resources/camera.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::game_state::{GameState,State,GameMode,RunningState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/resources/image.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/image.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/resources/image.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/resources/connection.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::{Entry}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/resources/connection.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Image` [INFO] [stdout] --> src/resources/connection.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Image,Font}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `GameError`, `GameResult` [INFO] [stdout] --> src/resources/connection.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ggez::{Context,GameResult,GameError}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/connection.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/resources/connection.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use specs::{World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/resources/connection.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyConst` [INFO] [stdout] --> src/resources/shaders.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Shader,EmptyConst,BlendMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Image` [INFO] [stdout] --> src/resources/shaders.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use ggez::graphics::{Image,Font}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/resources/shaders.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use ggez::conf::{WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/resources/shaders.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use specs::{World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsWorld` [INFO] [stdout] --> src/resources/shaders.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core::physics::{PhysicsWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/systems/mod.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::{Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/systems/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities`, `ReadStorage`, `Read`, `System`, `WriteStorage` [INFO] [stdout] --> src/systems/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entities, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | ReadStorage, WriteStorage, System, //VecStorage, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::*` [INFO] [stdout] --> src/systems/interactor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/interactor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/interactor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/systems/interactor.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::{WorldExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2`, `Vector2`, `distance_squared`, `distance` [INFO] [stdout] --> src/systems/interactor.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::nalgebra::{Point2,Vector2,distance,distance_squared}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputResource` [INFO] [stdout] --> src/systems/interactor.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::resources::{InputResource,GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/interactor.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Join` [INFO] [stdout] --> src/systems/interactor.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputResource`, `WorldAction` [INFO] [stdout] --> src/systems/logic.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::resources::{InputResource,WorldAction,GameStateResource}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/logic.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/animation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/systems/animation.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/animation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState`, `RunningState` [INFO] [stdout] --> src/systems/animation.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState,RunningState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/animation.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 32 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/systems/particles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/systems/particles.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/systems/particles.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState`, `RunningState` [INFO] [stdout] --> src/systems/particles.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::{GameState,RunningState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/particles.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 34 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2`, `Vector2`, `distance_squared`, `distance` [INFO] [stdout] --> src/systems/physics.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Point2,Vector2,distance_squared,distance}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/systems/physics.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{World, WorldExt, Entity, Builder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped2d::b2` [INFO] [stdout] --> src/systems/physics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wrapped2d::b2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameError` [INFO] [stdout] --> src/render/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `DrawMode` [INFO] [stdout] --> src/render/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::graphics::{DrawMode,Align}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillOptions`, `Scale`, `StrokeOptions` [INFO] [stdout] --> src/render/mod.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Color,StrokeOptions,Rect,FillOptions,DrawParam,Scale,set_window_title}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `System`, `WriteStorage` [INFO] [stdout] --> src/render/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use specs::{Entity,World,WorldExt,System,WriteStorage}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/render/level.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/render/level.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Scale`, `set_window_title` [INFO] [stdout] --> src/render/level.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,Scale,set_window_title}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/render/dialog.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_window_title` [INFO] [stdout] --> src/render/dialog.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,Scale,FillOptions,set_window_title}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError`, `GameResult` [INFO] [stdout] --> src/render/paused.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics` [INFO] [stdout] --> src/render/paused.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::nalgebra as na` [INFO] [stdout] --> src/render/paused.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawParam`, `Scale`, `set_window_title` [INFO] [stdout] --> src/render/paused.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,Scale,set_window_title}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Velocity` [INFO] [stdout] --> src/render/mod.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::components::{Position,Velocity,RenderTrait,RenderFlag,RenderLayerType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LevelItem` [INFO] [stdout] --> src/render/mod.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::entities::level_builder::{LevelItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/render/mod.rs:1215:49 [INFO] [stdout] | [INFO] [stdout] 1215 | ... 0.0, 1.0, match (*value) { true => 1.0, false => 0.0 } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1215 - 0.0, 1.0, match (*value) { true => 1.0, false => 0.0 } [INFO] [stdout] 1215 + 0.0, 1.0, match *value { true => 1.0, false => 0.0 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/mod.rs:504:125 [INFO] [stdout] | [INFO] [stdout] 504 | fn render_item(ctx: &mut Context, world: &World, entity: Entity, pt: &na::Point2, item_index: usize, render_item: &RenderTrait) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 504 | fn render_item(ctx: &mut Context, world: &World, entity: Entity, pt: &na::Point2, item_index: usize, render_item: &dyn RenderTrait) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/core/physics.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, Entity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/render/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/core/input.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{World, WorldExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/core/system.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::{World, WorldExt, RunNow, Entity, Builder}; // Builder, Component, ReadStorage, System, VecStorage, RunNow [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/entities/level.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{World,WorldExt,Builder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components` [INFO] [stdout] --> src/systems/animation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Fraction` is named the same as one of the variants of the type `core::physics::RayCastBehaviorType` [INFO] [stdout] --> src/core/physics.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `core::physics::RayCastBehaviorType::Fraction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `All` is named the same as one of the variants of the type `core::physics::RayCastBehaviorType` [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `core::physics::RayCastBehaviorType::All` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | -------- matches any value [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/input.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/input.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/systems/physics.rs:545:29 [INFO] [stdout] | [INFO] [stdout] 481 | ... _ => { [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 545 | ... _ => {} [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/render/mod.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/conf.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let config: T = match from_reader(f) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/conf.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Fraction` [INFO] [stdout] --> src/core/physics.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Fraction => fraction, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Fraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `All` [INFO] [stdout] --> src/core/physics.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | All => 1.0 [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_All` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixt_a_mask` [INFO] [stdout] --> src/core/physics.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let fixt_a_mask = filt_a.mask_bits; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixt_a_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixt_b_cat` [INFO] [stdout] --> src/core/physics.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let fixt_b_cat = filt_b.category_bits; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixt_b_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/core/physics.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let dot = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_dot` [INFO] [stdout] --> src/core/physics.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let local_dot = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixture` [INFO] [stdout] --> src/core/physics.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | let fixture = body.fixture(fixture_handle); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_type` [INFO] [stdout] --> src/core/physics.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | query_type: RayCastBehaviorType) -> RayCastQueryInfo { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/core/input.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | keymod: KeyMods,) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/core/input.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | id: GamepadId) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/core/input.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | keymod: KeyMods,) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/input.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/core/input.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | id: GamepadId) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/core/world.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/core/world.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | fn init_world(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/world.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | fn init_world(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/core/world.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | fn init_world(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/world.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/core/world.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/core/world.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty_world(ctx: &mut Context, world: &mut World, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `meows` is never read [INFO] [stdout] --> src/core/system.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | let mut meows = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clicks` is never read [INFO] [stdout] --> src/core/system.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | let mut clicks = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_ghost` [INFO] [stdout] --> src/core/system.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | let mut spawn_ghost = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_ghost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_box` [INFO] [stdout] --> src/core/system.rs:763:17 [INFO] [stdout] | [INFO] [stdout] 763 | let mut spawn_box = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_platform` [INFO] [stdout] --> src/core/system.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 764 | let mut spawn_platform = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_mouse` [INFO] [stdout] --> src/core/system.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let mut spawn_mouse = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn_closed_box` [INFO] [stdout] --> src/core/system.rs:766:17 [INFO] [stdout] | [INFO] [stdout] 766 | let mut spawn_closed_box = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn_closed_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/core/system.rs:866:64 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, time_delta: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/core/system.rs:866:83 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/core/events.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | repeat: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/components/flags/event_flags.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update_item(&self, game_state: &GameState, ctx: &mut Context, event_type: EventFlagType) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/flags/event_flags.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update_item(&self, game_state: &GameState, ctx: &mut Context, event_type: EventFlagType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/components/flags/event_flags.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pre_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/flags/event_flags.rs:95:55 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pre_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/components/flags/event_flags.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn post_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/flags/event_flags.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn post_physics_update(game_state: &GameState, entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(ctx: &mut Context, char_img: &String, z_order: f32) -> SpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_reader` [INFO] [stdout] --> src/components/sprite.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let collision_reader = world.read_storage::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/sprite.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_run_time` [INFO] [stdout] --> src/components/sprite.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/components/sprite.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let w = texture.width(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/components/sprite.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let h = texture.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/components/sprite.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: game_run_time}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn new(ctx: &mut Context) -> MultiSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/sprite.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new(ctx: &mut Context) -> ParallaxSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/sprite.rs:321:34 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn add_sprite(&mut self, ctx: &mut Context, sprite: SpriteComponent, scroll_multiplier: f32, offset: (f32, f32)) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrw` [INFO] [stdout] --> src/components/sprite.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scrw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrh` [INFO] [stdout] --> src/components/sprite.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scrh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/sprite.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_body_handle` [INFO] [stdout] --> src/components/button.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some((other_body_handle, joint_handle)) = &joints.nth(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/player.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn new(ctx: &mut Context, char_img: &String, player_char: PlayerCharacter) -> CharacterDisplayComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn process_walk(&mut self, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:376:45 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn process_walk_overhead(&mut self, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:431:36 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn process_idle(&mut self, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_movement` [INFO] [stdout] --> src/components/player.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | fn process_facing_moving(&mut self, body_movement: na::Vector2::, time_delta: f32) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:600:76 [INFO] [stdout] | [INFO] [stdout] 600 | fn process_facing_moving(&mut self, body_movement: na::Vector2::, time_delta: f32) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:617:75 [INFO] [stdout] | [INFO] [stdout] 617 | ...ent: na::Vector2::, time_delta: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/player.rs:1003:38 [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/player.rs:1003:53 [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:1003:87 [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/player.rs:1004:9 [INFO] [stdout] | [INFO] [stdout] 1004 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/player.rs:1005:9 [INFO] [stdout] | [INFO] [stdout] 1005 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/player.rs:1006:9 [INFO] [stdout] | [INFO] [stdout] 1006 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/player.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/player.rs:1015:54 [INFO] [stdout] | [INFO] [stdout] 1015 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:1015:88 [INFO] [stdout] | [INFO] [stdout] 1015 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/player.rs:1017:9 [INFO] [stdout] | [INFO] [stdout] 1017 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/player.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/player.rs:1062:17 [INFO] [stdout] | [INFO] [stdout] 1062 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exhaust_radius` [INFO] [stdout] --> src/components/player.rs:1110:13 [INFO] [stdout] | [INFO] [stdout] 1110 | let exhaust_radius = 27.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exhaust_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_rot` [INFO] [stdout] --> src/components/player.rs:1111:13 [INFO] [stdout] | [INFO] [stdout] 1111 | let self_rot = self.rot; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_green` [INFO] [stdout] --> src/components/player.rs:1112:13 [INFO] [stdout] | [INFO] [stdout] 1112 | let texture_green = if self.jump_duration <= 0.0 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_num` [INFO] [stdout] --> src/components/player.rs:1146:29 [INFO] [stdout] | [INFO] [stdout] 1146 | let mut frame_num = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `psys` [INFO] [stdout] --> src/components/player.rs:1230:25 [INFO] [stdout] | [INFO] [stdout] 1230 | if let Some(psys) = psys_reader.get(entity) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_psys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_index` [INFO] [stdout] --> src/components/player.rs:1053:96 [INFO] [stdout] | [INFO] [stdout] 1053 | fn draw(&self, ctx: &mut Context, world: &World, ent: Option, pos: na::Point2::, item_index: usize) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_handle` [INFO] [stdout] --> src/components/collision.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(body_handle) = self.body_handle { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/components/collision.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | for (fixture, meta) in body.fixtures() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/collision.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_vel` is never read [INFO] [stdout] --> src/components/collision.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut curr_vel = physics::PhysicsVec { x: self.vel.x, y: self.vel.y }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_pos` [INFO] [stdout] --> src/components/collision.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | let mut updated_pos = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/collision.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/collision.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_id` [INFO] [stdout] --> src/components/collision.rs:639:18 [INFO] [stdout] | [INFO] [stdout] 639 | for (entity_id, collide_type) in &self.body_contacts { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collide_type` [INFO] [stdout] --> src/components/collision.rs:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | for (entity_id, collide_type) in &self.body_contacts { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collide_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/collision.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/collision.rs:595:88 [INFO] [stdout] | [INFO] [stdout] 595 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/collision.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/collision.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/collision.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_movement` [INFO] [stdout] --> src/components/npc.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn update(&mut self, body_movement: na::Vector2::, time_delta: f32, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_movement` [INFO] [stdout] --> src/components/npc.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn update_overhead(&mut self, body_movement: na::Vector2::, time_delta: f32, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/components/portal.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_anim_sprite(&mut self, delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mu... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/components/portal.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | ...ut self, delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/portal.rs:74:120 [INFO] [stdout] | [INFO] [stdout] 74 | ... AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/anim_sprite.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(ctx: &mut Context, char_img: &String, z_order: f32) -> AnimSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_num` [INFO] [stdout] --> src/components/anim_sprite.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let frame_num = grid_layout.cols * grid_layout.rows; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/anim_sprite.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_run_time` [INFO] [stdout] --> src/components/anim_sprite.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/components/anim_sprite.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let w = texture.width(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/components/anim_sprite.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let h = texture.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/components/anim_sprite.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | let mut dim = shader_ref.send(ctx, ShaderInputs {game_time: game_run_time}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/anim_sprite.rs:460:16 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn new(ctx: &mut Context) -> MultiAnimSpriteComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/anim_sprite.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/particle_sys.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new(ctx: &mut Context) -> ParticleSysComponent { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/particle_sys.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/components/particle_sys.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/components/particle_sys.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut angle = self.ang; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_run_time` [INFO] [stdout] --> src/components/particle_sys.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_run_time` [INFO] [stdout] --> src/components/particle_sys.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let game_run_time = gs_res.game_run_seconds; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_run_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_res` [INFO] [stdout] --> src/components/particle_sys.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | let mut shader_res = world.fetch_mut::(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/components/particle_sys.rs:438:29 [INFO] [stdout] | [INFO] [stdout] 438 | let w = texture.width(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/components/particle_sys.rs:439:29 [INFO] [stdout] | [INFO] [stdout] 439 | let h = texture.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/components/particle_sys.rs:371:54 [INFO] [stdout] | [INFO] [stdout] 371 | fn draw(&self, ctx: &mut Context, world: &World, ent: Option, pos: na::Point2::, _item_index: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/pickup.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/sensor_area.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/components/sensor_area.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/sensor_area.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/sensor_area.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/sensor_area.rs:59:87 [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/sensor_area.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/sensor_area.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/sensor_area.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/sensor_area.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/components/sensor_area.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let body = physics_world.body(body_handle); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/sensor_area.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/sensor_area.rs:69:88 [INFO] [stdout] | [INFO] [stdout] 69 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/sensor_area.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/sensor_area.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/sensor_area.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/mod.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/mod.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/mod.rs:82:87 [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_collision` [INFO] [stdout] --> src/components/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | opt_collision: &mut Option<&mut Collision>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/components/mod.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/components/mod.rs:89:55 [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/mod.rs:89:89 [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_character` [INFO] [stdout] --> src/components/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | opt_character: &mut Option<&mut CharacterDisplayComponent>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_npc` [INFO] [stdout] --> src/components/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | opt_npc: &mut Option<&mut NpcComponent>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/components/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npc` [INFO] [stdout] --> src/entities/empty_box.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let npc = NpcComponent::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/empty_box.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `joint_handle` [INFO] [stdout] --> src/entities/button.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let joint_handle = Self::build_joint(physics_world, &mut collision, 0.25, 0.4, height, &body_handle, &trigger_handle); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_joint_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_y` [INFO] [stdout] --> src/entities/button.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let off_y = create_size(bottom_offset.y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_off_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_y` [INFO] [stdout] --> src/entities/button.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let off_y = create_size(bottom_offset.y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_off_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/entities/button.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/entities/button.rs:242:77 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `restitution` [INFO] [stdout] --> src/entities/button.rs:242:91 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restitution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/mouse.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_num` is never read [INFO] [stdout] --> src/entities/player.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut player_num = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_type` [INFO] [stdout] --> src/entities/player.rs:38:135 [INFO] [stdout] | [INFO] [stdout] 38 | ...player: PlayerCharacter, level_type: &LevelType) -> Entity { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_num` is never read [INFO] [stdout] --> src/entities/player.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let mut player_num = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level_type` [INFO] [stdout] --> src/entities/player.rs:169:131 [INFO] [stdout] | [INFO] [stdout] 169 | ...player: PlayerCharacter, level_type: &LevelType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/bowl.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_order` [INFO] [stdout] --> src/entities/ball.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/entities/effect_area.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, z: f32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/entities/effect_area.rs:35:106 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, z: f32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_area_type` [INFO] [stdout] --> src/entities/effect_area.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | width: f32, height: f32, effect_area_type: EffectAreaType) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_area_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/entities/geometry.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | for i in 0..mod_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physics_world` [INFO] [stdout] --> src/entities/geometry.rs:418:56 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, grid_data: LevelGridData) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physics_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_type` [INFO] [stdout] --> src/entities/level_builder.rs:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | LevelItem::Connection { from, to, conn_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `conn_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/resources/camera.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn update(game_state: &GameState, time_delta: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/resources/connection.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | ... if let Some( (ref mut curr_input_value, ref mut val, ref mut flag, ref mut input_counter)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/resources/connection.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/resources/connection.rs:127:48 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_count` [INFO] [stdout] --> src/resources/connection.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some( (ref in_val, ref val, ref flag, ref in_count)) = self.value_register.get_mut(input_key) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_val` [INFO] [stdout] --> src/resources/connection.rs:141:31 [WARN] too many lines in the log, truncating it