[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] checking eggmunkee/suri-sprint against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fsuri-sprint" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eggmunkee/suri-sprint on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.8 [INFO] [stderr] Downloaded cmake v0.1.42 [INFO] [stderr] Downloaded smart-default v0.5.2 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded mint v0.5.4 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded wasm-bindgen v0.2.59 [INFO] [stderr] Downloaded gfx_window_glutin v0.30.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.59 [INFO] [stderr] Downloaded zip v0.5.5 [INFO] [stderr] Downloaded ron v0.5.1 [INFO] [stderr] Downloaded bumpalo v3.2.0 [INFO] [stderr] Downloaded serde_json v1.0.48 [INFO] [stderr] Downloaded backtrace-sys v0.1.34 [INFO] [stderr] Downloaded ahash v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.59 [INFO] [stderr] Downloaded skeptic v0.13.4 [INFO] [stderr] Downloaded bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded image v0.22.5 [INFO] [stderr] Downloaded jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded lyon v0.13.5 [INFO] [stderr] Downloaded cargo_metadata v0.6.4 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.12 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded shrev v1.1.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.59 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.59 [INFO] [stderr] Downloaded gleam v0.6.19 [INFO] [stderr] Downloaded glutin v0.20.1 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded lyon_algorithms v0.13.4 [INFO] [stderr] Downloaded clang-sys v0.29.2 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded pulldown-cmark v0.2.0 [INFO] [stderr] Downloaded podio v0.1.6 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] [stderr] Downloaded backtrace v0.3.45 [INFO] [stderr] Downloaded error-chain v0.12.2 [INFO] [stderr] Downloaded hashbrown v0.7.1 [INFO] [stderr] Downloaded tynm v0.1.4 [INFO] [stderr] Downloaded tuple_utils v0.3.0 [INFO] [stderr] Downloaded bytecount v0.4.0 [INFO] [stderr] Downloaded ggez v0.5.1 [INFO] [stderr] Downloaded rodio v0.9.0 [INFO] [stderr] Downloaded wrapped2d v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3da080d40785534d5e7c0fd11b69f523bd347dec78a417ab26cf7270e335551 [INFO] running `Command { std: "docker" "start" "-a" "b3da080d40785534d5e7c0fd11b69f523bd347dec78a417ab26cf7270e335551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3da080d40785534d5e7c0fd11b69f523bd347dec78a417ab26cf7270e335551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3da080d40785534d5e7c0fd11b69f523bd347dec78a417ab26cf7270e335551", kill_on_drop: false }` [INFO] [stdout] b3da080d40785534d5e7c0fd11b69f523bd347dec78a417ab26cf7270e335551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07187703aa90bc084613318250d2b268c6a3c8f156fdbfbc96d5ec96880a0a9c [INFO] running `Command { std: "docker" "start" "-a" "07187703aa90bc084613318250d2b268c6a3c8f156fdbfbc96d5ec96880a0a9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling proc-macro-hack v0.5.12 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking mint v0.5.4 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Compiling wrapped2d v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking tynm v0.1.4 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking gilrs-core v0.2.5 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking zip v0.5.5 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.48 [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 ggez v0.5.1 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FullscreenType` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/conf.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Axis`, `GamepadId`, and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:698:32 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:698:42 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_squared` and `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)]` (part of `#[warn(nonstandard_style)]`) 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug,Clone,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug,Clone,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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` and `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` and `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` and `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: `GameMode` [INFO] [stdout] --> src/core/mod.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::core::game_state::{GameState,GameMode,RunningState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxQueryInfo`, `PhysicsVec`, `RayCastBehaviorType`, and `RayCastQueryInfo` [INFO] [stdout] --> src/core/mod.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub use crate::core::physics::{PhysicsWorld,PhysicsVec,BoxQueryInfo,RayCastQueryInfo,RayCastBehaviorType}; [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` and `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` and `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: `self::event_flags::*` [INFO] [stdout] --> src/components/flags.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::event_flags::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug,Copy,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug,Copy,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug,Default,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug,Default,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/sprite.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/sprite.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/anim_sprite.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/anim_sprite.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/anim_sprite.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(unused)]`) 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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/particle_sys.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/particle_sys.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/player.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/player.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError` and `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` and `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` and `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` and `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` and `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` and `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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError` and `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 imports: `FullscreenType` and `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 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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/conf.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent` and `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` and `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: `Axis`, `GamepadId`, and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:698:32 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/compat.rs:698:42 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Clone,Debug,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_squared` and `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)]` (part of `#[warn(nonstandard_style)]`) 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/physics.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Copy,Clone,Debug,PartialEq,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug,Clone,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug,Clone,PartialEq,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entities` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/core/input.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone,Debug,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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: `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 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 imports: `DispatcherBuilder` and `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` and `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` and `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` and `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` and `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: `GameMode` [INFO] [stdout] --> src/core/mod.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::core::game_state::{GameState,GameMode,RunningState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxQueryInfo`, `PhysicsVec`, `RayCastBehaviorType`, and `RayCastQueryInfo` [INFO] [stdout] --> src/core/mod.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub use crate::core::physics::{PhysicsWorld,PhysicsVec,BoxQueryInfo,RayCastQueryInfo,RayCastBehaviorType}; [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` and `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 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/effect_area.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/effect_area.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiSpriteComponent` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:360:32 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `self::event_flags::*` [INFO] [stdout] --> src/components/flags.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::event_flags::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:360:44 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug,Copy,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug,Copy,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug,Default,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/logic.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug,Default,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/sprite.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/sprite.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/anim_sprite.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/anim_sprite.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/anim_sprite.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(unused)]`) 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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/particle_sys.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/components/particle_sys.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug,Default,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpriteComponent` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/player.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/player.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug,Clone,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameError` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/effect_area.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/effect_area.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug,Clone,Serialize,Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:360:32 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/geometry.rs:360:44 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(PartialEq,Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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` and `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` and `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`, and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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`, and `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`, and `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: 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` and `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: 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` and `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: 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` and `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: unused imports: `Point2`, `Vector2`, `distance_squared`, and `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: `crate::systems::interactor::*` [INFO] [stdout] --> src/systems/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use crate::systems::interactor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::logic::*` [INFO] [stdout] --> src/systems/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use crate::systems::logic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::animation::*` [INFO] [stdout] --> src/systems/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use crate::systems::animation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::particles::*` [INFO] [stdout] --> src/systems/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use crate::systems::particles::*; [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` and `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`, and `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` and `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` and `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`, and `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` and `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` and `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`, and `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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/entities/level.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Clone,Debug,Deserialize,Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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` and `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` and `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`, and `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` and `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`, and `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`, and `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: 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` and `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: 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` and `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: 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` and `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: unused imports: `Point2`, `Vector2`, `distance_squared`, and `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: `crate::systems::interactor::*` [INFO] [stdout] --> src/systems/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use crate::systems::interactor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::logic::*` [INFO] [stdout] --> src/systems/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use crate::systems::logic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::animation::*` [INFO] [stdout] --> src/systems/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use crate::systems::animation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::systems::particles::*` [INFO] [stdout] --> src/systems/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use crate::systems::particles::*; [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` and `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`, and `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` and `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` and `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`, and `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` and `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` and `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`, and `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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, 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: 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)]` (part of `#[warn(unused)]`) 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] error[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: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 197 | _Fraction => fraction, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Fraction` [INFO] [stdout] | [INFO] [stdout] 197 | core::physics::RayCastBehaviorType::Fraction => fraction, [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 198 | _All => 1.0 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `All` [INFO] [stdout] | [INFO] [stdout] 198 | core::physics::RayCastBehaviorType::All => 1.0 [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 332 | let _dot = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 332 - let dot = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] 332 + let components::button::DOWN_TO_TRIGGER = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] | [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 334 | let _local_dot = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 334 - let local_dot = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] 334 + let components::button::DOWN_TO_TRIGGER = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] | [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: unreachable pattern [INFO] [stdout] --> src/core/input.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/input.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 477 | MouseInput::Left => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | MouseInput::Middle => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | MouseInput::Right => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 495 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/input.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/input.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 505 | MouseInput::Left => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 510 | MouseInput::Middle => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 515 | MouseInput::Right => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 521 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [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: 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)]` (part of `#[warn(unused)]`) on by default [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: 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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 866 | pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 866 - pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, time_delta: f32) { [INFO] [stdout] 866 + pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:899:57 [INFO] [stdout] | [INFO] [stdout] 899 | for (_ent, mut character_opt, mut npc_opt, mut pos, mut coll, mut sprite, mut anim_sprite) 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/core/system.rs:899:66 [INFO] [stdout] | [INFO] [stdout] 899 | for (_ent, mut character_opt, mut npc_opt, mut pos, mut coll, mut sprite, mut anim_sprite) in [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: variable does not need to be mutable [INFO] [stdout] --> src/core/game_state.rs:756:21 [INFO] [stdout] | [INFO] [stdout] 756 | let mut curr_menu = &mut self.menu_stack[curr_menu_lvl as usize]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 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: 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 203 | let _level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 203 - let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] 203 + let components::button::DOWN_TO_TRIGGER = gs_res.level_world_seconds; [INFO] [stdout] | [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: 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: 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: 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: 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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 337 | let (_scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 337 - let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] 337 + let (components::button::DOWN_TO_TRIGGER, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 337 | let (scrw, _scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 337 - let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] 337 + let (scrw, components::button::DOWN_TO_TRIGGER) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | [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: 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: 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: 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 348 | pub fn process_walk(&mut self, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 348 - pub fn process_walk(&mut self, time_delta: f32) { [INFO] [stdout] 348 + pub fn process_walk(&mut self, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | pub fn process_walk_overhead(&mut self, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 376 - pub fn process_walk_overhead(&mut self, time_delta: f32) { [INFO] [stdout] 376 + pub fn process_walk_overhead(&mut self, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 431 | pub fn process_idle(&mut self, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 431 - pub fn process_idle(&mut self, time_delta: f32) { [INFO] [stdout] 431 + pub fn process_idle(&mut self, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 600 | fn process_facing_moving(&mut self, body_movement: na::Vector2::, _time_delta: f32) -> (bool, bool) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 600 - fn process_facing_moving(&mut self, body_movement: na::Vector2::, time_delta: f32) -> (bool, bool) { [INFO] [stdout] 600 + fn process_facing_moving(&mut self, body_movement: na::Vector2::, components::button::DOWN_TO_TRIGGER: f32) -> (bool, bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:617:75 [INFO] [stdout] | [INFO] [stdout] 617 | fn process_in_move_anim(&mut self, body_movement: na::Vector2::, time_delta: f32, is_moving: bool, level_type: &LevelType) -> bo... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 617 | fn process_in_move_anim(&mut self, body_movement: na::Vector2::, _time_delta: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 617 - fn process_in_move_anim(&mut self, body_movement: na::Vector2::, time_delta: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] 617 + fn process_in_move_anim(&mut self, body_movement: na::Vector2::, components::button::DOWN_TO_TRIGGER: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] | [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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1003 - fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 1003 + fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1015 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1015 - fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 1015 + fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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: variable does not need to be mutable [INFO] [stdout] --> src/components/player.rs:1030:21 [INFO] [stdout] | [INFO] [stdout] 1030 | if let Some(mut particle_sys) = particle_sys_res.get_mut(*entity) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1111 | let _self_rot = self.rot; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1111 - let self_rot = self.rot; [INFO] [stdout] 1111 + let components::button::DOWN_TO_TRIGGER = self.rot; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1112 | let _texture_green = if self.jump_duration <= 0.0 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1112 - let texture_green = if self.jump_duration <= 0.0 { [INFO] [stdout] 1112 + let components::button::DOWN_TO_TRIGGER = if self.jump_duration <= 0.0 { [INFO] [stdout] | [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: 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: 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: 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: 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: 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: 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 595 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 595 - fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 595 + fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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: 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: 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_anim_sprite(&mut self, _delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn update_anim_sprite(&mut self, delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] 74 + pub fn update_anim_sprite(&mut self, components::button::DOWN_TO_TRIGGER: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | [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: 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: 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 401 | let _level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 401 - let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] 401 + let components::button::DOWN_TO_TRIGGER = gs_res.level_world_seconds; [INFO] [stdout] | [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: 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: 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: 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: 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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 377 | let mut _angle = self.ang; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 377 - let mut angle = self.ang; [INFO] [stdout] 377 + let mut components::button::DOWN_TO_TRIGGER = self.ang; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 381 | let _level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 381 - let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] 381 + let components::button::DOWN_TO_TRIGGER = gs_res.level_world_seconds; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 382 | let _game_run_time = gs_res.game_run_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 382 - let game_run_time = gs_res.game_run_seconds; [INFO] [stdout] 382 + let components::button::DOWN_TO_TRIGGER = gs_res.game_run_seconds; [INFO] [stdout] | [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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 31 | pub fn update(&mut self, _time_delta: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 31 - pub fn update(&mut self, time_delta: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] 31 + pub fn update(&mut self, components::button::DOWN_TO_TRIGGER: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, _time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] 38 + pub fn update(&mut self, components::button::DOWN_TO_TRIGGER: f32, collision: &mut Collision) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 59 - fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 59 + fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 69 - fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 69 + fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 82 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 82 - fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 82 + fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 89 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 89 - fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 89 + fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 84 | width: f32, height: f32, angle: f32, _z_order: f32) -> Entity { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 84 - width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] 84 + width: f32, height: f32, angle: f32, components::button::DOWN_TO_TRIGGER: f32) -> Entity { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 160 | let _off_y = create_size(bottom_offset.y); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 160 - let off_y = create_size(bottom_offset.y); [INFO] [stdout] 160 + let components::button::DOWN_TO_TRIGGER = create_size(bottom_offset.y); [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 214 | let _off_y = create_size(bottom_offset.y); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 214 - let off_y = create_size(bottom_offset.y); [INFO] [stdout] 214 + let components::button::DOWN_TO_TRIGGER = create_size(bottom_offset.y); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, _density: f32, restitution: f32, height: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 242 - pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] 242 + pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, components::button::DOWN_TO_TRIGGER: f32, restitution: f32, height: f32, [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 242 | pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, _restitution: f32, height: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 242 - pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, restitution: f32, height: f32, [INFO] [stdout] 242 + pub fn build_joint(world: &mut PhysicsWorld, collision: &mut Collision, density: f32, components::button::DOWN_TO_TRIGGER: f32, height: f32, [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | width: f32, height: f32, angle: f32, _z_order: f32) -> Entity { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 27 - width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] 27 + width: f32, height: f32, angle: f32, components::button::DOWN_TO_TRIGGER: f32) -> Entity { [INFO] [stdout] | [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: 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: 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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | width: f32, height: f32, angle: f32, _z_order: f32) -> Entity { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 69 - width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] 69 + width: f32, height: f32, angle: f32, components::button::DOWN_TO_TRIGGER: f32) -> Entity { [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | width: f32, height: f32, angle: f32, _z_order: f32) -> Entity { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 29 - width: f32, height: f32, angle: f32, z_order: f32) -> Entity { [INFO] [stdout] 29 + width: f32, height: f32, angle: f32, components::button::DOWN_TO_TRIGGER: f32) -> Entity { [INFO] [stdout] | [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [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] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [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] 35 + pub fn build(world: &mut World, ctx: &mut Context, physics_world: &mut PhysicsWorld, x: f32, y: f32, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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: 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: 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: 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: 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: 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)]` (part of `#[warn(unused)]`) 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] error[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: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 197 | _Fraction => fraction, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Fraction` [INFO] [stdout] | [INFO] [stdout] 197 | core::physics::RayCastBehaviorType::Fraction => fraction, [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 198 | _All => 1.0 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `All` [INFO] [stdout] | [INFO] [stdout] 198 | core::physics::RayCastBehaviorType::All => 1.0 [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 332 | let _dot = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 332 - let dot = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] 332 + let components::button::DOWN_TO_TRIGGER = self::dot_product(&contact_normal,&down_normal); [INFO] [stdout] | [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 334 | let _local_dot = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 334 - let local_dot = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] 334 + let components::button::DOWN_TO_TRIGGER = self::dot_product(&norm_c_normal, &down_normal); [INFO] [stdout] | [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: unreachable pattern [INFO] [stdout] --> src/core/input.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/input.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 477 | MouseInput::Left => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | MouseInput::Middle => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | MouseInput::Right => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 495 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/input.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/input.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 505 | MouseInput::Left => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 510 | MouseInput::Middle => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 515 | MouseInput::Right => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 521 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [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: 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)]` (part of `#[warn(unused)]`) on by default [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: 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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 866 | pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 866 - pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, time_delta: f32) { [INFO] [stdout] 866 + pub fn run_post_physics_update(game_state: &mut GameState, ctx: &mut Context, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/system.rs:899:57 [INFO] [stdout] | [INFO] [stdout] 899 | for (_ent, mut character_opt, mut npc_opt, mut pos, mut coll, mut sprite, mut anim_sprite) 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/core/system.rs:899:66 [INFO] [stdout] | [INFO] [stdout] 899 | for (_ent, mut character_opt, mut npc_opt, mut pos, mut coll, mut sprite, mut anim_sprite) in [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: variable does not need to be mutable [INFO] [stdout] --> src/core/game_state.rs:756:21 [INFO] [stdout] | [INFO] [stdout] 756 | let mut curr_menu = &mut self.menu_stack[curr_menu_lvl as usize]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 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: 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 203 | let _level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 203 - let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] 203 + let components::button::DOWN_TO_TRIGGER = gs_res.level_world_seconds; [INFO] [stdout] | [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: 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: 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: 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: 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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 337 | let (_scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 337 - let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] 337 + let (components::button::DOWN_TO_TRIGGER, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 337 | let (scrw, _scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 337 - let (scrw, scrh) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] 337 + let (scrw, components::button::DOWN_TO_TRIGGER) = (game_state.window_w as f32, game_state.window_h as f32); [INFO] [stdout] | [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: 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: 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: 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 348 | pub fn process_walk(&mut self, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 348 - pub fn process_walk(&mut self, time_delta: f32) { [INFO] [stdout] 348 + pub fn process_walk(&mut self, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | pub fn process_walk_overhead(&mut self, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 376 - pub fn process_walk_overhead(&mut self, time_delta: f32) { [INFO] [stdout] 376 + pub fn process_walk_overhead(&mut self, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 431 | pub fn process_idle(&mut self, _time_delta: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 431 - pub fn process_idle(&mut self, time_delta: f32) { [INFO] [stdout] 431 + pub fn process_idle(&mut self, components::button::DOWN_TO_TRIGGER: f32) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 600 | fn process_facing_moving(&mut self, body_movement: na::Vector2::, _time_delta: f32) -> (bool, bool) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 600 - fn process_facing_moving(&mut self, body_movement: na::Vector2::, time_delta: f32) -> (bool, bool) { [INFO] [stdout] 600 + fn process_facing_moving(&mut self, body_movement: na::Vector2::, components::button::DOWN_TO_TRIGGER: f32) -> (bool, bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_delta` [INFO] [stdout] --> src/components/player.rs:617:75 [INFO] [stdout] | [INFO] [stdout] 617 | fn process_in_move_anim(&mut self, body_movement: na::Vector2::, time_delta: f32, is_moving: bool, level_type: &LevelType) -> bo... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 617 | fn process_in_move_anim(&mut self, body_movement: na::Vector2::, _time_delta: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 617 - fn process_in_move_anim(&mut self, body_movement: na::Vector2::, time_delta: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] 617 + fn process_in_move_anim(&mut self, body_movement: na::Vector2::, components::button::DOWN_TO_TRIGGER: f32, is_moving: bool, level_type: &LevelType) -> bool { [INFO] [stdout] | [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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1003 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1003 - fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 1003 + fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1015 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1015 - fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 1015 + fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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: variable does not need to be mutable [INFO] [stdout] --> src/components/player.rs:1030:21 [INFO] [stdout] | [INFO] [stdout] 1030 | if let Some(mut particle_sys) = particle_sys_res.get_mut(*entity) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1111 | let _self_rot = self.rot; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1111 - let self_rot = self.rot; [INFO] [stdout] 1111 + let components::button::DOWN_TO_TRIGGER = self.rot; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1112 | let _texture_green = if self.jump_duration <= 0.0 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 1112 - let texture_green = if self.jump_duration <= 0.0 { [INFO] [stdout] 1112 + let components::button::DOWN_TO_TRIGGER = if self.jump_duration <= 0.0 { [INFO] [stdout] | [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: 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: 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: 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: 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: 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: 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 595 | fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 595 - fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 595 + fn post_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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: 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: 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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_anim_sprite(&mut self, _delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn update_anim_sprite(&mut self, delta_time: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] 74 + pub fn update_anim_sprite(&mut self, components::button::DOWN_TO_TRIGGER: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent, physics_world: &mut PhysicsWorld) { [INFO] [stdout] | [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: 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: 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 401 | let _level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 401 - let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] 401 + let components::button::DOWN_TO_TRIGGER = gs_res.level_world_seconds; [INFO] [stdout] | [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: 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: 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: 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: 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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 377 | let mut _angle = self.ang; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 377 - let mut angle = self.ang; [INFO] [stdout] 377 + let mut components::button::DOWN_TO_TRIGGER = self.ang; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 381 | let _level_run_time = gs_res.level_world_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 381 - let level_run_time = gs_res.level_world_seconds; [INFO] [stdout] 381 + let components::button::DOWN_TO_TRIGGER = gs_res.level_world_seconds; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 382 | let _game_run_time = gs_res.game_run_seconds; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 382 - let game_run_time = gs_res.game_run_seconds; [INFO] [stdout] 382 + let components::button::DOWN_TO_TRIGGER = gs_res.game_run_seconds; [INFO] [stdout] | [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: 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: 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 31 | pub fn update(&mut self, _time_delta: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 31 - pub fn update(&mut self, time_delta: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] 31 + pub fn update(&mut self, components::button::DOWN_TO_TRIGGER: f32, collision: &mut Collision, sprite: &mut AnimSpriteComponent) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self, _time_delta: f32, collision: &mut Collision) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn update(&mut self, time_delta: f32, collision: &mut Collision) { [INFO] [stdout] 38 + pub fn update(&mut self, components::button::DOWN_TO_TRIGGER: f32, collision: &mut Collision) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, _time_delta: f32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DOWN_TO_TRIGGER` [INFO] [stdout] | [INFO] [stdout] 59 - fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, time_delta: f32, [INFO] [stdout] 59 + fn pre_physics_update(&mut self, world: &World, physics_world: &mut PhysicsWorld, components::button::DOWN_TO_TRIGGER: f32, [INFO] [stdout] | [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 [WARN] too many lines in the log, truncating it