[INFO] cloning repository https://github.com/eggmunkee/ggez-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eggmunkee/ggez-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fggez-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fggez-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5592717e981d7e9e87ce28e99a3b96389b38e236
[INFO] checking eggmunkee/ggez-demo against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fggez-demo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eggmunkee/ggez-demo
[INFO] finished tweaking git repo https://github.com/eggmunkee/ggez-demo
[INFO] tweaked toml for git repo https://github.com/eggmunkee/ggez-demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eggmunkee/ggez-demo on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eggmunkee/ggez-demo 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tuple_utils v0.3.0
[INFO] [stderr]   Downloaded shrev v1.1.1
[INFO] [stderr]   Downloaded tynm v0.1.4
[INFO] [stderr]   Downloaded specs v0.16.1
[INFO] [stderr]   Downloaded downcast-rs v1.1.1
[INFO] [stderr]   Downloaded shred v0.10.2
[INFO] [stderr]   Downloaded num_cpus v1.12.0
[INFO] [stderr]   Downloaded mopa v0.2.2
[INFO] [stderr]   Downloaded winapi-util v0.1.3
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.1
[INFO] [stderr]   Downloaded glutin_glx_sys v0.1.6
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.4
[INFO] [stderr]   Downloaded const-random v0.1.8
[INFO] [stderr]   Downloaded const-random-macro v0.1.8
[INFO] [stderr]   Downloaded coreaudio-sys v0.2.3
[INFO] [stderr]   Downloaded glutin_wgl_sys v0.1.4
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.59
[INFO] [stderr]   Downloaded hermit-abi v0.1.8
[INFO] [stderr]   Downloaded glutin_gles2_sys v0.1.4
[INFO] [stderr]   Downloaded num-iter v0.1.40
[INFO] [stderr]   Downloaded ahash v0.3.2
[INFO] [stderr]   Downloaded mint v0.5.4
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.59
[INFO] [stderr]   Downloaded smallvec v1.2.0
[INFO] [stderr]   Downloaded hibitset v0.6.3
[INFO] [stderr]   Downloaded error-chain v0.12.2
[INFO] [stderr]   Downloaded cexpr v0.3.6
[INFO] [stderr]   Downloaded lock_api v0.3.3
[INFO] [stderr]   Downloaded num-rational v0.2.3
[INFO] [stderr]   Downloaded clang-sys v0.28.1
[INFO] [stderr]   Downloaded gilrs-core v0.2.5
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.59
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.59
[INFO] [stderr]   Downloaded dirs-sys v0.3.4
[INFO] [stderr]   Downloaded zip v0.5.5
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded proc-macro2 v1.0.9
[INFO] [stderr]   Downloaded cc v1.0.50
[INFO] [stderr]   Downloaded rusttype v0.8.2
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded rayon-core v1.7.0
[INFO] [stderr]   Downloaded serde_json v1.0.48
[INFO] [stderr]   Downloaded hashbrown v0.7.0
[INFO] [stderr]   Downloaded atom v0.3.5
[INFO] [stderr]   Downloaded xi-unicode v0.2.0
[INFO] [stderr]   Downloaded backtrace v0.3.45
[INFO] [stderr]   Downloaded nom v4.2.3
[INFO] [stderr]   Downloaded nom v5.1.1
[INFO] [stderr]   Downloaded aho-corasick v0.7.9
[INFO] [stderr]   Downloaded bumpalo v3.2.0
[INFO] [stderr]   Downloaded bindgen v0.51.1
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.18
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.59
[INFO] [stderr]   Downloaded rayon v1.3.0
[INFO] [stderr]   Downloaded syn v1.0.16
[INFO] [stderr]   Downloaded regex v1.3.4
[INFO] [stderr]   Downloaded regex-syntax v0.6.16
[INFO] [stderr]   Downloaded libc v0.2.67
[INFO] [stderr]   Downloaded backtrace-sys v0.1.33
[INFO] [stderr]   Downloaded bzip2-sys v0.1.8+1.0.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505
[INFO] running `Command { std: "docker" "start" "8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling syn v1.0.16
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking lock_api v0.3.3
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]    Compiling nom v5.1.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.3
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling alsa-sys v0.1.2
[INFO] [stderr]    Compiling hashbrown v0.7.0
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking xi-unicode v0.2.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking mint v0.5.4
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking png v0.15.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.33
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking euclid v0.19.9
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]    Compiling bzip2-sys v0.1.8+1.0.8
[INFO] [stderr]    Compiling minimp3-sys v0.3.2
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking sid v0.5.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking lyon_geom v0.12.7
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking slice-deque v0.3.0
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]    Compiling backtrace v0.3.45
[INFO] [stderr]     Checking nix v0.15.0
[INFO] [stderr]     Checking cpal v0.8.2
[INFO] [stderr]     Checking bzip2 v0.3.3
[INFO] [stderr]     Checking lyon_path v0.13.2
[INFO] [stderr]     Checking tynm v0.1.4
[INFO] [stderr]     Checking twox-hash v1.5.0
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking minimp3 v0.3.5
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]     Checking smallvec v1.2.0
[INFO] [stderr]     Checking podio v0.1.6
[INFO] [stderr]     Checking atom v0.3.5
[INFO] [stderr]     Checking claxon v0.4.2
[INFO] [stderr]     Checking directories v2.0.2
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking lyon_tessellation v0.13.5
[INFO] [stderr]     Checking lyon_algorithms v0.13.4
[INFO] [stderr]     Checking zip v0.5.5
[INFO] [stderr]     Checking shrev v1.1.1
[INFO] [stderr]     Checking nalgebra v0.18.1
[INFO] [stderr]     Checking tuple_utils v0.3.0
[INFO] [stderr]     Checking image v0.22.5
[INFO] [stderr]     Checking lyon v0.13.5
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking wayland-client v0.21.13
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking wayland-protocols v0.21.13
[INFO] [stderr]     Checking gilrs-core v0.2.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.48
[INFO] [stderr]     Checking gilrs v0.7.4
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rusttype v0.8.2
[INFO] [stderr]     Checking const-random v0.1.8
[INFO] [stderr]     Checking ahash v0.3.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking glyph_brush_layout v0.1.9
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking glyph_brush v0.6.3
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking glyph_brush v0.5.4
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking shred v0.10.2
[INFO] [stderr]     Checking hibitset v0.6.3
[INFO] [stderr]     Checking specs v0.16.1
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]     Checking glutin v0.20.1
[INFO] [stderr]     Checking gfx_window_glutin v0.30.0
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling ggez v0.5.1
[INFO] [stderr]     Checking rodio v0.9.0
[INFO] [stderr]     Checking ggez_demo v0.1.0 (/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: `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: `GameState`
[INFO] [stdout]  --> src/entities/player.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::game_state::{GameState};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::systems::*`
[INFO] [stdout]   --> src/entities/player.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::systems::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vector2`
[INFO] [stdout]  --> src/physics.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use na::{Point2,Vector2,distance_squared,distance};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/physics.rs:96:38
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 let total_friction = (friction_i + friction_j);
[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] 96 -                 let total_friction = (friction_i + friction_j);
[INFO] [stdout] 96 +                 let total_friction = friction_i + friction_j;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Point2`, `Vector2`, and `distance`
[INFO] [stdout]  --> src/components/collision.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ggez::nalgebra::{Point2,Vector2,distance};
[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: `Entities`
[INFO] [stdout]  --> src/systems/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Entities,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Collision`
[INFO] [stdout]   --> src/systems/mod.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::components::collision::{Collision};
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlayerComponent`
[INFO] [stdout]   --> src/systems/mod.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::components::player::{PlayerComponent};
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorldAction`
[INFO] [stdout]  --> src/systems/input.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::resources::{InputResource,WorldAction};
[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};
[INFO] [stdout]   |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameError`
[INFO] [stdout]  --> src/render.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DrawParam`
[INFO] [stdout]  --> src/render.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,set_window_title};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DisplayCompType` and `DisplayComp`
[INFO] [stdout]   --> src/render.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::components::{Position,DisplayComp,DisplayCompType,RenderTrait};
[INFO] [stdout]    |                                  ^^^^^^^^^^^ ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlayerComponent`
[INFO] [stdout]   --> src/render.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::components::player::{PlayerComponent,CharacterDisplayComponent};
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorldExt`
[INFO] [stdout]  --> src/input.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use specs::{World, WorldExt};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorldAction`
[INFO] [stdout]  --> src/input.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::resources::{InputResource,WorldAction};
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::*`
[INFO] [stdout]  --> src/game_state.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/game_state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ggez::nalgebra as na;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameError`
[INFO] [stdout]  --> src/game_state.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ggez::{Context, GameResult, GameError};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NumSamples` and `WindowSetup`
[INFO] [stdout]  --> src/game_state.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ggez::conf::{NumSamples,WindowSetup,WindowMode};
[INFO] [stdout]   |                  ^^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `Image`, and `set_window_title`
[INFO] [stdout]   --> src/game_state.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ggez::graphics::{Rect,Color,Image,set_window_title};
[INFO] [stdout]    |                           ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Builder`, `Component`, `DispatcherBuilder`, `RunNow`, `System`, and `VecStorage`
[INFO] [stdout]   --> src/game_state.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use specs::{Builder, Component, DispatcherBuilder, Dispatcher,// ReadStorage, WriteStorage, 
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     System, VecStorage, World, WorldExt, RunNow};
[INFO] [stdout]    |     ^^^^^^  ^^^^^^^^^^                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]   --> src/game_state.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InputResource` and `WorldAction`
[INFO] [stdout]   --> src/game_state.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::resources::{InputResource,WorldAction,GameStateResource};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MouseInput`
[INFO] [stdout]   --> src/game_state.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::input::{InputMap,MouseInput};
[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/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: `GameState`
[INFO] [stdout]  --> src/entities/player.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::game_state::{GameState};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::systems::*`
[INFO] [stdout]   --> src/entities/player.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::systems::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vector2`
[INFO] [stdout]  --> src/physics.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use na::{Point2,Vector2,distance_squared,distance};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/physics.rs:96:38
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 let total_friction = (friction_i + friction_j);
[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] 96 -                 let total_friction = (friction_i + friction_j);
[INFO] [stdout] 96 +                 let total_friction = friction_i + friction_j;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Point2`, `Vector2`, and `distance`
[INFO] [stdout]  --> src/components/collision.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ggez::nalgebra::{Point2,Vector2,distance};
[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: `Entities`
[INFO] [stdout]  --> src/systems/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Entities,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Collision`
[INFO] [stdout]   --> src/systems/mod.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::components::collision::{Collision};
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlayerComponent`
[INFO] [stdout]   --> src/systems/mod.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::components::player::{PlayerComponent};
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorldAction`
[INFO] [stdout]  --> src/systems/input.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::resources::{InputResource,WorldAction};
[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};
[INFO] [stdout]   |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameError`
[INFO] [stdout]  --> src/render.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ggez::{Context, GameResult, GameError};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DrawParam`
[INFO] [stdout]  --> src/render.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ggez::graphics::{Color,DrawParam,set_window_title};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DisplayCompType` and `DisplayComp`
[INFO] [stdout]   --> src/render.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::components::{Position,DisplayComp,DisplayCompType,RenderTrait};
[INFO] [stdout]    |                                  ^^^^^^^^^^^ ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlayerComponent`
[INFO] [stdout]   --> src/render.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::components::player::{PlayerComponent,CharacterDisplayComponent};
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorldExt`
[INFO] [stdout]  --> src/input.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use specs::{World, WorldExt};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorldAction`
[INFO] [stdout]  --> src/input.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::resources::{InputResource,WorldAction};
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::*`
[INFO] [stdout]  --> src/game_state.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/game_state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ggez::nalgebra as na;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameError`
[INFO] [stdout]  --> src/game_state.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ggez::{Context, GameResult, GameError};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NumSamples` and `WindowSetup`
[INFO] [stdout]  --> src/game_state.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ggez::conf::{NumSamples,WindowSetup,WindowMode};
[INFO] [stdout]   |                  ^^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `Image`, and `set_window_title`
[INFO] [stdout]   --> src/game_state.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ggez::graphics::{Rect,Color,Image,set_window_title};
[INFO] [stdout]    |                           ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Builder`, `Component`, `DispatcherBuilder`, `RunNow`, `System`, and `VecStorage`
[INFO] [stdout]   --> src/game_state.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use specs::{Builder, Component, DispatcherBuilder, Dispatcher,// ReadStorage, WriteStorage, 
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     System, VecStorage, World, WorldExt, RunNow};
[INFO] [stdout]    |     ^^^^^^  ^^^^^^^^^^                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]   --> src/game_state.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InputResource` and `WorldAction`
[INFO] [stdout]   --> src/game_state.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::resources::{InputResource,WorldAction,GameStateResource};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MouseInput`
[INFO] [stdout]   --> src/game_state.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::input::{InputMap,MouseInput};
[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 import: `rand::prelude`
[INFO] [stdout]   --> src/render.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::prelude::*;
[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: value assigned to `imp` is never read
[INFO] [stdout]   --> src/physics.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut imp = 0.0;
[INFO] [stdout]    |                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 67 |             imp = overlap_len; //overlap_ratio * imp;
[INFO] [stdout]    |             ----------------- `imp` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mass_frac_i` is never read
[INFO] [stdout]   --> src/physics.rs:85:39
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 let mut mass_frac_i = 0.5;
[INFO] [stdout]    |                                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 93 |                 mass_frac_i = mass_j / (mass_i + mass_j);
[INFO] [stdout]    |                 ---------------------------------------- `mass_frac_i` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mass_frac_j` is never read
[INFO] [stdout]   --> src/physics.rs:86:39
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 let mut mass_frac_j = 0.5;
[INFO] [stdout]    |                                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 94 |                 mass_frac_j = mass_i / (mass_i + mass_j);
[INFO] [stdout]    |                 ---------------------------------------- `mass_frac_j` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/physics.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let mut x_imp = imp * x_dif;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/physics.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let mut y_imp = imp * y_dif;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `friction_i`
[INFO] [stdout]    --> src/physics.rs:144:31
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mass_i: f32, mass_j: f32, friction_i: f32, friction_j: f32, combined_obj_radius: f32) {
[INFO] [stdout]     |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friction_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `friction_j`
[INFO] [stdout]    --> src/physics.rs:144:48
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mass_i: f32, mass_j: f32, friction_i: f32, friction_j: f32, combined_obj_radius: f32) {
[INFO] [stdout]     |                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friction_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `imp` is never read
[INFO] [stdout]    --> src/physics.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let mut imp = 0.0;
[INFO] [stdout]     |                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 158 |             imp = overlap_len; //overlap_ratio * imp;
[INFO] [stdout]     |             ----------------- `imp` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/components/ball.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let w = self.image.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/ball.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let h = self.image.height();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vel`
[INFO] [stdout]   --> src/systems/input.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (vel, _player, _e) = inn_v;      
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_vel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/input.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn run(&mut self, (mut vel, player, mut input, ent): Self::SystemData) {
[INFO] [stdout]    |                                         ----^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/input.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut list = (&mut vel, &player, &ent).join().collect::<Vec<_>>();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/interactor.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn run(&mut self, (mut pos, mut vel, collision, ent): Self::SystemData) {
[INFO] [stdout]    |                        ----^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/interactor.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/interactor.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         let mut ent_vec = block_hash.get_mut(&(i,j)).unwrap();                
[INFO] [stdout]    |                             ----^^^^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/systems/interactor.rs:199:53
[INFO] [stdout]     |
[INFO] [stdout] 199 | ...                   if let Some(mut velocity_i) = svel_i {
[INFO] [stdout]     |                                   ----^^^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/systems/interactor.rs:209:53
[INFO] [stdout]     |
[INFO] [stdout] 209 | ...                   if let Some(mut velocity_j) = svel_j {
[INFO] [stdout]     |                                   ----^^^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/systems/interactor.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         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: `char_disp`
[INFO] [stdout]   --> src/render.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |             for (char_disp,pos,ent) in (&char_disp,&pos,&entities).join() {
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_char_disp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ball_disp`
[INFO] [stdout]   --> src/render.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |             for (ball_disp,pos,ent) in (&ball_disp,&pos,&entities).join() {
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_disp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]   --> src/input.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         keymod: KeyMods,) {
[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/input.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         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/input.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         keymod: KeyMods,) {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/input.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/input.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 MouseInput::Left => {
[INFO] [stdout]     |                 ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 155 |                 MouseInput::Middle => {
[INFO] [stdout]     |                 ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 162 |                 MouseInput::Right => {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 168 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/input.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/input.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 MouseInput::Left => {
[INFO] [stdout]     |                 ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 183 |                 MouseInput::Middle => {
[INFO] [stdout]     |                 ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 188 |                 MouseInput::Right => {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 194 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/game_state.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn update(&mut self, ctx: &mut Context) -> GameResult {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/game_state.rs:184:83
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                   ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/game_state.rs:184:91
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                           ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/game_state.rs:204:81
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/game_state.rs:204:89
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xrel`
[INFO] [stdout]    --> src/game_state.rs:223:74
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) {
[INFO] [stdout]     |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_xrel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `yrel`
[INFO] [stdout]    --> src/game_state.rs:223:85
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) {
[INFO] [stdout]     |                                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_yrel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build` and `build_static` are never used
[INFO] [stdout]   --> src/entities/ball.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl BallBuilder {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] 11 |     pub fn build(world: &mut World, ctx: &mut Context, x: f32, y: f32, vx: f32, vy: f32) -> Entity {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn build_static(world: &mut World, ctx: &mut Context, x: f32, y: f32) -> Entity {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `radius_square_check_points` is never used
[INFO] [stdout]   --> src/physics.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn radius_square_check_points(point: &Point2<f32>, check_point: &Point2<f32>, radius: f32) -> (bool, f32, Point2<f32>, Point2<f3...
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `actors_push_squares` is never used
[INFO] [stdout]    --> src/physics.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub fn actors_push_squares(pos_i: &na::Point2<f32>, pos_j: &na::Point2<f32>, 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]   --> src/components/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct GridLoc {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 16 |     pub row: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 17 |     pub col: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GridLoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `circle` and `display_type` are never read
[INFO] [stdout]   --> src/components/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct DisplayComp {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 65 |     pub circle: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 66 |     pub display_type: DisplayCompType,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisplayComp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/components/ball.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct BallDisplayComponent {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 14 |     pub image: Image, // component owns image
[INFO] [stdout] 15 |     pub path: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BallDisplayComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `life` and `move_ramp_up` are never read
[INFO] [stdout]   --> src/components/player.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PlayerComponent {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 13 |     pub player_name: String,
[INFO] [stdout] 14 |     pub life: i32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 15 |     pub move_ramp_up: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlayerComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/components/player.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct CharacterDisplayComponent {
[INFO] [stdout]    |            ------------------------- field in this struct
[INFO] [stdout] 45 |     pub image: Image, // component owns image
[INFO] [stdout] 46 |     pub path: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharacterDisplayComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/components/collision.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Circle(f32),
[INFO] [stdout]   |     ------ ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CollisionShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Circle(f32),
[INFO] [stdout] 7 +     Circle(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Square` is never constructed
[INFO] [stdout]  --> src/components/collision.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum CollisionShape {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] 7 |     Circle(f32),
[INFO] [stdout] 8 |     Square(f32)
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CollisionShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/components/collision.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Collision {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 13 |     pub shape: CollisionShape,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Collision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_circle` and `new_square` are never used
[INFO] [stdout]   --> src/components/collision.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Collision {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn new_circle(radius: f32) -> Collision {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn new_square(radius: f32) -> Collision {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AddCircle` is never constructed
[INFO] [stdout]   --> src/resources/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub enum WorldAction {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 67 |     AddCircle,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WorldAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `actions` is never read
[INFO] [stdout]   --> src/resources/mod.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct InputResource {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub actions: Vec::<WorldAction>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InputResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_mouse_x` and `set_mouse_y` are never used
[INFO] [stdout]    --> src/resources/mod.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl InputResource {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn set_mouse_x(&mut self, mouse_x: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn set_mouse_y(&mut self, mouse_y: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `t_delta` is never read
[INFO] [stdout]   --> src/systems/mod.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct UpdatePos {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 33 |     pub t_delta: Duration
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SumSys` is never constructed
[INFO] [stdout]    --> src/systems/mod.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct SumSys;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NpcInputSystem` is never constructed
[INFO] [stdout]   --> src/systems/input.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct NpcInputSystem;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `font` is never read
[INFO] [stdout]   --> src/game_state.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct GameState<'a> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub font: graphics::Font,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/game_state.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             ggez::graphics::set_screen_coordinates(ctx, Rect::new(0.0, 0.0, width, height));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 313 |             let _ = ggez::graphics::set_screen_coordinates(ctx, Rect::new(0.0, 0.0, width, height));
[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 import: `rand::prelude`
[INFO] [stdout]   --> src/render.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::prelude::*;
[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: value assigned to `imp` is never read
[INFO] [stdout]   --> src/physics.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut imp = 0.0;
[INFO] [stdout]    |                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 67 |             imp = overlap_len; //overlap_ratio * imp;
[INFO] [stdout]    |             ----------------- `imp` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mass_frac_i` is never read
[INFO] [stdout]   --> src/physics.rs:85:39
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 let mut mass_frac_i = 0.5;
[INFO] [stdout]    |                                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 93 |                 mass_frac_i = mass_j / (mass_i + mass_j);
[INFO] [stdout]    |                 ---------------------------------------- `mass_frac_i` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mass_frac_j` is never read
[INFO] [stdout]   --> src/physics.rs:86:39
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 let mut mass_frac_j = 0.5;
[INFO] [stdout]    |                                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 94 |                 mass_frac_j = mass_i / (mass_i + mass_j);
[INFO] [stdout]    |                 ---------------------------------------- `mass_frac_j` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/physics.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let mut x_imp = imp * x_dif;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/physics.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let mut y_imp = imp * y_dif;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `friction_i`
[INFO] [stdout]    --> src/physics.rs:144:31
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mass_i: f32, mass_j: f32, friction_i: f32, friction_j: f32, combined_obj_radius: f32) {
[INFO] [stdout]     |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friction_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `friction_j`
[INFO] [stdout]    --> src/physics.rs:144:48
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mass_i: f32, mass_j: f32, friction_i: f32, friction_j: f32, combined_obj_radius: f32) {
[INFO] [stdout]     |                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friction_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `imp` is never read
[INFO] [stdout]    --> src/physics.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let mut imp = 0.0;
[INFO] [stdout]     |                       ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 158 |             imp = overlap_len; //overlap_ratio * imp;
[INFO] [stdout]     |             ----------------- `imp` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/components/ball.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let w = self.image.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/ball.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let h = self.image.height();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vel`
[INFO] [stdout]   --> src/systems/input.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (vel, _player, _e) = inn_v;      
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_vel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/input.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn run(&mut self, (mut vel, player, mut input, ent): Self::SystemData) {
[INFO] [stdout]    |                                         ----^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/input.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut list = (&mut vel, &player, &ent).join().collect::<Vec<_>>();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/interactor.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn run(&mut self, (mut pos, mut vel, collision, ent): Self::SystemData) {
[INFO] [stdout]    |                        ----^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/interactor.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/interactor.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         let mut ent_vec = block_hash.get_mut(&(i,j)).unwrap();                
[INFO] [stdout]    |                             ----^^^^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/systems/interactor.rs:199:53
[INFO] [stdout]     |
[INFO] [stdout] 199 | ...                   if let Some(mut velocity_i) = svel_i {
[INFO] [stdout]     |                                   ----^^^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/systems/interactor.rs:209:53
[INFO] [stdout]     |
[INFO] [stdout] 209 | ...                   if let Some(mut velocity_j) = svel_j {
[INFO] [stdout]     |                                   ----^^^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/systems/interactor.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         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: `char_disp`
[INFO] [stdout]   --> src/render.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |             for (char_disp,pos,ent) in (&char_disp,&pos,&entities).join() {
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_char_disp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ball_disp`
[INFO] [stdout]   --> src/render.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |             for (ball_disp,pos,ent) in (&ball_disp,&pos,&entities).join() {
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_disp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]   --> src/input.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         keymod: KeyMods,) {
[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/input.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         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/input.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         keymod: KeyMods,) {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/input.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/input.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 MouseInput::Left => {
[INFO] [stdout]     |                 ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 155 |                 MouseInput::Middle => {
[INFO] [stdout]     |                 ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 162 |                 MouseInput::Right => {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 168 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/input.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/input.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 MouseInput::Left => {
[INFO] [stdout]     |                 ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 183 |                 MouseInput::Middle => {
[INFO] [stdout]     |                 ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 188 |                 MouseInput::Right => {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 194 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/game_state.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn update(&mut self, ctx: &mut Context) -> GameResult {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/game_state.rs:184:83
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                   ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/game_state.rs:184:91
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                           ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/game_state.rs:204:81
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/game_state.rs:204:89
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                                                                         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xrel`
[INFO] [stdout]    --> src/game_state.rs:223:74
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) {
[INFO] [stdout]     |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_xrel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `yrel`
[INFO] [stdout]    --> src/game_state.rs:223:85
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) {
[INFO] [stdout]     |                                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_yrel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build` and `build_static` are never used
[INFO] [stdout]   --> src/entities/ball.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl BallBuilder {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] 11 |     pub fn build(world: &mut World, ctx: &mut Context, x: f32, y: f32, vx: f32, vy: f32) -> Entity {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn build_static(world: &mut World, ctx: &mut Context, x: f32, y: f32) -> Entity {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `radius_square_check_points` is never used
[INFO] [stdout]   --> src/physics.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn radius_square_check_points(point: &Point2<f32>, check_point: &Point2<f32>, radius: f32) -> (bool, f32, Point2<f32>, Point2<f3...
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `actors_push_squares` is never used
[INFO] [stdout]    --> src/physics.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub fn actors_push_squares(pos_i: &na::Point2<f32>, pos_j: &na::Point2<f32>, 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]   --> src/components/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct GridLoc {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 16 |     pub row: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 17 |     pub col: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GridLoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `circle` and `display_type` are never read
[INFO] [stdout]   --> src/components/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct DisplayComp {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 65 |     pub circle: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 66 |     pub display_type: DisplayCompType,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisplayComp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/components/ball.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct BallDisplayComponent {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 14 |     pub image: Image, // component owns image
[INFO] [stdout] 15 |     pub path: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BallDisplayComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `life` and `move_ramp_up` are never read
[INFO] [stdout]   --> src/components/player.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PlayerComponent {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 13 |     pub player_name: String,
[INFO] [stdout] 14 |     pub life: i32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 15 |     pub move_ramp_up: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlayerComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/components/player.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct CharacterDisplayComponent {
[INFO] [stdout]    |            ------------------------- field in this struct
[INFO] [stdout] 45 |     pub image: Image, // component owns image
[INFO] [stdout] 46 |     pub path: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharacterDisplayComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/components/collision.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Circle(f32),
[INFO] [stdout]   |     ------ ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CollisionShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Circle(f32),
[INFO] [stdout] 7 +     Circle(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Square` is never constructed
[INFO] [stdout]  --> src/components/collision.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum CollisionShape {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] 7 |     Circle(f32),
[INFO] [stdout] 8 |     Square(f32)
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CollisionShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/components/collision.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Collision {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 13 |     pub shape: CollisionShape,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Collision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_circle` and `new_square` are never used
[INFO] [stdout]   --> src/components/collision.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Collision {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn new_circle(radius: f32) -> Collision {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn new_square(radius: f32) -> Collision {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AddCircle` is never constructed
[INFO] [stdout]   --> src/resources/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub enum WorldAction {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 67 |     AddCircle,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WorldAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `actions` is never read
[INFO] [stdout]   --> src/resources/mod.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct InputResource {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub actions: Vec::<WorldAction>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InputResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_mouse_x` and `set_mouse_y` are never used
[INFO] [stdout]    --> src/resources/mod.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl InputResource {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn set_mouse_x(&mut self, mouse_x: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn set_mouse_y(&mut self, mouse_y: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `t_delta` is never read
[INFO] [stdout]   --> src/systems/mod.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct UpdatePos {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 33 |     pub t_delta: Duration
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SumSys` is never constructed
[INFO] [stdout]    --> src/systems/mod.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct SumSys;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NpcInputSystem` is never constructed
[INFO] [stdout]   --> src/systems/input.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct NpcInputSystem;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `font` is never read
[INFO] [stdout]   --> src/game_state.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct GameState<'a> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub font: graphics::Font,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/game_state.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             ggez::graphics::set_screen_coordinates(ctx, Rect::new(0.0, 0.0, width, height));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 313 |             let _ = ggez::graphics::set_screen_coordinates(ctx, Rect::new(0.0, 0.0, width, height));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.63s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505", kill_on_drop: false }`
[INFO] [stdout] 8da48736dacce6d1a0ac47bc95b386eb827ef0688201790ac791ac8016c54505
