[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoyuMao%2Fmy_super_man" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guoyuMao/my_super_man on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/guoyuMao/my_super_man already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e87cf72ecab8ef0143d87ca25de37cf5ab3a41c22a6ba226d22981c832714b68 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e87cf72ecab8ef0143d87ca25de37cf5ab3a41c22a6ba226d22981c832714b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e87cf72ecab8ef0143d87ca25de37cf5ab3a41c22a6ba226d22981c832714b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e87cf72ecab8ef0143d87ca25de37cf5ab3a41c22a6ba226d22981c832714b68", kill_on_drop: false }` [INFO] [stdout] e87cf72ecab8ef0143d87ca25de37cf5ab3a41c22a6ba226d22981c832714b68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b4123069b17024ebcd1aebbffc62ac33eb9b5f55e46dcd38d6a1177a45027a0 [INFO] running `Command { std: "docker" "start" "-a" "6b4123069b17024ebcd1aebbffc62ac33eb9b5f55e46dcd38d6a1177a45027a0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling libc v0.2.68 [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 proc-macro2 v0.4.30 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.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 num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking png v0.16.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [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] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.106 [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 smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking winit v0.19.5 [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 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: 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)]` 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)]` 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] = note: `#[warn(unused_doc_comments)]` on by default [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)]` 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)]` 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] = note: `#[warn(unused_doc_comments)]` 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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/weapon/explode.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/person/enemy.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | _ => {} [INFO] [stdout] | ^ [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] | ^ [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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/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: 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/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: `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: `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: 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: 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: unreachable pattern [INFO] [stdout] --> src/weapon/bullet.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/weapon/explode.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/person/enemy.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | _ => {} [INFO] [stdout] | ^ [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] | ^ [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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/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: 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/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: `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: `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: 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: 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: 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)]` on by default [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)]` on by default [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: field is never read: `colour` [INFO] [stdout] --> src/person/enemy.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | colour:colour::Colour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: field is never read: `colour` [INFO] [stdout] --> src/person/enemy.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | colour:colour::Colour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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)]` 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: 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: 46 warnings emitted [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)]` 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: 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: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "6b4123069b17024ebcd1aebbffc62ac33eb9b5f55e46dcd38d6a1177a45027a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4123069b17024ebcd1aebbffc62ac33eb9b5f55e46dcd38d6a1177a45027a0", kill_on_drop: false }` [INFO] [stdout] 6b4123069b17024ebcd1aebbffc62ac33eb9b5f55e46dcd38d6a1177a45027a0