[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] testing guoyuMao/my_super_man against 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoyuMao%2Fmy_super_man" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/guoyuMao/my_super_man on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-4/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" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e4f72bf6f46638584ec899fca46227f0ecd34144f3a1cbf4702643b942c21e42
[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" "e4f72bf6f46638584ec899fca46227f0ecd34144f3a1cbf4702643b942c21e42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4f72bf6f46638584ec899fca46227f0ecd34144f3a1cbf4702643b942c21e42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4f72bf6f46638584ec899fca46227f0ecd34144f3a1cbf4702643b942c21e42", kill_on_drop: false }`
[INFO] [stdout] e4f72bf6f46638584ec899fca46227f0ecd34144f3a1cbf4702643b942c21e42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb5b8167492e84bbc5dda049e5c6e20ffa4f1253225e7640b6343b90e6314227
[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" "bb5b8167492e84bbc5dda049e5c6e20ffa4f1253225e7640b6343b90e6314227", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling find_folder v0.3.0
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling shader_version v0.6.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling png v0.16.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling piston2d-graphics v0.36.0
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling image v0.23.3
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.68.0
[INFO] [stderr]    Compiling pistoncore-input v0.28.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling pistoncore-window v0.44.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.49.0
[INFO] [stderr]    Compiling piston v0.49.0
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.63.0
[INFO] [stderr]    Compiling piston_window v0.107.0
[INFO] [stderr]    Compiling 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: 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/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] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 28s
[INFO] running `Command { std: "docker" "inspect" "bb5b8167492e84bbc5dda049e5c6e20ffa4f1253225e7640b6343b90e6314227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb5b8167492e84bbc5dda049e5c6e20ffa4f1253225e7640b6343b90e6314227", kill_on_drop: false }`
[INFO] [stdout] bb5b8167492e84bbc5dda049e5c6e20ffa4f1253225e7640b6343b90e6314227
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af708870c3203753f9dd8b3307c698e9de7569ed391c99a330ed1852b12a1033
[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" "af708870c3203753f9dd8b3307c698e9de7569ed391c99a330ed1852b12a1033", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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/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] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.59s
[INFO] running `Command { std: "docker" "inspect" "af708870c3203753f9dd8b3307c698e9de7569ed391c99a330ed1852b12a1033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af708870c3203753f9dd8b3307c698e9de7569ed391c99a330ed1852b12a1033", kill_on_drop: false }`
[INFO] [stdout] af708870c3203753f9dd8b3307c698e9de7569ed391c99a330ed1852b12a1033
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen", 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] ee6fdd372d020cea2d1205ba9dcc02d84799332790421d09706aaba48446d7d6
[INFO] running `Command { std: "docker" "start" "-a" "ee6fdd372d020cea2d1205ba9dcc02d84799332790421d09706aaba48446d7d6", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: unused import: `std::task::Context`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::task::Context;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `colour`
[INFO] [stderr]  --> src/weapon/bullet.rs:3:29
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::config::{config, colour};
[INFO] [stderr]   |                             ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f64::consts`
[INFO] [stderr]  --> src/weapon/bullet.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::f64::consts;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `level1` should have an upper camel case name
[INFO] [stderr]   --> src/weapon/bullet.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     level1,
[INFO] [stderr]    |     ^^^^^^ help: convert the identifier to upper camel case: `Level1`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `level2` should have an upper camel case name
[INFO] [stderr]   --> src/weapon/bullet.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     level2,
[INFO] [stderr]    |     ^^^^^^ help: convert the identifier to upper camel case: `Level2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `colour`
[INFO] [stderr]  --> src/weapon/explode.rs:2:29
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::config::{config, colour};
[INFO] [stderr]   |                             ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::weapon`
[INFO] [stderr]  --> src/weapon/explode.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::weapon;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::weapon::bullet::Bullet`
[INFO] [stderr]  --> src/weapon/explode.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::weapon::bullet::Bullet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `type1` should have an upper camel case name
[INFO] [stderr]   --> src/weapon/explode.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     type1,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `type2` should have an upper camel case name
[INFO] [stderr]   --> src/weapon/explode.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     type2
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thread_rng`
[INFO] [stderr]  --> src/person/enemy.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rand::{thread_rng, Rng};
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `type1` should have an upper camel case name
[INFO] [stderr]   --> src/person/enemy.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     type1,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `type2` should have an upper camel case name
[INFO] [stderr]   --> src/person/enemy.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     type2,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `colour`
[INFO] [stderr]  --> src/person/super_man.rs:2:29
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::config::{config, colour};
[INFO] [stderr]   |                             ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `type1` should have an upper camel case name
[INFO] [stderr]   --> src/person/super_man.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     type1,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `Type1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `type2` should have an upper camel case name
[INFO] [stderr]   --> src/person/super_man.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     type2,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `Type2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/main.rs:107:5
[INFO] [stderr]     |
[INFO] [stderr] 107 |     ///游戏实体
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 108 |     let mut game = Game::new(vec!(super_man));
[INFO] [stderr]     |     ------------------------------------------ rustdoc does not generate documentation for statements
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/weapon/bullet.rs:91:17
[INFO] [stderr]    |
[INFO] [stderr] 91 |                 _ => {}
[INFO] [stderr]    |                 ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/weapon/explode.rs:59:17
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 _ => {}
[INFO] [stderr]    |                 ^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/person/enemy.rs:157:17
[INFO] [stderr]     |
[INFO] [stderr] 157 |                 _ => {}
[INFO] [stderr]     |                 ^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/person/super_man.rs:220:17
[INFO] [stderr]     |
[INFO] [stderr] 220 |                 _ => {}
[INFO] [stderr]     |                 ^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/main.rs:112:21
[INFO] [stderr]     |
[INFO] [stderr] 112 |         if let Some(r) = e.render_args(){
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `win_size`
[INFO] [stderr]   --> src/weapon/bullet.rs:83:13
[INFO] [stderr]    |
[INFO] [stderr] 83 |         let ref win_size = self.win_size;
[INFO] [stderr]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]   --> src/weapon/bullet.rs:84:13
[INFO] [stderr]    |
[INFO] [stderr] 84 |         let ref coordinate = self.coordinate;
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `glyphs`
[INFO] [stderr]   --> src/weapon/bullet.rs:82:20
[INFO] [stderr]    |
[INFO] [stderr] 82 |     fn draw(&self, glyphs: &mut Glyphs, c: Context, g: &mut G2d, device: &mut gfx_device_gl::Device) {
[INFO] [stderr]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `device`
[INFO] [stderr]   --> src/weapon/bullet.rs:82:66
[INFO] [stderr]    |
[INFO] [stderr] 82 |     fn draw(&self, glyphs: &mut Glyphs, c: Context, g: &mut G2d, device: &mut gfx_device_gl::Device) {
[INFO] [stderr]    |                                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `win_size`
[INFO] [stderr]   --> src/weapon/explode.rs:51:13
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let ref win_size = self.win_size;
[INFO] [stderr]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]   --> src/weapon/explode.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let ref coordinate = self.coordinate;
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `glyphs`
[INFO] [stderr]   --> src/weapon/explode.rs:50:22
[INFO] [stderr]    |
[INFO] [stderr] 50 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stderr]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `device`
[INFO] [stderr]   --> src/weapon/explode.rs:50:64
[INFO] [stderr]    |
[INFO] [stderr] 50 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stderr]    |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `win_size`
[INFO] [stderr]    --> src/person/enemy.rs:149:13
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let ref win_size = self.win_size;
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]    --> src/person/enemy.rs:150:13
[INFO] [stderr]     |
[INFO] [stderr] 150 |         let ref coordinate = self.coordinate;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `glyphs`
[INFO] [stderr]    --> src/person/enemy.rs:148:22
[INFO] [stderr]     |
[INFO] [stderr] 148 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `device`
[INFO] [stderr]    --> src/person/enemy.rs:148:64
[INFO] [stderr]     |
[INFO] [stderr] 148 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stderr]     |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `button`
[INFO] [stderr]    --> src/person/super_man.rs:117:33
[INFO] [stderr]     |
[INFO] [stderr] 117 |                     if let Some(button) = e.press_args() {
[INFO] [stderr]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `win_size`
[INFO] [stderr]    --> src/person/super_man.rs:212:13
[INFO] [stderr]     |
[INFO] [stderr] 212 |         let ref win_size = self.win_size;
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/person/super_man.rs:213:14
[INFO] [stderr]     |
[INFO] [stderr] 213 |         let (x,y) = self.coordinate;
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/person/super_man.rs:213:16
[INFO] [stderr]     |
[INFO] [stderr] 213 |         let (x,y) = self.coordinate;
[INFO] [stderr]     |                ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `glyphs`
[INFO] [stderr]    --> src/person/super_man.rs:211:22
[INFO] [stderr]     |
[INFO] [stderr] 211 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `device`
[INFO] [stderr]    --> src/person/super_man.rs:211:64
[INFO] [stderr]     |
[INFO] [stderr] 211 |     fn draw (& self, glyphs:&mut Glyphs,c:Context, g:&mut G2d, device:&mut gfx_device_gl::Device){
[INFO] [stderr]     |                                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/person/enemy.rs:39:13
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let mut my_coordinate:(f64,f64);
[INFO] [stderr]    |             ----^^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/game.rs:80:25
[INFO] [stderr]    |
[INFO] [stderr] 80 |                     let mut enemy = enemy::Enemy::new(enemy::EnemyCategory::type2 ,&self.super_mans);
[INFO] [stderr]    |                         ----^^^^^
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `colour`
[INFO] [stderr]   --> src/person/enemy.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     colour:colour::Colour,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `width_pre` should have an upper case name
[INFO] [stderr]   --> src/weapon/bullet.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub const width_pre:f64 = 2f64 / 100f64;
[INFO] [stderr]    |           ^^^^^^^^^ help: convert the identifier to upper case: `WIDTH_PRE`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `height_pre` should have an upper case name
[INFO] [stderr]   --> src/weapon/bullet.rs:19:11
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub const height_pre:f64 = 2f64 / 100f64;
[INFO] [stderr]    |           ^^^^^^^^^^ help: convert the identifier to upper case: `HEIGHT_PRE`
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/person/enemy.rs:53:16
[INFO] [stderr]    |
[INFO] [stderr] 53 |             if n >= 0 {
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 46 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.69s
[INFO] [stdout] 
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/my_super_man-486de81416470fa4
[INFO] [stdout] running 1 test
[INFO] [stdout] test config::comm_utils::test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ee6fdd372d020cea2d1205ba9dcc02d84799332790421d09706aaba48446d7d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee6fdd372d020cea2d1205ba9dcc02d84799332790421d09706aaba48446d7d6", kill_on_drop: false }`
[INFO] [stdout] ee6fdd372d020cea2d1205ba9dcc02d84799332790421d09706aaba48446d7d6
