[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIrchh%2Fpiston_test_game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Irchh/piston_test_game on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-window v0.44.0 [INFO] [stderr] Downloaded pistoncore-input v0.28.0 [INFO] [stderr] Downloaded xmlparser v0.9.0 [INFO] [stderr] Downloaded roxmltree v0.7.0 [INFO] [stderr] Downloaded stb_truetype v0.2.6 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded piston-texture v0.6.0 [INFO] [stderr] Downloaded gfx_gl v0.5.0 [INFO] [stderr] Downloaded gfx v0.17.1 [INFO] [stderr] Downloaded crossbeam-queue v0.1.2 [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded gl_generator v0.9.0 [INFO] [stderr] Downloaded piston2d-graphics v0.33.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.64.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded piston_window v0.103.0 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded downcast-rs v1.0.4 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded winit v0.19.2 [INFO] [stderr] Downloaded glutin v0.21.0 [INFO] [stderr] Downloaded gfx_device_gl v0.15.5 [INFO] [stderr] Downloaded gfx_core v0.8.3 [INFO] [stderr] Downloaded gif v0.10.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded piston-gfx_texture v0.38.0 [INFO] [stderr] Downloaded cocoa v0.18.4 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.67.0 [INFO] [stderr] Downloaded parking_lot_core v0.5.0 [INFO] [stderr] Downloaded parking_lot v0.8.0 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded gl_generator v0.13.0 [INFO] [stderr] Downloaded lock_api v0.2.0 [INFO] [stderr] Downloaded smallvec v0.6.10 [INFO] [stderr] Downloaded percent-encoding v2.0.0 [INFO] [stderr] Downloaded rusttype v0.7.7 [INFO] [stderr] Downloaded piston v0.49.0 [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded pistoncore-event_loop v0.49.0 [INFO] [stderr] Downloaded piston-texture v0.7.0 [INFO] [stderr] Downloaded piston2d-graphics v0.34.0 [INFO] [stderr] Downloaded derivative v1.0.2 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.3 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded owning_ref v0.4.0 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded objc v0.2.6 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded pkg-config v0.3.15 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.63.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf406e6a964d58689092baccaeb8faa54d237e00e6d9b722652af98e0d0eebe [INFO] running `Command { std: "docker" "start" "-a" "acf406e6a964d58689092baccaeb8faa54d237e00e6d9b722652af98e0d0eebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf406e6a964d58689092baccaeb8faa54d237e00e6d9b722652af98e0d0eebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf406e6a964d58689092baccaeb8faa54d237e00e6d9b722652af98e0d0eebe", kill_on_drop: false }` [INFO] [stdout] acf406e6a964d58689092baccaeb8faa54d237e00e6d9b722652af98e0d0eebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4abb2fc2d88b2e8c030c8ae2224bce8953915dedbb43c3fcabd2d0699eb58077 [INFO] running `Command { std: "docker" "start" "-a" "4abb2fc2d88b2e8c030c8ae2224bce8953915dedbb43c3fcabd2d0699eb58077", 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] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rayon v1.1.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] Checking draw_state v0.8.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking piston-texture v0.7.0 [INFO] [stderr] Checking percent-encoding v2.0.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking piston2d-graphics v0.34.0 [INFO] [stderr] Checking xmlparser v0.9.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking piston2d-graphics v0.33.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking roxmltree v0.7.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.5 [INFO] [stderr] Checking piston-gfx_texture v0.38.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.67.0 [INFO] [stderr] Checking pistoncore-input v0.28.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: the item `Transformed` is imported redundantly [INFO] [stdout] --> src/collision.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 15 | use graphics::{rectangle,Transformed}; [INFO] [stdout] | ----------- the item `Transformed` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use crate::graphics::Transformed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transformed` is imported redundantly [INFO] [stdout] --> src/collision.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 15 | use graphics::{rectangle,Transformed}; [INFO] [stdout] | ----------- the item `Transformed` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use crate::graphics::Transformed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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] [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`, `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: 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)]` 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] [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`, `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: 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)]` 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)]` 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: 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)]` 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: 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)]` 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.92s [INFO] running `Command { std: "docker" "inspect" "4abb2fc2d88b2e8c030c8ae2224bce8953915dedbb43c3fcabd2d0699eb58077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4abb2fc2d88b2e8c030c8ae2224bce8953915dedbb43c3fcabd2d0699eb58077", kill_on_drop: false }` [INFO] [stdout] 4abb2fc2d88b2e8c030c8ae2224bce8953915dedbb43c3fcabd2d0699eb58077 [INFO] checking Irchh/piston_test_game against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIrchh%2Fpiston_test_game" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Irchh/piston_test_game on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58958d9cfbf9d2ef13cdefb510a41fc230f8f12b4320cc082f5e153a448d4b4a [INFO] running `Command { std: "docker" "start" "-a" "58958d9cfbf9d2ef13cdefb510a41fc230f8f12b4320cc082f5e153a448d4b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58958d9cfbf9d2ef13cdefb510a41fc230f8f12b4320cc082f5e153a448d4b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58958d9cfbf9d2ef13cdefb510a41fc230f8f12b4320cc082f5e153a448d4b4a", kill_on_drop: false }` [INFO] [stdout] 58958d9cfbf9d2ef13cdefb510a41fc230f8f12b4320cc082f5e153a448d4b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1353a0268479cfea0942f309703cb9d8f47c6fc10f0fe2a1f9d7113051391ba [INFO] running `Command { std: "docker" "start" "-a" "a1353a0268479cfea0942f309703cb9d8f47c6fc10f0fe2a1f9d7113051391ba", 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 semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.1 [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] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking percent-encoding v2.0.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking piston-texture v0.7.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking xmlparser v0.9.0 [INFO] [stderr] Checking piston2d-graphics v0.34.0 [INFO] [stderr] Checking piston2d-graphics v0.33.0 [INFO] [stderr] Checking roxmltree v0.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [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: the item `Transformed` is imported redundantly [INFO] [stdout] --> src/collision.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 15 | use graphics::{rectangle,Transformed}; [INFO] [stdout] | ----------- the item `Transformed` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use crate::graphics::Transformed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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] [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`, `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: the item `Transformed` is imported redundantly [INFO] [stdout] --> src/collision.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 15 | use graphics::{rectangle,Transformed}; [INFO] [stdout] | ----------- the item `Transformed` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use crate::graphics::Transformed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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] [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`, `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)]` 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)]` 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: 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)]` 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: 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)]` 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.65s [INFO] running `Command { std: "docker" "inspect" "a1353a0268479cfea0942f309703cb9d8f47c6fc10f0fe2a1f9d7113051391ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1353a0268479cfea0942f309703cb9d8f47c6fc10f0fe2a1f9d7113051391ba", kill_on_drop: false }` [INFO] [stdout] a1353a0268479cfea0942f309703cb9d8f47c6fc10f0fe2a1f9d7113051391ba