[INFO] cloning repository https://github.com/kettle11/LD48 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kettle11/LD48" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettle11%2FLD48", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettle11%2FLD48'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fed268a1439d634489578fabad9fbacff4772420 [INFO] testing kettle11/LD48 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%2Fkettle11%2FLD48" "/workspace/builds/worker-51/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-51/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kettle11/LD48 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/kettle11/LD48 [INFO] finished tweaking git repo https://github.com/kettle11/LD48 [INFO] tweaked toml for git repo https://github.com/kettle11/LD48 written to /workspace/builds/worker-51/source/Cargo.toml [INFO] crate git repo https://github.com/kettle11/LD48 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] ae7cf0c87fc38b0b8f754a25d7e186e3985602c417d4d96c43f2f0cef91e4e5a [INFO] running `Command { std: "docker" "start" "-a" "ae7cf0c87fc38b0b8f754a25d7e186e3985602c417d4d96c43f2f0cef91e4e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae7cf0c87fc38b0b8f754a25d7e186e3985602c417d4d96c43f2f0cef91e4e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7cf0c87fc38b0b8f754a25d7e186e3985602c417d4d96c43f2f0cef91e4e5a", kill_on_drop: false }` [INFO] [stdout] ae7cf0c87fc38b0b8f754a25d7e186e3985602c417d4d96c43f2f0cef91e4e5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 9dfcdf504e3d009456d10d112ac5324c12363a340db2b6b108cc65297142d173 [INFO] running `Command { std: "docker" "start" "-a" "9dfcdf504e3d009456d10d112ac5324c12363a340db2b6b108cc65297142d173", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling sapp-linux v0.1.12 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.2 (https://github.com/not-fl3/macroquad.git#35e1c1f5) [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling nanoserde-derive v0.1.16 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nanoserde v0.1.25 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hecs v0.5.1 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.30 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling rodio v0.13.1 [INFO] [stderr] Compiling macroquad v0.3.1 (https://github.com/not-fl3/macroquad.git#35e1c1f5) [INFO] [stderr] Compiling macroquad_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::rand` [INFO] [stdout] --> src/main.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{audio::*, prelude::*, rand::rand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut collision_responses: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | let mut acceleration_to_apply: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 936 | _ => { [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 988 | _ => {} [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_area_width` [INFO] [stdout] --> src/main.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let main_area_width = 570.; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_area_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_responses` [INFO] [stdout] --> src/main.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | let mut collision_responses: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_responses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acceleration_to_apply` [INFO] [stdout] --> src/main.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | let mut acceleration_to_apply: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acceleration_to_apply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:618:22 [INFO] [stdout] | [INFO] [stdout] 618 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `health` [INFO] [stdout] --> src/main.rs:618:44 [INFO] [stdout] | [INFO] [stdout] 618 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_thing` [INFO] [stdout] --> src/main.rs:628:30 [INFO] [stdout] | [INFO] [stdout] 628 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_thing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:795:25 [INFO] [stdout] | [INFO] [stdout] 795 | for (_, player) in &mut world.query::<&mut Player>() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Player` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Missile` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Missile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `destructable` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | destructable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Thing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `upgrades_collected` [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | upgrades_collected: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `velocity` [INFO] [stdout] --> src/physics.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn velocity(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/physics.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "9dfcdf504e3d009456d10d112ac5324c12363a340db2b6b108cc65297142d173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dfcdf504e3d009456d10d112ac5324c12363a340db2b6b108cc65297142d173", kill_on_drop: false }` [INFO] [stdout] 9dfcdf504e3d009456d10d112ac5324c12363a340db2b6b108cc65297142d173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 34800c1627e9131e4f51e7bf47008ccb0f337e4ac72b2911ca93db70ad475523 [INFO] running `Command { std: "docker" "start" "-a" "34800c1627e9131e4f51e7bf47008ccb0f337e4ac72b2911ca93db70ad475523", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling macroquad_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::rand` [INFO] [stdout] --> src/main.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{audio::*, prelude::*, rand::rand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut collision_responses: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | let mut acceleration_to_apply: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 936 | _ => { [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 988 | _ => {} [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_area_width` [INFO] [stdout] --> src/main.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let main_area_width = 570.; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_area_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_responses` [INFO] [stdout] --> src/main.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | let mut collision_responses: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_responses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acceleration_to_apply` [INFO] [stdout] --> src/main.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | let mut acceleration_to_apply: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acceleration_to_apply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:618:22 [INFO] [stdout] | [INFO] [stdout] 618 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `health` [INFO] [stdout] --> src/main.rs:618:44 [INFO] [stdout] | [INFO] [stdout] 618 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_thing` [INFO] [stdout] --> src/main.rs:628:30 [INFO] [stdout] | [INFO] [stdout] 628 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_thing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:795:25 [INFO] [stdout] | [INFO] [stdout] 795 | for (_, player) in &mut world.query::<&mut Player>() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Player` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Missile` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Missile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `destructable` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | destructable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Thing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `upgrades_collected` [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | upgrades_collected: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `velocity` [INFO] [stdout] --> src/physics.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn velocity(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/physics.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 42s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/macroquad_game-7ce725c63e64a391) [INFO] running `Command { std: "docker" "inspect" "34800c1627e9131e4f51e7bf47008ccb0f337e4ac72b2911ca93db70ad475523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34800c1627e9131e4f51e7bf47008ccb0f337e4ac72b2911ca93db70ad475523", kill_on_drop: false }` [INFO] [stdout] 34800c1627e9131e4f51e7bf47008ccb0f337e4ac72b2911ca93db70ad475523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 4c717c6bffb81f8b172fcfe63dda2e5a73b8e6b354c45d2d8d8a8d39ce86595f [INFO] running `Command { std: "docker" "start" "-a" "4c717c6bffb81f8b172fcfe63dda2e5a73b8e6b354c45d2d8d8a8d39ce86595f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `rand::rand` [INFO] [stderr] --> src/main.rs:3:39 [INFO] [stderr] | [INFO] [stderr] 3 | use macroquad::{audio::*, prelude::*, rand::rand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:439:9 [INFO] [stderr] | [INFO] [stderr] 439 | let mut collision_responses: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:440:9 [INFO] [stderr] | [INFO] [stderr] 440 | let mut acceleration_to_apply: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:988:17 [INFO] [stderr] | [INFO] [stderr] 936 | _ => { [INFO] [stderr] | - matches any value [INFO] [stderr] ... [INFO] [stderr] 988 | _ => {} [INFO] [stderr] | ^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main_area_width` [INFO] [stderr] --> src/main.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | let main_area_width = 570.; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_area_width` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collision_responses` [INFO] [stderr] --> src/main.rs:439:13 [INFO] [stderr] | [INFO] [stderr] 439 | let mut collision_responses: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_responses` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `acceleration_to_apply` [INFO] [stderr] --> src/main.rs:440:13 [INFO] [stderr] | [INFO] [stderr] 440 | let mut acceleration_to_apply: Vec<(Entity, Vec2)> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acceleration_to_apply` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/main.rs:618:22 [INFO] [stderr] | [INFO] [stderr] 618 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/main.rs:618:44 [INFO] [stderr] | [INFO] [stderr] 618 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_thing` [INFO] [stderr] --> src/main.rs:628:30 [INFO] [stderr] | [INFO] [stderr] 628 | let (player, player_thing, health) = query.get().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_thing` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/main.rs:795:25 [INFO] [stderr] | [INFO] [stderr] 795 | for (_, player) in &mut world.query::<&mut Player>() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Player` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Player, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Missile` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Missile, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `destructable` [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | destructable: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Thing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `upgrades_collected` [INFO] [stderr] --> src/main.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | upgrades_collected: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `velocity` [INFO] [stderr] --> src/physics.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn velocity(&self) -> Vec2 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `empty` [INFO] [stderr] --> src/physics.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | pub const fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `macroquad_game` (bin "macroquad_game" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.69s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/macroquad_game-7ce725c63e64a391) [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" "4c717c6bffb81f8b172fcfe63dda2e5a73b8e6b354c45d2d8d8a8d39ce86595f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c717c6bffb81f8b172fcfe63dda2e5a73b8e6b354c45d2d8d8a8d39ce86595f", kill_on_drop: false }` [INFO] [stdout] 4c717c6bffb81f8b172fcfe63dda2e5a73b8e6b354c45d2d8d8a8d39ce86595f