[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] b96fa6ac899af13006bcbc445a8f1a80b0799460 [INFO] building kettle11/LD48 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkettle11%2FLD48" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kettle11/LD48 on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kettle11/LD48 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/not-fl3/macroquad.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nanoserde-derive v0.1.16 [INFO] [stderr] Downloaded nanoserde v0.1.25 [INFO] [stderr] Downloaded num_enum v0.5.1 [INFO] [stderr] Downloaded oboe v0.4.1 [INFO] [stderr] Downloaded cpal v0.13.3 [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded sapp-wasm v0.1.24 [INFO] [stderr] Downloaded sapp-windows v0.2.16 [INFO] [stderr] Downloaded num_enum_derive v0.5.1 [INFO] [stderr] Downloaded redox_syscall v0.2.6 [INFO] [stderr] Downloaded ahash v0.7.2 [INFO] [stderr] Downloaded hecs v0.5.1 [INFO] [stderr] Downloaded alsa v0.5.0 [INFO] [stderr] Downloaded ttf-parser v0.8.3 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded fontdue v0.4.0 [INFO] [stderr] Downloaded sapp-android v0.1.5 [INFO] [stderr] Downloaded sapp-linux v0.1.12 [INFO] [stderr] Downloaded oboe-sys v0.4.0 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded syn v1.0.70 [INFO] [stderr] Downloaded jni v0.18.0 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.30 [INFO] [stderr] Downloaded rodio v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c29eccafda013afa9071eb9fc166baf2e636ce39649898b54234fa644c344c06 [INFO] running `Command { std: "docker" "start" "-a" "c29eccafda013afa9071eb9fc166baf2e636ce39649898b54234fa644c344c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c29eccafda013afa9071eb9fc166baf2e636ce39649898b54234fa644c344c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29eccafda013afa9071eb9fc166baf2e636ce39649898b54234fa644c344c06", kill_on_drop: false }` [INFO] [stdout] c29eccafda013afa9071eb9fc166baf2e636ce39649898b54234fa644c344c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 281762b84ce28b1bcd04c26d9c134879fd8132e02e30f237bebf85ca45893b15 [INFO] running `Command { std: "docker" "start" "-a" "281762b84ce28b1bcd04c26d9c134879fd8132e02e30f237bebf85ca45893b15", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling sapp-wasm v0.1.24 [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 glam v0.14.0 [INFO] [stderr] Compiling nanoserde-derive v0.1.16 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.30 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling nanoserde v0.1.25 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling hecs v0.5.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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 988 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 866 | 0 => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 924 | 1 => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 936 | _ => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 988 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_responses` [INFO] [stdout] --> src/main.rs:439:9 [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:9 [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: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: method `velocity` is never used [INFO] [stdout] --> src/physics.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PhysicsObject { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn velocity(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `friction` is never read [INFO] [stdout] --> src/physics.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Physics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub friction: f32, [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] 66 | impl PhysicsHandle { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 67 | pub const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nanoserde-derive v0.1.16 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "281762b84ce28b1bcd04c26d9c134879fd8132e02e30f237bebf85ca45893b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281762b84ce28b1bcd04c26d9c134879fd8132e02e30f237bebf85ca45893b15", kill_on_drop: false }` [INFO] [stdout] 281762b84ce28b1bcd04c26d9c134879fd8132e02e30f237bebf85ca45893b15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6931201b6a48eda134ae4b802efa9edbdcec247a4510249340c17640d86a6657 [INFO] running `Command { std: "docker" "start" "-a" "6931201b6a48eda134ae4b802efa9edbdcec247a4510249340c17640d86a6657", 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 988 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 866 | 0 => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 924 | 1 => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 936 | _ => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 988 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_responses` [INFO] [stdout] --> src/main.rs:439:9 [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:9 [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: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: method `velocity` is never used [INFO] [stdout] --> src/physics.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PhysicsObject { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn velocity(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `friction` is never read [INFO] [stdout] --> src/physics.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Physics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub friction: f32, [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] 66 | impl PhysicsHandle { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 67 | pub const fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nanoserde-derive v0.1.16 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6931201b6a48eda134ae4b802efa9edbdcec247a4510249340c17640d86a6657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6931201b6a48eda134ae4b802efa9edbdcec247a4510249340c17640d86a6657", kill_on_drop: false }` [INFO] [stdout] 6931201b6a48eda134ae4b802efa9edbdcec247a4510249340c17640d86a6657