[INFO] cloning repository https://github.com/mystal/midgar-shmup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mystal/midgar-shmup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmystal%2Fmidgar-shmup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmystal%2Fmidgar-shmup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d635ae341011b35cbfa841b354917914de08595d [INFO] testing mystal/midgar-shmup against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmystal%2Fmidgar-shmup" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mystal/midgar-shmup on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mystal/midgar-shmup [INFO] finished tweaking git repo https://github.com/mystal/midgar-shmup [INFO] tweaked toml for git repo https://github.com/mystal/midgar-shmup written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/mystal/midgar-shmup already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f16a47ed785a5e98a93fa7782ba2ca3017203ad929fd827b9b3d382c5e2ff98d [INFO] running `Command { std: "docker" "start" "-a" "f16a47ed785a5e98a93fa7782ba2ca3017203ad929fd827b9b3d382c5e2ff98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f16a47ed785a5e98a93fa7782ba2ca3017203ad929fd827b9b3d382c5e2ff98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16a47ed785a5e98a93fa7782ba2ca3017203ad929fd827b9b3d382c5e2ff98d", kill_on_drop: false }` [INFO] [stdout] f16a47ed785a5e98a93fa7782ba2ca3017203ad929fd827b9b3d382c5e2ff98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb8b9946745a28894d4d1b4d2a73709f3da4c28746d2a744055b05ee4cd6c4a0 [INFO] running `Command { std: "docker" "start" "-a" "cb8b9946745a28894d4d1b4d2a73709f3da4c28746d2a744055b05ee4cd6c4a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling maybe-owned v0.3.0 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling smallvec v0.6.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling inflate v0.4.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.5.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling approx v0.2.0 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling moving-average v0.1.0 (https://github.com/mystal/moving-average#cb646c66) [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling glium v0.18.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling rusttype v0.6.1 [INFO] [stderr] Compiling shred-derive v0.5.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling shred v0.7.0 [INFO] [stderr] Compiling hibitset v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling shrev v1.0.1 [INFO] [stderr] Compiling specs v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stderr] Compiling glium_sdl2 v0.15.0 [INFO] [stderr] Compiling midgar v0.1.0 (https://github.com/mystal/midgar-engine?branch=dev#840bfa01) [INFO] [stderr] Compiling midgar-shmup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/components/camera.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use specs::{self, Component, Entity}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/input.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use midgar::{Button, KeyCode, MouseButton}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MagnifySamplerFilter`, `SpriteDrawParams` [INFO] [stdout] --> src/renderer.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use midgar::graphics::sprite::{DrawTexture, MagnifySamplerFilter, SpriteDrawParams, SpriteRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `midgar::graphics::texture::TextureRegion` [INFO] [stdout] --> src/renderer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use midgar::graphics::texture::TextureRegion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawTexture` [INFO] [stdout] --> src/renderer.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use midgar::graphics::sprite::{DrawTexture, MagnifySamplerFilter, SpriteDrawParams, SpriteRenderer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_entity` [INFO] [stdout] --> src/world.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let player_entity = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_entity` [INFO] [stdout] --> src/world.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let camera_entity = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider` [INFO] [stdout] --> src/systems/motion.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | for (collider, pos) in (&colliders, &transforms).join() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/motion.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | for (collider, pos) in (&colliders, &transforms).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/collider.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(radius: f32, die: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_percent` [INFO] [stdout] --> src/components/health.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn current_percent(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_shape` [INFO] [stdout] --> src/components/renderable.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_shape(width: u32, height: u32, color: [f32; 3]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/systems/camera.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(player_entity: Entity) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.76s [INFO] running `Command { std: "docker" "inspect" "cb8b9946745a28894d4d1b4d2a73709f3da4c28746d2a744055b05ee4cd6c4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8b9946745a28894d4d1b4d2a73709f3da4c28746d2a744055b05ee4cd6c4a0", kill_on_drop: false }` [INFO] [stdout] cb8b9946745a28894d4d1b4d2a73709f3da4c28746d2a744055b05ee4cd6c4a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f7a17c64ef8a5780e089f291967b2642e336c3e8a0133c09e7cbac9815cc548 [INFO] running `Command { std: "docker" "start" "-a" "3f7a17c64ef8a5780e089f291967b2642e336c3e8a0133c09e7cbac9815cc548", kill_on_drop: false }` [INFO] [stderr] Compiling midgar-shmup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/components/camera.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use specs::{self, Component, Entity}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/input.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use midgar::{Button, KeyCode, MouseButton}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MagnifySamplerFilter`, `SpriteDrawParams` [INFO] [stdout] --> src/renderer.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use midgar::graphics::sprite::{DrawTexture, MagnifySamplerFilter, SpriteDrawParams, SpriteRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `midgar::graphics::texture::TextureRegion` [INFO] [stdout] --> src/renderer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use midgar::graphics::texture::TextureRegion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawTexture` [INFO] [stdout] --> src/renderer.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use midgar::graphics::sprite::{DrawTexture, MagnifySamplerFilter, SpriteDrawParams, SpriteRenderer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_entity` [INFO] [stdout] --> src/world.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let player_entity = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_entity` [INFO] [stdout] --> src/world.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let camera_entity = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider` [INFO] [stdout] --> src/systems/motion.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | for (collider, pos) in (&colliders, &transforms).join() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems/motion.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | for (collider, pos) in (&colliders, &transforms).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/collider.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(radius: f32, die: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_percent` [INFO] [stdout] --> src/components/health.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn current_percent(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_shape` [INFO] [stdout] --> src/components/renderable.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_shape(width: u32, height: u32, color: [f32; 3]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/systems/camera.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(player_entity: Entity) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/midgar_shmup-20ad12d728d077e7) [INFO] running `Command { std: "docker" "inspect" "3f7a17c64ef8a5780e089f291967b2642e336c3e8a0133c09e7cbac9815cc548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7a17c64ef8a5780e089f291967b2642e336c3e8a0133c09e7cbac9815cc548", kill_on_drop: false }` [INFO] [stdout] 3f7a17c64ef8a5780e089f291967b2642e336c3e8a0133c09e7cbac9815cc548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2b53459fb5a9d387d84fe9228323194653862e57c9644453e9d773c5df5a96e [INFO] running `Command { std: "docker" "start" "-a" "f2b53459fb5a9d387d84fe9228323194653862e57c9644453e9d773c5df5a96e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Entity` [INFO] [stderr] --> src/components/camera.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use specs::{self, Component, Entity}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MouseButton` [INFO] [stderr] --> src/input.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use midgar::{Button, KeyCode, MouseButton}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/renderer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MagnifySamplerFilter`, `SpriteDrawParams` [INFO] [stderr] --> src/renderer.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | use midgar::graphics::sprite::{DrawTexture, MagnifySamplerFilter, SpriteDrawParams, SpriteRenderer}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `midgar::graphics::texture::TextureRegion` [INFO] [stderr] --> src/renderer.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use midgar::graphics::texture::TextureRegion; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DrawTexture` [INFO] [stderr] --> src/renderer.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | use midgar::graphics::sprite::{DrawTexture, MagnifySamplerFilter, SpriteDrawParams, SpriteRenderer}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_entity` [INFO] [stderr] --> src/world.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let player_entity = { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_entity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `camera_entity` [INFO] [stderr] --> src/world.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | let camera_entity = { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_entity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collider` [INFO] [stderr] --> src/systems/motion.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | for (collider, pos) in (&colliders, &transforms).join() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/systems/motion.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | for (collider, pos) in (&colliders, &transforms).join() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/components/collider.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(radius: f32, die: bool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `current_percent` [INFO] [stderr] --> src/components/health.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn current_percent(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_shape` [INFO] [stderr] --> src/components/renderable.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new_shape(width: u32, height: u32, color: [f32; 3]) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/systems/camera.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(player_entity: Entity) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `midgar-shmup` (bin "midgar-shmup" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/midgar_shmup-20ad12d728d077e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2b53459fb5a9d387d84fe9228323194653862e57c9644453e9d773c5df5a96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b53459fb5a9d387d84fe9228323194653862e57c9644453e9d773c5df5a96e", kill_on_drop: false }` [INFO] [stdout] f2b53459fb5a9d387d84fe9228323194653862e57c9644453e9d773c5df5a96e