[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] building Irchh/piston_test_game against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIrchh%2Fpiston_test_game" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Irchh/piston_test_game on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c00841371b8b58d2488532aac582622950d8d20274a21bbad1009716da47a1c8
[INFO] running `Command { std: "docker" "start" "-a" "c00841371b8b58d2488532aac582622950d8d20274a21bbad1009716da47a1c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c00841371b8b58d2488532aac582622950d8d20274a21bbad1009716da47a1c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c00841371b8b58d2488532aac582622950d8d20274a21bbad1009716da47a1c8", kill_on_drop: false }`
[INFO] [stdout] c00841371b8b58d2488532aac582622950d8d20274a21bbad1009716da47a1c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0c9b5ced04f537a5fd90d041aee9ecb6e332dcbaf9f54af8116f9318a1f8d33
[INFO] running `Command { std: "docker" "start" "-a" "f0c9b5ced04f537a5fd90d041aee9ecb6e332dcbaf9f54af8116f9318a1f8d33", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]    Compiling rusttype v0.7.7
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling rayon-core v1.5.0
[INFO] [stderr]    Compiling crossbeam-deque v0.6.3
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling pkg-config v0.3.15
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling downcast-rs v1.0.4
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling rayon v1.1.0
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling gif v0.10.2
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling png v0.15.0
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.98
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.3
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling lock_api v0.2.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]    Compiling image v0.22.1
[INFO] [stderr]    Compiling shader_version v0.6.0
[INFO] [stderr]    Compiling gfx_core v0.8.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling percent-encoding v2.0.0
[INFO] [stderr]    Compiling piston-texture v0.7.0
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling piston2d-graphics v0.34.0
[INFO] [stderr]    Compiling piston-texture v0.6.0
[INFO] [stderr]    Compiling gfx v0.17.1
[INFO] [stderr]    Compiling piston2d-graphics v0.33.0
[INFO] [stderr]    Compiling xmlparser v0.9.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.38.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.64.0
[INFO] [stderr]    Compiling roxmltree v0.7.0
[INFO] [stderr]    Compiling gfx_device_gl v0.15.5
[INFO] [stderr]    Compiling pistoncore-input v0.28.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.67.0
[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 smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.2
[INFO] [stderr]    Compiling glutin v0.21.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.63.0
[INFO] [stderr]    Compiling piston_window v0.103.0
[INFO] [stderr]    Compiling 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "f0c9b5ced04f537a5fd90d041aee9ecb6e332dcbaf9f54af8116f9318a1f8d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0c9b5ced04f537a5fd90d041aee9ecb6e332dcbaf9f54af8116f9318a1f8d33", kill_on_drop: false }`
[INFO] [stdout] f0c9b5ced04f537a5fd90d041aee9ecb6e332dcbaf9f54af8116f9318a1f8d33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85edba2597d98b016a9be259ccc1598d847fdf1ca72d3907676aab4408852a4e
[INFO] running `Command { std: "docker" "start" "-a" "85edba2597d98b016a9be259ccc1598d847fdf1ca72d3907676aab4408852a4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "85edba2597d98b016a9be259ccc1598d847fdf1ca72d3907676aab4408852a4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85edba2597d98b016a9be259ccc1598d847fdf1ca72d3907676aab4408852a4e", kill_on_drop: false }`
[INFO] [stdout] 85edba2597d98b016a9be259ccc1598d847fdf1ca72d3907676aab4408852a4e
