[INFO] cloning repository https://github.com/iliketotype-ecl/coffee_tycoon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iliketotype-ecl/coffee_tycoon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filiketotype-ecl%2Fcoffee_tycoon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filiketotype-ecl%2Fcoffee_tycoon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 391a106354008b1e33c330ef3be113c8bf7172c8 [INFO] building iliketotype-ecl/coffee_tycoon against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filiketotype-ecl%2Fcoffee_tycoon" "/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/iliketotype-ecl/coffee_tycoon [INFO] finished tweaking git repo https://github.com/iliketotype-ecl/coffee_tycoon [INFO] tweaked toml for git repo https://github.com/iliketotype-ecl/coffee_tycoon written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iliketotype-ecl/coffee_tycoon 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/iliketotype-ecl/coffee_tycoon 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] [stderr] Downloaded libc v0.2.176 [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] b4010fc12f01a1c88be155d505535ca7c72af96afde35c8cc72e83d0bfe26efd [INFO] running `Command { std: "docker" "start" "-a" "b4010fc12f01a1c88be155d505535ca7c72af96afde35c8cc72e83d0bfe26efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4010fc12f01a1c88be155d505535ca7c72af96afde35c8cc72e83d0bfe26efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4010fc12f01a1c88be155d505535ca7c72af96afde35c8cc72e83d0bfe26efd", kill_on_drop: false }` [INFO] [stdout] b4010fc12f01a1c88be155d505535ca7c72af96afde35c8cc72e83d0bfe26efd [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] c684764405eff21242d00ba55353c7e7d3cb0bc2fcc714f8421cd34fe7d80891 [INFO] running `Command { std: "docker" "start" "-a" "c684764405eff21242d00ba55353c7e7d3cb0bc2fcc714f8421cd34fe7d80891", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling coffee_tycoon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/ecs/world/storage.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{ Any, TypeId }; [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: `Worker` [INFO] [stdout] --> src/ecs/systems/rendering.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ecs::{ World, Transform, Renderable, Worker }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Worker` [INFO] [stdout] --> src/ecs/systems/production.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ecs::{ World, Plant, Worker, Building, BuildingType }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/ecs/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use component::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `physics` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 11 | pub use resources::*; [INFO] [stdout] | ------------ but the name `physics` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/ecs/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use component::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `plant` in the type namespace is first re-exported here [INFO] [stdout] 9 | pub use world::*; [INFO] [stdout] 10 | pub use systems::*; [INFO] [stdout] | ---------- but the name `plant` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(mut calendar) = self.world.get_component_mut::(entity) { [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: unused variable: `height` [INFO] [stdout] --> src/ui/camera_controller.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | fn move_with_slide(&mut self, movement: Vec3, radius: f32, height: f32, physics_world: &PhysicsWorld) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | if let Some(mut wallet_comp) = world.get_component_mut::(wallet) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(mut inv) = world.get_component_mut::(farm_storage) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(mut inv) = world.get_component_mut::(shop) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | if let Some(mut plant_comp) = world.get_component_mut::(entity) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some(mut build_comp) = world.get_component_mut::(entity) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_season` [INFO] [stdout] --> src/ecs/component/calendar.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let old_season = self.current_season; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_season` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/ecs/resources/physics.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn debug_area(&self, center: Vec3, radius: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecs/world/queries.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn query(&self) -> Query { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn query(&self) -> Query<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecs/world/queries.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn query2(&self) -> Query2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn query2(&self) -> Query2<'_, T1, T2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.99s [INFO] running `Command { std: "docker" "inspect" "c684764405eff21242d00ba55353c7e7d3cb0bc2fcc714f8421cd34fe7d80891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c684764405eff21242d00ba55353c7e7d3cb0bc2fcc714f8421cd34fe7d80891", kill_on_drop: false }` [INFO] [stdout] c684764405eff21242d00ba55353c7e7d3cb0bc2fcc714f8421cd34fe7d80891 [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] b688c3004ea905d7dc5543248eab9905c3077819b1ab29923eb5abad01f9ef77 [INFO] running `Command { std: "docker" "start" "-a" "b688c3004ea905d7dc5543248eab9905c3077819b1ab29923eb5abad01f9ef77", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/ecs/world/storage.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{ Any, TypeId }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling coffee_tycoon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Worker` [INFO] [stdout] --> src/ecs/systems/rendering.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ecs::{ World, Transform, Renderable, Worker }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Worker` [INFO] [stdout] --> src/ecs/systems/production.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ecs::{ World, Plant, Worker, Building, BuildingType }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/ecs/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use component::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `physics` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 11 | pub use resources::*; [INFO] [stdout] | ------------ but the name `physics` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/ecs/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use component::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `plant` in the type namespace is first re-exported here [INFO] [stdout] 9 | pub use world::*; [INFO] [stdout] 10 | pub use systems::*; [INFO] [stdout] | ---------- but the name `plant` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(mut calendar) = self.world.get_component_mut::(entity) { [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: unused variable: `height` [INFO] [stdout] --> src/ui/camera_controller.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | fn move_with_slide(&mut self, movement: Vec3, radius: f32, height: f32, physics_world: &PhysicsWorld) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | if let Some(mut wallet_comp) = world.get_component_mut::(wallet) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(mut inv) = world.get_component_mut::(farm_storage) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(mut inv) = world.get_component_mut::(shop) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | if let Some(mut plant_comp) = world.get_component_mut::(entity) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some(mut build_comp) = world.get_component_mut::(entity) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_season` [INFO] [stdout] --> src/ecs/component/calendar.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let old_season = self.current_season; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_season` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/ecs/resources/physics.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn debug_area(&self, center: Vec3, radius: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecs/world/queries.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn query(&self) -> Query { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn query(&self) -> Query<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecs/world/queries.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn query2(&self) -> Query2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn query2(&self) -> Query2<'_, T1, T2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/ecs/world/storage.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{ Any, TypeId }; [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: `Worker` [INFO] [stdout] --> src/ecs/systems/rendering.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ecs::{ World, Transform, Renderable, Worker }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Worker` [INFO] [stdout] --> src/ecs/systems/production.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ecs::{ World, Plant, Worker, Building, BuildingType }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/ecs/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use component::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `physics` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 11 | pub use resources::*; [INFO] [stdout] | ------------ but the name `physics` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/ecs/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use component::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `plant` in the type namespace is first re-exported here [INFO] [stdout] 9 | pub use world::*; [INFO] [stdout] 10 | pub use systems::*; [INFO] [stdout] | ---------- but the name `plant` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(mut calendar) = self.world.get_component_mut::(entity) { [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: unused variable: `height` [INFO] [stdout] --> src/ui/camera_controller.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | fn move_with_slide(&mut self, movement: Vec3, radius: f32, height: f32, physics_world: &PhysicsWorld) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | if let Some(mut wallet_comp) = world.get_component_mut::(wallet) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(mut inv) = world.get_component_mut::(farm_storage) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(mut inv) = world.get_component_mut::(shop) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | if let Some(mut plant_comp) = world.get_component_mut::(entity) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/save_system.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some(mut build_comp) = world.get_component_mut::(entity) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_season` [INFO] [stdout] --> src/ecs/component/calendar.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let old_season = self.current_season; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_season` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/ecs/resources/physics.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn debug_area(&self, center: Vec3, radius: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecs/world/queries.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn query(&self) -> Query { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn query(&self) -> Query<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecs/world/queries.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn query2(&self) -> Query2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn query2(&self) -> Query2<'_, T1, T2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "b688c3004ea905d7dc5543248eab9905c3077819b1ab29923eb5abad01f9ef77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b688c3004ea905d7dc5543248eab9905c3077819b1ab29923eb5abad01f9ef77", kill_on_drop: false }` [INFO] [stdout] b688c3004ea905d7dc5543248eab9905c3077819b1ab29923eb5abad01f9ef77