[INFO] cloning repository https://github.com/eggmunkee/ggez-demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eggmunkee/ggez-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fggez-demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fggez-demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 95751b64f0cd4037038c64530edbebcabcaf1da8 [INFO] checking eggmunkee/ggez-demo against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fggez-demo" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eggmunkee/ggez-demo on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/eggmunkee/ggez-demo [INFO] finished tweaking git repo https://github.com/eggmunkee/ggez-demo [INFO] tweaked toml for git repo https://github.com/eggmunkee/ggez-demo written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/eggmunkee/ggez-demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20c7ba72490d7ff6fb5f25e213c517debda8f0ca45c3d4f430675a8d2094ca5c [INFO] running `"docker" "start" "-a" "20c7ba72490d7ff6fb5f25e213c517debda8f0ca45c3d4f430675a8d2094ca5c"` [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking nom v5.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking zip v0.5.5 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking num-rational v0.2.3 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking hashbrown v0.7.0 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking tynm v0.1.4 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking wayland-protocols v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking ggez_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `ContextBuilder` [INFO] [stderr] --> src/conf.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use ggez::{ContextBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityBuilder` [INFO] [stderr] --> src/entities/ball.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::systems::*` [INFO] [stderr] --> src/entities/ball.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::systems::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityBuilder` [INFO] [stderr] --> src/entities/player.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::systems::*` [INFO] [stderr] --> src/entities/player.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::systems::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `DispatcherBuilder`, `ReadStorage`, `RunNow`, `System`, `WriteStorage` [INFO] [stderr] --> src/components.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder, Component, DispatcherBuilder, ReadStorage, WriteStorage, System, VecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Dispatcher` [INFO] [stderr] --> src/components.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::shred::{Dispatcher}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `DispatcherBuilder`, `ReadStorage`, `RunNow`, `System`, `VecStorage`, `WriteStorage` [INFO] [stderr] --> src/components/player.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::{Builder, Component, DispatcherBuilder, ReadStorage, WriteStorage, System, VecStorage, DenseVecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Dispatcher` [INFO] [stderr] --> src/components/player.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use specs::shred::{Dispatcher}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `DispatcherBuilder`, `ReadStorage`, `RunNow`, `System`, `WriteStorage` [INFO] [stderr] --> src/components/collision.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder, Component, DispatcherBuilder, ReadStorage, WriteStorage, System, DenseVecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `Component`, `ReadStorage`, `RunNow`, `System`, `VecStorage`, `WorldExt` [INFO] [stderr] --> src/resources.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::{Builder, Component, ReadStorage, System, VecStorage,World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Axis`, `Button`, `GamepadId` [INFO] [stderr] --> src/game_state.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use ggez::event::{self, Axis, Button, GamepadId, KeyCode, KeyMods, MouseButton}; [INFO] [stderr] | ^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::graphics` [INFO] [stderr] --> src/game_state.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ggez::graphics; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::nalgebra as na` [INFO] [stderr] --> src/game_state.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ggez::nalgebra as na; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NumSamples`, `WindowSetup` [INFO] [stderr] --> src/game_state.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use ggez::conf::{NumSamples,WindowSetup}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color`, `set_window_title` [INFO] [stderr] --> src/game_state.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | use ggez::graphics::{Color,set_window_title}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `Component`, `DispatcherBuilder`, `RunNow`, `System`, `VecStorage` [INFO] [stderr] --> src/game_state.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use specs::{Builder, Component, DispatcherBuilder, Dispatcher,// ReadStorage, WriteStorage, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | System, VecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::prelude::*` [INFO] [stderr] --> src/game_state.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use rand::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MouseInput` [INFO] [stderr] --> src/game_state.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::input::{InputMap,MouseInput}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WorldExt` [INFO] [stderr] --> src/input.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use specs::{World, WorldExt}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/input.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/input.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/input.rs:185:17 [INFO] [stderr] | [INFO] [stderr] 185 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocks` [INFO] [stderr] --> src/systems.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | let blocks = Vec::<[f64;4]>::new(); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_blocks` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ent` [INFO] [stderr] --> src/render.rs:48:27 [INFO] [stderr] | [INFO] [stderr] 48 | for (pos, ent, disp) in (&pos, &ent, &disp).join() { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `col_vals` [INFO] [stderr] --> src/render.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | let mut col_vals: (u8,u8,u8) = rng.gen(); [INFO] [stderr] | ^^^^^^^^ help: consider prefixing with an underscore: `_col_vals` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymod` [INFO] [stderr] --> src/input.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | keymod: KeyMods,) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_keymod` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/input.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | ctx: &mut Context, [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymod` [INFO] [stderr] --> src/input.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | keymod: KeyMods,) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_keymod` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game_state.rs:98:83 [INFO] [stderr] | [INFO] [stderr] 98 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game_state.rs:98:91 [INFO] [stderr] | [INFO] [stderr] 98 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game_state.rs:118:81 [INFO] [stderr] | [INFO] [stderr] 118 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game_state.rs:118:89 [INFO] [stderr] | [INFO] [stderr] 118 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `xrel` [INFO] [stderr] --> src/game_state.rs:137:74 [INFO] [stderr] | [INFO] [stderr] 137 | fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_xrel` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yrel` [INFO] [stderr] --> src/game_state.rs:137:85 [INFO] [stderr] | [INFO] [stderr] 137 | fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_yrel` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems.rs:183:24 [INFO] [stderr] | [INFO] [stderr] 183 | fn run(&mut self, (mut pos, mut vel, collision, ent): Self::SystemData) { [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/systems.rs:183:33 [INFO] [stderr] | [INFO] [stderr] 183 | fn run(&mut self, (mut pos, mut vel, collision, ent): Self::SystemData) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | let mut col_vals: (u8,u8,u8) = rng.gen(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | let mut col_vals: (u8,u8,u8) = rng.gen(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_name` [INFO] [stderr] --> src/components/player.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn set_name(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Circle` [INFO] [stderr] --> src/components/collision.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Circle(f32), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/components/collision.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new() -> Collision { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new_circle` [INFO] [stderr] --> src/components/collision.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new_circle(radius: f32) -> Collision { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_mouse_x` [INFO] [stderr] --> src/resources.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn set_mouse_x(&mut self, mouse_x: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_mouse_y` [INFO] [stderr] --> src/resources.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn set_mouse_y(&mut self, mouse_y: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `NpcInputSystem` [INFO] [stderr] --> src/systems.rs:164:12 [INFO] [stderr] | [INFO] [stderr] 164 | pub struct NpcInputSystem; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MoveActorsSys` [INFO] [stderr] --> src/systems.rs:167:12 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct MoveActorsSys; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ZOrderSpriteSys` [INFO] [stderr] --> src/systems.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | pub struct ZOrderSpriteSys; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `play` [INFO] [stderr] --> src/game_state.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn play(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContextBuilder` [INFO] [stderr] --> src/conf.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use ggez::{ContextBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityBuilder` [INFO] [stderr] --> src/entities/ball.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::systems::*` [INFO] [stderr] --> src/entities/ball.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::systems::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityBuilder` [INFO] [stderr] --> src/entities/player.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder,Entity,EntityBuilder,World,WorldExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::systems::*` [INFO] [stderr] --> src/entities/player.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::systems::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `DispatcherBuilder`, `ReadStorage`, `RunNow`, `System`, `WriteStorage` [INFO] [stderr] --> src/components.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder, Component, DispatcherBuilder, ReadStorage, WriteStorage, System, VecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Dispatcher` [INFO] [stderr] --> src/components.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::shred::{Dispatcher}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `DispatcherBuilder`, `ReadStorage`, `RunNow`, `System`, `VecStorage`, `WriteStorage` [INFO] [stderr] --> src/components/player.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::{Builder, Component, DispatcherBuilder, ReadStorage, WriteStorage, System, VecStorage, DenseVecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Dispatcher` [INFO] [stderr] --> src/components/player.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use specs::shred::{Dispatcher}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `DispatcherBuilder`, `ReadStorage`, `RunNow`, `System`, `WriteStorage` [INFO] [stderr] --> src/components/collision.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{Builder, Component, DispatcherBuilder, ReadStorage, WriteStorage, System, DenseVecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `Component`, `ReadStorage`, `RunNow`, `System`, `VecStorage`, `WorldExt` [INFO] [stderr] --> src/resources.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use specs::{Builder, Component, ReadStorage, System, VecStorage,World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Axis`, `Button`, `GamepadId` [INFO] [stderr] --> src/game_state.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use ggez::event::{self, Axis, Button, GamepadId, KeyCode, KeyMods, MouseButton}; [INFO] [stderr] | ^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::graphics` [INFO] [stderr] --> src/game_state.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ggez::graphics; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::nalgebra as na` [INFO] [stderr] --> src/game_state.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ggez::nalgebra as na; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NumSamples`, `WindowSetup` [INFO] [stderr] --> src/game_state.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use ggez::conf::{NumSamples,WindowSetup}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color`, `set_window_title` [INFO] [stderr] --> src/game_state.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | use ggez::graphics::{Color,set_window_title}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Builder`, `Component`, `DispatcherBuilder`, `RunNow`, `System`, `VecStorage` [INFO] [stderr] --> src/game_state.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use specs::{Builder, Component, DispatcherBuilder, Dispatcher,// ReadStorage, WriteStorage, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | System, VecStorage, World, WorldExt, RunNow}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::prelude::*` [INFO] [stderr] --> src/game_state.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use rand::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MouseInput` [INFO] [stderr] --> src/game_state.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::input::{InputMap,MouseInput}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WorldExt` [INFO] [stderr] --> src/input.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use specs::{World, WorldExt}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/input.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/input.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/input.rs:185:17 [INFO] [stderr] | [INFO] [stderr] 185 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocks` [INFO] [stderr] --> src/systems.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | let blocks = Vec::<[f64;4]>::new(); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_blocks` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ent` [INFO] [stderr] --> src/render.rs:48:27 [INFO] [stderr] | [INFO] [stderr] 48 | for (pos, ent, disp) in (&pos, &ent, &disp).join() { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `col_vals` [INFO] [stderr] --> src/render.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | let mut col_vals: (u8,u8,u8) = rng.gen(); [INFO] [stderr] | ^^^^^^^^ help: consider prefixing with an underscore: `_col_vals` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymod` [INFO] [stderr] --> src/input.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | keymod: KeyMods,) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_keymod` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/input.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | ctx: &mut Context, [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymod` [INFO] [stderr] --> src/input.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | keymod: KeyMods,) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_keymod` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game_state.rs:98:83 [INFO] [stderr] | [INFO] [stderr] 98 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game_state.rs:98:91 [INFO] [stderr] | [INFO] [stderr] 98 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game_state.rs:118:81 [INFO] [stderr] | [INFO] [stderr] 118 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game_state.rs:118:89 [INFO] [stderr] | [INFO] [stderr] 118 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `xrel` [INFO] [stderr] --> src/game_state.rs:137:74 [INFO] [stderr] | [INFO] [stderr] 137 | fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_xrel` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yrel` [INFO] [stderr] --> src/game_state.rs:137:85 [INFO] [stderr] | [INFO] [stderr] 137 | fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, xrel: f32, yrel: f32) { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_yrel` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems.rs:183:24 [INFO] [stderr] | [INFO] [stderr] 183 | fn run(&mut self, (mut pos, mut vel, collision, ent): Self::SystemData) { [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/systems.rs:183:33 [INFO] [stderr] | [INFO] [stderr] 183 | fn run(&mut self, (mut pos, mut vel, collision, ent): Self::SystemData) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | let mut col_vals: (u8,u8,u8) = rng.gen(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | let mut col_vals: (u8,u8,u8) = rng.gen(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_name` [INFO] [stderr] --> src/components/player.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn set_name(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Circle` [INFO] [stderr] --> src/components/collision.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Circle(f32), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/components/collision.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new() -> Collision { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new_circle` [INFO] [stderr] --> src/components/collision.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new_circle(radius: f32) -> Collision { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_mouse_x` [INFO] [stderr] --> src/resources.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn set_mouse_x(&mut self, mouse_x: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_mouse_y` [INFO] [stderr] --> src/resources.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn set_mouse_y(&mut self, mouse_y: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `NpcInputSystem` [INFO] [stderr] --> src/systems.rs:164:12 [INFO] [stderr] | [INFO] [stderr] 164 | pub struct NpcInputSystem; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MoveActorsSys` [INFO] [stderr] --> src/systems.rs:167:12 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct MoveActorsSys; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ZOrderSpriteSys` [INFO] [stderr] --> src/systems.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | pub struct ZOrderSpriteSys; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `play` [INFO] [stderr] --> src/game_state.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn play(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `"docker" "inspect" "20c7ba72490d7ff6fb5f25e213c517debda8f0ca45c3d4f430675a8d2094ca5c"` [INFO] running `"docker" "rm" "-f" "20c7ba72490d7ff6fb5f25e213c517debda8f0ca45c3d4f430675a8d2094ca5c"` [INFO] [stdout] 20c7ba72490d7ff6fb5f25e213c517debda8f0ca45c3d4f430675a8d2094ca5c