[INFO] cloning repository https://github.com/jakmik2/wiz-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakmik2/wiz-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fwiz-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fwiz-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e4c5396dcd3ebf4a707433388adf86957c71dde [INFO] building jakmik2/wiz-game against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fwiz-game" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jakmik2/wiz-game [INFO] finished tweaking git repo https://github.com/jakmik2/wiz-game [INFO] tweaked toml for git repo https://github.com/jakmik2/wiz-game written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jakmik2/wiz-game 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/jakmik2/wiz-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-channel v0.5.11 [INFO] [stderr] Downloaded png v0.17.11 [INFO] [stderr] Downloaded rapier2d v0.18.0 [INFO] [stderr] Downloaded miniquad v0.4.0-alpha.10 [INFO] [stderr] Downloaded parry2d v0.13.6 [INFO] [stderr] Downloaded nalgebra v0.32.3 [INFO] [stderr] Downloaded spade v2.6.0 [INFO] [stderr] Downloaded macroquad v0.4.4 [INFO] [stderr] Downloaded image v0.24.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d1390841624d98b1245724276f50659c38fe16ca027189b2cd2d9ce69ac7a75b [INFO] running `Command { std: "docker" "start" "-a" "d1390841624d98b1245724276f50659c38fe16ca027189b2cd2d9ce69ac7a75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1390841624d98b1245724276f50659c38fe16ca027189b2cd2d9ce69ac7a75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1390841624d98b1245724276f50659c38fe16ca027189b2cd2d9ce69ac7a75b", kill_on_drop: false }` [INFO] [stdout] d1390841624d98b1245724276f50659c38fe16ca027189b2cd2d9ce69ac7a75b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 56b5422cbb0b8587fc40b5733fd57bbf1fecbbe768701fa37225ee0f848664e1 [INFO] running `Command { std: "docker" "start" "-a" "56b5422cbb0b8587fc40b5733fd57bbf1fecbbe768701fa37225ee0f848664e1", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniquad v0.4.0-alpha.10 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling wide v0.7.15 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling spade v2.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling macroquad v0.4.4 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling parry2d v0.13.6 [INFO] [stderr] Compiling rapier2d v0.18.0 [INFO] [stderr] Compiling wizgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `control::CharacterCollision` [INFO] [stdout] --> src/components/components.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use rapier2d::{control::CharacterCollision, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::cards::water_card::*` [INFO] [stdout] --> src/components/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::components::cards::water_card::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::cards::fire_card::*` [INFO] [stdout] --> src/components/mod.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | pub use crate::components::cards::fire_card::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] 148 + .reduce(|a, b| a.wrapping_add(b) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] 157 + .reduce(|a, b| a.wrapping_add(b) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/components/components.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | dt: f32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colliders` [INFO] [stdout] --> src/components/components.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | colliders: &ColliderSet, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colliders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bodies` [INFO] [stdout] --> src/components/components.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | bodies: &mut RigidBodySet, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bodies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queries` [INFO] [stdout] --> src/components/components.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | queries: &QueryPipeline, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/components/player.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 124 | None => (), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 125 | None => (), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_recv` [INFO] [stdout] --> src/scene.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let (collision_send, collision_recv) = crossbeam::channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_force_recv` [INFO] [stdout] --> src/scene.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let (contact_force_send, contact_force_recv) = crossbeam::channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_force_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let fps = format!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_SIZE` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAP_SIZE: i16 = 64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | level: i8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deck` is never constructed [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Deck { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaterCard` is never constructed [INFO] [stdout] --> src/components/cards/water_card.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct WaterCard(bool); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FireCard` is never constructed [INFO] [stdout] --> src/components/cards/fire_card.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct FireCard(bool); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src` and `dest` are never read [INFO] [stdout] --> src/components/collider.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Edge { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | src: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | dest: Vec2 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `component_scale` is never read [INFO] [stdout] --> src/scene.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | component_scale: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> src/states/player_card_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct PlayerCardState { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 3 | actions: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.97s [INFO] running `Command { std: "docker" "inspect" "56b5422cbb0b8587fc40b5733fd57bbf1fecbbe768701fa37225ee0f848664e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b5422cbb0b8587fc40b5733fd57bbf1fecbbe768701fa37225ee0f848664e1", kill_on_drop: false }` [INFO] [stdout] 56b5422cbb0b8587fc40b5733fd57bbf1fecbbe768701fa37225ee0f848664e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 92d33a94aea42c827a6fddaa3675d5b1e62036e705dede24c1423795e8556f19 [INFO] running `Command { std: "docker" "start" "-a" "92d33a94aea42c827a6fddaa3675d5b1e62036e705dede24c1423795e8556f19", kill_on_drop: false }` [INFO] [stderr] Compiling wizgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `control::CharacterCollision` [INFO] [stdout] --> src/components/components.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use rapier2d::{control::CharacterCollision, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::cards::water_card::*` [INFO] [stdout] --> src/components/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::components::cards::water_card::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::cards::fire_card::*` [INFO] [stdout] --> src/components/mod.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | pub use crate::components::cards::fire_card::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] 148 + .reduce(|a, b| a.wrapping_add(b) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - .reduce(|a, b| (a.wrapping_add(b))) [INFO] [stdout] 157 + .reduce(|a, b| a.wrapping_add(b) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/components/components.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | dt: f32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colliders` [INFO] [stdout] --> src/components/components.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | colliders: &ColliderSet, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colliders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bodies` [INFO] [stdout] --> src/components/components.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | bodies: &mut RigidBodySet, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bodies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queries` [INFO] [stdout] --> src/components/components.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | queries: &QueryPipeline, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/components/player.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 124 | None => (), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 125 | None => (), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_recv` [INFO] [stdout] --> src/scene.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let (collision_send, collision_recv) = crossbeam::channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_force_recv` [INFO] [stdout] --> src/scene.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let (contact_force_send, contact_force_recv) = crossbeam::channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_force_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let fps = format!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_SIZE` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAP_SIZE: i16 = 64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | level: i8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deck` is never constructed [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Deck { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaterCard` is never constructed [INFO] [stdout] --> src/components/cards/water_card.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct WaterCard(bool); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FireCard` is never constructed [INFO] [stdout] --> src/components/cards/fire_card.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct FireCard(bool); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src` and `dest` are never read [INFO] [stdout] --> src/components/collider.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Edge { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | src: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | dest: Vec2 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `component_scale` is never read [INFO] [stdout] --> src/scene.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | component_scale: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> src/states/player_card_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct PlayerCardState { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 3 | actions: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "92d33a94aea42c827a6fddaa3675d5b1e62036e705dede24c1423795e8556f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92d33a94aea42c827a6fddaa3675d5b1e62036e705dede24c1423795e8556f19", kill_on_drop: false }` [INFO] [stdout] 92d33a94aea42c827a6fddaa3675d5b1e62036e705dede24c1423795e8556f19