[INFO] cloning repository https://github.com/guoyuMao/my_super_man
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guoyuMao/my_super_man" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoyuMao%2Fmy_super_man", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoyuMao%2Fmy_super_man'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d066c759b90b6eb7fb9dbfd1ea732611d44a8ba9
[INFO] checking guoyuMao/my_super_man against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoyuMao%2Fmy_super_man" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/guoyuMao/my_super_man
[INFO] finished tweaking git repo https://github.com/guoyuMao/my_super_man
[INFO] tweaked toml for git repo https://github.com/guoyuMao/my_super_man written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/guoyuMao/my_super_man on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/guoyuMao/my_super_man 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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6
[INFO] running `Command { std: "docker" "start" "0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6", 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" "0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6", 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" "0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling xml-rs v0.8.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking lock_api v0.3.3
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking rusttype v0.8.2
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking png v0.16.2
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking piston2d-graphics v0.36.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking find_folder v0.3.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking image v0.23.3
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.68.0
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking piston v0.49.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking glutin v0.21.2
[INFO] [stderr]     Checking pistoncore-glutin_window v0.63.0
[INFO] [stderr]     Checking piston_window v0.107.0
[INFO] [stderr]     Checking my_super_man v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:21
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `OpenGL` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:21
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `PistonWindow` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:43
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Glyphs` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:43
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:51
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `G2dTexture` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:51
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:63
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Texture` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:63
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:72
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Flip` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:72
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:78
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `TextureSettings` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:78
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | use std::task::Context;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Context` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | use std::task::Context;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::task::Context`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::task::Context;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colour`
[INFO] [stdout]  --> src/weapon/bullet.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{config, colour};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts`
[INFO] [stdout]  --> src/weapon/bullet.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::f64::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `level1` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/bullet.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     level1,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Level1`
[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 `level2` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/bullet.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     level2,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Level2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colour`
[INFO] [stdout]  --> src/weapon/explode.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{config, colour};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::weapon`
[INFO] [stdout]  --> src/weapon/explode.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::weapon;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::weapon::bullet::Bullet`
[INFO] [stdout]  --> src/weapon/explode.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::weapon::bullet::Bullet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type1` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/explode.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     type1,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type2` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/explode.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     type2
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/person/enemy.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type1` should have an upper camel case name
[INFO] [stdout]   --> src/person/enemy.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     type1,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type2` should have an upper camel case name
[INFO] [stdout]   --> src/person/enemy.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type2,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colour`
[INFO] [stdout]  --> src/person/super_man.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{config, colour};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type1` should have an upper camel case name
[INFO] [stdout]   --> src/person/super_man.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     type1,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type2` should have an upper camel case name
[INFO] [stdout]   --> src/person/super_man.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type2,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ///游戏实体
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 108 |     let mut game = Game::new(vec!(super_man));
[INFO] [stdout]     |     ------------------------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:21
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `OpenGL` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:21
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `PistonWindow` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:43
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Glyphs` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:43
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:51
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `G2dTexture` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:51
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:63
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Texture` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:63
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:72
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Flip` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:72
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:8:78
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `TextureSettings` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:8:78
[INFO] [stdout]    |
[INFO] [stdout]  8 | use piston_window::{OpenGL, PistonWindow, Glyphs, G2dTexture, Texture, Flip, TextureSettings};
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | use std::task::Context;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `Context` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use piston_window::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | use std::task::Context;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::task::Context`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::task::Context;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colour`
[INFO] [stdout]  --> src/weapon/bullet.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{config, colour};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts`
[INFO] [stdout]  --> src/weapon/bullet.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::f64::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `level1` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/bullet.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     level1,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Level1`
[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 `level2` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/bullet.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     level2,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Level2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colour`
[INFO] [stdout]  --> src/weapon/explode.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{config, colour};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::weapon`
[INFO] [stdout]  --> src/weapon/explode.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::weapon;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::weapon::bullet::Bullet`
[INFO] [stdout]  --> src/weapon/explode.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::weapon::bullet::Bullet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type1` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/explode.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     type1,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type2` should have an upper camel case name
[INFO] [stdout]   --> src/weapon/explode.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     type2
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/person/enemy.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type1` should have an upper camel case name
[INFO] [stdout]   --> src/person/enemy.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     type1,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type2` should have an upper camel case name
[INFO] [stdout]   --> src/person/enemy.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type2,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colour`
[INFO] [stdout]  --> src/person/super_man.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{config, colour};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type1` should have an upper camel case name
[INFO] [stdout]   --> src/person/super_man.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     type1,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `type2` should have an upper camel case name
[INFO] [stdout]   --> src/person/super_man.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type2,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ///游戏实体
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 108 |     let mut game = Game::new(vec!(super_man));
[INFO] [stdout]     |     ------------------------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/weapon/bullet.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 _ => {}
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/weapon/bullet.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 BulletType::level1 => texture = &config::BULLET_TEXTURE_LEVEL1,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 90 |                 BulletType::level2 => texture = &config::BULLET_TEXTURE_LEVEL2,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 91 |                 _ => {}
[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: unused variable: `glyphs`
[INFO] [stdout]   --> src/weapon/bullet.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn draw(&self, glyphs: &mut Glyphs, c: Context, g: &mut G2d, device: &mut gfx_device_gl::Device) {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> src/weapon/bullet.rs:82:66
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn draw(&self, glyphs: &mut Glyphs, c: Context, g: &mut G2d, device: &mut gfx_device_gl::Device) {
[INFO] [stdout]    |                                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]   --> src/weapon/bullet.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ref win_size = self.win_size;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coordinate`
[INFO] [stdout]   --> src/weapon/bullet.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let ref coordinate = self.coordinate;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/weapon/explode.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 _ => {}
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/weapon/explode.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 ExplodeType::type1 => texture = &config::EXPLODE_TEXTURE1,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 58 |                 ExplodeType::type2 => texture = &config::EXPLODE_TEXTURE2,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 59 |                 _ => {}
[INFO] [stdout]    |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]   --> src/weapon/explode.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> src/weapon/explode.rs:50:64
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]    |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]   --> src/weapon/explode.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let ref win_size = self.win_size;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coordinate`
[INFO] [stdout]   --> src/weapon/explode.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let ref coordinate = self.coordinate;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/person/enemy.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut my_coordinate:(f64,f64);
[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: unreachable pattern
[INFO] [stdout]    --> src/person/enemy.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/person/enemy.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 EnemyCategory::type1 => texture = &config::ENEMY_TEXTURE1,
[INFO] [stdout]     |                 -------------------- matches some of the same values
[INFO] [stdout] 156 |                 EnemyCategory::type2 => texture = &config::ENEMY_TEXTURE2,
[INFO] [stdout]     |                 -------------------- matches some of the same values
[INFO] [stdout] 157 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]    --> src/person/enemy.rs:148:22
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]    --> src/person/enemy.rs:148:64
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]    --> src/person/enemy.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ref win_size = self.win_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coordinate`
[INFO] [stdout]    --> src/person/enemy.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let ref coordinate = self.coordinate;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/person/super_man.rs:117:33
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     if let Some(button) = e.press_args() {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/person/super_man.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/person/super_man.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 Category::type1 => texture = &config::SUPER_MAN_TEXTURE1,
[INFO] [stdout]     |                 --------------- matches some of the same values
[INFO] [stdout] 219 |                 Category::type2 => texture = &config::SUPER_MAN_TEXTURE2,
[INFO] [stdout]     |                 --------------- matches some of the same values
[INFO] [stdout] 220 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]    --> src/person/super_man.rs:211:22
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]    --> src/person/super_man.rs:211:64
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]    --> src/person/super_man.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let ref win_size = self.win_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/person/super_man.rs:213:14
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let (x,y) = self.coordinate;
[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/person/super_man.rs:213:16
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let (x,y) = self.coordinate;
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     let mut enemy = enemy::Enemy::new(enemy::EnemyCategory::type2 ,&self.super_mans);
[INFO] [stdout]    |                         ----^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/main.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if let Some(r) = e.render_args(){
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `colour` is never read
[INFO] [stdout]   --> src/person/enemy.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Enemy{
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     colour:colour::Colour,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `width_pre` should have an upper case name
[INFO] [stdout]   --> src/weapon/bullet.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const width_pre:f64 = 2f64 / 100f64;
[INFO] [stdout]    |           ^^^^^^^^^ help: convert the identifier to upper case: `WIDTH_PRE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `height_pre` should have an upper case name
[INFO] [stdout]   --> src/weapon/bullet.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const height_pre:f64 = 2f64 / 100f64;
[INFO] [stdout]    |           ^^^^^^^^^^ help: convert the identifier to upper case: `HEIGHT_PRE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/bullet.rs:89:49
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 BulletType::level1 => texture = &config::BULLET_TEXTURE_LEVEL1,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 BulletType::level1 => texture = &raw const config::BULLET_TEXTURE_LEVEL1,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/bullet.rs:90:49
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 BulletType::level2 => texture = &config::BULLET_TEXTURE_LEVEL2,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 BulletType::level2 => texture = &raw const config::BULLET_TEXTURE_LEVEL2,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/explode.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 ExplodeType::type1 => texture = &config::EXPLODE_TEXTURE1,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 ExplodeType::type1 => texture = &raw const config::EXPLODE_TEXTURE1,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/explode.rs:58:49
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 ExplodeType::type2 => texture = &config::EXPLODE_TEXTURE2,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 ExplodeType::type2 => texture = &raw const config::EXPLODE_TEXTURE2,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/person/enemy.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |             if n >= 0 {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/enemy.rs:155:51
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 EnemyCategory::type1 => texture = &config::ENEMY_TEXTURE1,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 EnemyCategory::type1 => texture = &raw const config::ENEMY_TEXTURE1,
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/weapon/bullet.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 _ => {}
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/weapon/bullet.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 BulletType::level1 => texture = &config::BULLET_TEXTURE_LEVEL1,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 90 |                 BulletType::level2 => texture = &config::BULLET_TEXTURE_LEVEL2,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 91 |                 _ => {}
[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: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/enemy.rs:156:51
[INFO] [stdout]     |
[INFO] [stdout] 156 |                 EnemyCategory::type2 => texture = &config::ENEMY_TEXTURE2,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 156 |                 EnemyCategory::type2 => texture = &raw const config::ENEMY_TEXTURE2,
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/super_man.rs:218:46
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 Category::type1 => texture = &config::SUPER_MAN_TEXTURE1,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 Category::type1 => texture = &raw const config::SUPER_MAN_TEXTURE1,
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/super_man.rs:219:46
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 Category::type2 => texture = &config::SUPER_MAN_TEXTURE2,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 Category::type2 => texture = &raw const config::SUPER_MAN_TEXTURE2,
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]   --> src/weapon/bullet.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn draw(&self, glyphs: &mut Glyphs, c: Context, g: &mut G2d, device: &mut gfx_device_gl::Device) {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> src/weapon/bullet.rs:82:66
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn draw(&self, glyphs: &mut Glyphs, c: Context, g: &mut G2d, device: &mut gfx_device_gl::Device) {
[INFO] [stdout]    |                                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]   --> src/weapon/bullet.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ref win_size = self.win_size;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coordinate`
[INFO] [stdout]   --> src/weapon/bullet.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let ref coordinate = self.coordinate;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/weapon/explode.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 _ => {}
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/weapon/explode.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 ExplodeType::type1 => texture = &config::EXPLODE_TEXTURE1,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 58 |                 ExplodeType::type2 => texture = &config::EXPLODE_TEXTURE2,
[INFO] [stdout]    |                 ------------------ matches some of the same values
[INFO] [stdout] 59 |                 _ => {}
[INFO] [stdout]    |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]   --> src/weapon/explode.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> src/weapon/explode.rs:50:64
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]    |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]   --> src/weapon/explode.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let ref win_size = self.win_size;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coordinate`
[INFO] [stdout]   --> src/weapon/explode.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let ref coordinate = self.coordinate;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/person/enemy.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut my_coordinate:(f64,f64);
[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: unreachable pattern
[INFO] [stdout]    --> src/person/enemy.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/person/enemy.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 EnemyCategory::type1 => texture = &config::ENEMY_TEXTURE1,
[INFO] [stdout]     |                 -------------------- matches some of the same values
[INFO] [stdout] 156 |                 EnemyCategory::type2 => texture = &config::ENEMY_TEXTURE2,
[INFO] [stdout]     |                 -------------------- matches some of the same values
[INFO] [stdout] 157 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]    --> src/person/enemy.rs:148:22
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]    --> src/person/enemy.rs:148:64
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]    --> src/person/enemy.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ref win_size = self.win_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coordinate`
[INFO] [stdout]    --> src/person/enemy.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let ref coordinate = self.coordinate;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/person/super_man.rs:117:33
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     if let Some(button) = e.press_args() {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/person/super_man.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 _ => {}
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/person/super_man.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 Category::type1 => texture = &config::SUPER_MAN_TEXTURE1,
[INFO] [stdout]     |                 --------------- matches some of the same values
[INFO] [stdout] 219 |                 Category::type2 => texture = &config::SUPER_MAN_TEXTURE2,
[INFO] [stdout]     |                 --------------- matches some of the same values
[INFO] [stdout] 220 |                 _ => {}
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glyphs`
[INFO] [stdout]    --> src/person/super_man.rs:211:22
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]    --> src/person/super_man.rs:211:64
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stdout]     |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_size`
[INFO] [stdout]    --> src/person/super_man.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let ref win_size = self.win_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/person/super_man.rs:213:14
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let (x,y) = self.coordinate;
[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/person/super_man.rs:213:16
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let (x,y) = self.coordinate;
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     let mut enemy = enemy::Enemy::new(enemy::EnemyCategory::type2 ,&self.super_mans);
[INFO] [stdout]    |                         ----^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/main.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if let Some(r) = e.render_args(){
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `colour` is never read
[INFO] [stdout]   --> src/person/enemy.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Enemy{
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     colour:colour::Colour,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `width_pre` should have an upper case name
[INFO] [stdout]   --> src/weapon/bullet.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const width_pre:f64 = 2f64 / 100f64;
[INFO] [stdout]    |           ^^^^^^^^^ help: convert the identifier to upper case: `WIDTH_PRE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `height_pre` should have an upper case name
[INFO] [stdout]   --> src/weapon/bullet.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const height_pre:f64 = 2f64 / 100f64;
[INFO] [stdout]    |           ^^^^^^^^^^ help: convert the identifier to upper case: `HEIGHT_PRE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/bullet.rs:89:49
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 BulletType::level1 => texture = &config::BULLET_TEXTURE_LEVEL1,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 BulletType::level1 => texture = &raw const config::BULLET_TEXTURE_LEVEL1,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/bullet.rs:90:49
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 BulletType::level2 => texture = &config::BULLET_TEXTURE_LEVEL2,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 BulletType::level2 => texture = &raw const config::BULLET_TEXTURE_LEVEL2,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/explode.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 ExplodeType::type1 => texture = &config::EXPLODE_TEXTURE1,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 ExplodeType::type1 => texture = &raw const config::EXPLODE_TEXTURE1,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/weapon/explode.rs:58:49
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 ExplodeType::type2 => texture = &config::EXPLODE_TEXTURE2,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 ExplodeType::type2 => texture = &raw const config::EXPLODE_TEXTURE2,
[INFO] [stdout]    |                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/person/enemy.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |             if n >= 0 {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/enemy.rs:155:51
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 EnemyCategory::type1 => texture = &config::ENEMY_TEXTURE1,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 EnemyCategory::type1 => texture = &raw const config::ENEMY_TEXTURE1,
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/enemy.rs:156:51
[INFO] [stdout]     |
[INFO] [stdout] 156 |                 EnemyCategory::type2 => texture = &config::ENEMY_TEXTURE2,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 156 |                 EnemyCategory::type2 => texture = &raw const config::ENEMY_TEXTURE2,
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/super_man.rs:218:46
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 Category::type1 => texture = &config::SUPER_MAN_TEXTURE1,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 Category::type1 => texture = &raw const config::SUPER_MAN_TEXTURE1,
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/person/super_man.rs:219:46
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 Category::type2 => texture = &config::SUPER_MAN_TEXTURE2,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 Category::type2 => texture = &raw const config::SUPER_MAN_TEXTURE2,
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.55s
[INFO] running `Command { std: "docker" "inspect" "0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6", kill_on_drop: false }`
[INFO] [stdout] 0cecf2306c0c294513c25e4e475ba6e931b322ae203998d5cba436169659f6d6
