[INFO] cloning repository https://github.com/Irchh/piston_test_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Irchh/piston_test_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIrchh%2Fpiston_test_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIrchh%2Fpiston_test_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 91ca81a4a5af9e91795bd9bba88bffa8e9173914
[INFO] checking Irchh/piston_test_game against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIrchh%2Fpiston_test_game" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Irchh/piston_test_game
[INFO] finished tweaking git repo https://github.com/Irchh/piston_test_game
[INFO] tweaked toml for git repo https://github.com/Irchh/piston_test_game written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Irchh/piston_test_game on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Irchh/piston_test_game already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9d57e8fb1a71a3a3ee83928dd844d89d942a25878420b43d828b18bd2a88cc4
[INFO] running `Command { std: "docker" "start" "-a" "b9d57e8fb1a71a3a3ee83928dd844d89d942a25878420b43d828b18bd2a88cc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9d57e8fb1a71a3a3ee83928dd844d89d942a25878420b43d828b18bd2a88cc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9d57e8fb1a71a3a3ee83928dd844d89d942a25878420b43d828b18bd2a88cc4", kill_on_drop: false }`
[INFO] [stdout] b9d57e8fb1a71a3a3ee83928dd844d89d942a25878420b43d828b18bd2a88cc4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b32b4ec2ee1f1e33bb7655b027f26292ba49d88a20ef4905ec5c5d4146e5906
[INFO] running `Command { std: "docker" "start" "-a" "0b32b4ec2ee1f1e33bb7655b027f26292ba49d88a20ef4905ec5c5d4146e5906", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]     Checking stb_truetype v0.2.6
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking rusttype v0.7.7
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rayon-core v1.5.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking crossbeam-deque v0.6.3
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]    Compiling pkg-config v0.3.15
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking downcast-rs v1.0.4
[INFO] [stderr]     Checking same-file v1.0.5
[INFO] [stderr]     Checking rayon v1.1.0
[INFO] [stderr]     Checking walkdir v2.2.9
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking gif v0.10.2
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking png v0.15.0
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.3
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking lock_api v0.2.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking scopeguard v0.3.3
[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 lock_api v0.1.5
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking percent-encoding v2.0.0
[INFO] [stderr]     Checking piston-texture v0.7.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking piston2d-graphics v0.34.0
[INFO] [stderr]     Checking piston-texture v0.6.0
[INFO] [stderr]     Checking xmlparser v0.9.0
[INFO] [stderr]     Checking piston2d-graphics v0.33.0
[INFO] [stderr]     Checking roxmltree v0.7.0
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.98
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking image v0.22.1
[INFO] [stderr]     Checking gfx_core v0.8.3
[INFO] [stderr]     Checking gfx v0.17.1
[INFO] [stderr]     Checking gfx_device_gl v0.15.5
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking piston-gfx_texture v0.38.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.67.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.64.0
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking piston v0.49.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.19.2
[INFO] [stderr]     Checking glutin v0.21.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.63.0
[INFO] [stderr]     Checking piston_window v0.103.0
[INFO] [stderr]     Checking piston_test_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/collision.rs:95:83
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn cube_collider(object1: &crate::mob::Player, object2: &Cube, side: Side) -> (bool) {
[INFO] [stdout]    |                                                                                   ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 - pub fn cube_collider(object1: &crate::mob::Player, object2: &Cube, side: Side) -> (bool) {
[INFO] [stdout] 95 + pub fn cube_collider(object1: &crate::mob::Player, object2: &Cube, side: Side) -> bool  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::App`
[INFO] [stdout]  --> src/render.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::App;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston::RenderArgs`
[INFO] [stdout]  --> src/render.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use piston::RenderArgs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Transformed` and `rectangle`
[INFO] [stdout]  --> src/render.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use graphics::{rectangle,Transformed};
[INFO] [stdout]   |                ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(clamp)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `velocity`
[INFO] [stdout]   --> src/collision.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let velocity = Vec2::new(0., 0.);
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let map = loader::load_map("assets/maps/test.tmx", &mut app, &mut window);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     for i in 0..4 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rotation`, `color`, and `state` are never read
[INFO] [stdout]   --> src/collision.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Cube {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  8 |     pub rotation: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]  9 |     pub color: [f64; 4],
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 10 |     pub texture: Texture,
[INFO] [stdout] 11 |     pub state: crate::mob::MobState,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `walk2`, `walk3`, and `land` are never read
[INFO] [stdout]   --> src/render.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct PlayerAnimation {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub walk2: Texture,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 11 |     pub walk3: Texture,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 12 |     pub jump: Texture,
[INFO] [stdout] 13 |     pub land: Texture,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Walk2`, `Walk3`, `Jump`, and `None` are never constructed
[INFO] [stdout]  --> src/mob.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Animations {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 6 |     Walk2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     Walk3,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     Jump,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     None,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_jump` is never used
[INFO] [stdout]   --> src/mob.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Animations {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 13 |     // TODO: Change to something like 'is(&self, Animations)'
[INFO] [stdout] 14 |     pub fn is_jump(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `friction` is never read
[INFO] [stdout]   --> src/mob.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct MobState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub friction: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rotation` and `color` are never read
[INFO] [stdout]   --> src/mob.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub rotation: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 49 |     pub color: [f64; 4],
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/loader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 if byte-48 < 0 || byte-48 > 9 { panic!("Byte is not number! {:?}", byte); };
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/collision.rs:95:83
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn cube_collider(object1: &crate::mob::Player, object2: &Cube, side: Side) -> (bool) {
[INFO] [stdout]    |                                                                                   ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 - pub fn cube_collider(object1: &crate::mob::Player, object2: &Cube, side: Side) -> (bool) {
[INFO] [stdout] 95 + pub fn cube_collider(object1: &crate::mob::Player, object2: &Cube, side: Side) -> bool  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::App`
[INFO] [stdout]  --> src/render.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::App;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston::RenderArgs`
[INFO] [stdout]  --> src/render.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use piston::RenderArgs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Transformed` and `rectangle`
[INFO] [stdout]  --> src/render.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use graphics::{rectangle,Transformed};
[INFO] [stdout]   |                ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(clamp)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `velocity`
[INFO] [stdout]   --> src/collision.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let velocity = Vec2::new(0., 0.);
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let map = loader::load_map("assets/maps/test.tmx", &mut app, &mut window);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     for i in 0..4 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rotation`, `color`, and `state` are never read
[INFO] [stdout]   --> src/collision.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Cube {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  8 |     pub rotation: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]  9 |     pub color: [f64; 4],
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 10 |     pub texture: Texture,
[INFO] [stdout] 11 |     pub state: crate::mob::MobState,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `walk2`, `walk3`, and `land` are never read
[INFO] [stdout]   --> src/render.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct PlayerAnimation {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub walk2: Texture,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 11 |     pub walk3: Texture,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 12 |     pub jump: Texture,
[INFO] [stdout] 13 |     pub land: Texture,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Walk2`, `Walk3`, `Jump`, and `None` are never constructed
[INFO] [stdout]  --> src/mob.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Animations {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 6 |     Walk2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     Walk3,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     Jump,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     None,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_jump` is never used
[INFO] [stdout]   --> src/mob.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Animations {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 13 |     // TODO: Change to something like 'is(&self, Animations)'
[INFO] [stdout] 14 |     pub fn is_jump(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `friction` is never read
[INFO] [stdout]   --> src/mob.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct MobState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub friction: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rotation` and `color` are never read
[INFO] [stdout]   --> src/mob.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub rotation: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 49 |     pub color: [f64; 4],
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/loader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 if byte-48 < 0 || byte-48 > 9 { panic!("Byte is not number! {:?}", byte); };
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s
[INFO] running `Command { std: "docker" "inspect" "0b32b4ec2ee1f1e33bb7655b027f26292ba49d88a20ef4905ec5c5d4146e5906", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b32b4ec2ee1f1e33bb7655b027f26292ba49d88a20ef4905ec5c5d4146e5906", kill_on_drop: false }`
[INFO] [stdout] 0b32b4ec2ee1f1e33bb7655b027f26292ba49d88a20ef4905ec5c5d4146e5906
