[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] building kettle11/LD48 against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettle11%2FLD48" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kettle11/LD48 on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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-5/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" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ttf-parser v0.8.3 [INFO] [stderr] Downloaded sapp-wasm v0.1.24 [INFO] [stderr] Downloaded sapp-linux v0.1.12 [INFO] [stderr] Downloaded fontdue v0.4.0 [INFO] [stderr] Downloaded sapp-android v0.1.5 [INFO] [stderr] Downloaded sapp-windows v0.2.16 [INFO] [stderr] Downloaded hecs v0.5.1 [INFO] [stderr] Downloaded nanoserde v0.1.25 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.30 [INFO] [stderr] Downloaded nanoserde-derive v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c596c1a5f9925a20fda5d86c87b435961e01eddabe91d1c6651001b15224366 [INFO] running `Command { std: "docker" "start" "-a" "4c596c1a5f9925a20fda5d86c87b435961e01eddabe91d1c6651001b15224366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c596c1a5f9925a20fda5d86c87b435961e01eddabe91d1c6651001b15224366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c596c1a5f9925a20fda5d86c87b435961e01eddabe91d1c6651001b15224366", kill_on_drop: false }` [INFO] [stdout] 4c596c1a5f9925a20fda5d86c87b435961e01eddabe91d1c6651001b15224366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a748a3ac5f0393506a5a2777d882c6627679927f772d649c5dd752337a09405d [INFO] running `Command { std: "docker" "start" "-a" "a748a3ac5f0393506a5a2777d882c6627679927f772d649c5dd752337a09405d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling sapp-linux v0.1.12 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling nanoserde-derive v0.1.16 [INFO] [stderr] Compiling macroquad_macro v0.1.2 (https://github.com/not-fl3/macroquad.git#35e1c1f5) [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling nanoserde v0.1.25 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling image v0.23.14 [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: variants `Player` and `Missile` are never constructed [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum ThingType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Rock, [INFO] [stdout] 19 | Missile, [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] [INFO] [stdout] [INFO] [stdout] warning: field `destructable` is never read [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Thing { [INFO] [stdout] | ----- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `upgrades_collected` is never read [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 208 | direction_x: f32, [INFO] [stdout] 209 | upgrades_collected: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `velocity` is never used [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 `empty` is never used [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.82s [INFO] running `Command { std: "docker" "inspect" "a748a3ac5f0393506a5a2777d882c6627679927f772d649c5dd752337a09405d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a748a3ac5f0393506a5a2777d882c6627679927f772d649c5dd752337a09405d", kill_on_drop: false }` [INFO] [stdout] a748a3ac5f0393506a5a2777d882c6627679927f772d649c5dd752337a09405d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19dfc723930b6449282b01a4064b35db34a1c5efdba470e075b7caf0d3ad5117 [INFO] running `Command { std: "docker" "start" "-a" "19dfc723930b6449282b01a4064b35db34a1c5efdba470e075b7caf0d3ad5117", kill_on_drop: false }` [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: variants `Player` and `Missile` are never constructed [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum ThingType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Rock, [INFO] [stdout] 19 | Missile, [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] [INFO] [stdout] [INFO] [stdout] warning: field `destructable` is never read [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Thing { [INFO] [stdout] | ----- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `upgrades_collected` is never read [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 208 | direction_x: f32, [INFO] [stdout] 209 | upgrades_collected: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `velocity` is never used [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 `empty` is never used [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "19dfc723930b6449282b01a4064b35db34a1c5efdba470e075b7caf0d3ad5117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19dfc723930b6449282b01a4064b35db34a1c5efdba470e075b7caf0d3ad5117", kill_on_drop: false }` [INFO] [stdout] 19dfc723930b6449282b01a4064b35db34a1c5efdba470e075b7caf0d3ad5117