[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] checking iliketotype-ecl/coffee_tycoon against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filiketotype-ecl%2Fcoffee_tycoon" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iliketotype-ecl/coffee_tycoon on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 709a72053cb7390c60337f1c3aa91a7d757e3f1dc11bbf0941c480690241d3b2 [INFO] running `Command { std: "docker" "start" "-a" "709a72053cb7390c60337f1c3aa91a7d757e3f1dc11bbf0941c480690241d3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "709a72053cb7390c60337f1c3aa91a7d757e3f1dc11bbf0941c480690241d3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709a72053cb7390c60337f1c3aa91a7d757e3f1dc11bbf0941c480690241d3b2", kill_on_drop: false }` [INFO] [stdout] 709a72053cb7390c60337f1c3aa91a7d757e3f1dc11bbf0941c480690241d3b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d04d0a173cd1d41e584c686af99dc7f4134b5a528c466da4e96b97a20770bd8f [INFO] running `Command { std: "docker" "start" "-a" "d04d0a173cd1d41e584c686af99dc7f4134b5a528c466da4e96b97a20770bd8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking 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: 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: 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: 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: 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: 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: 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 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 10.25s [INFO] running `Command { std: "docker" "inspect" "d04d0a173cd1d41e584c686af99dc7f4134b5a528c466da4e96b97a20770bd8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d04d0a173cd1d41e584c686af99dc7f4134b5a528c466da4e96b97a20770bd8f", kill_on_drop: false }` [INFO] [stdout] d04d0a173cd1d41e584c686af99dc7f4134b5a528c466da4e96b97a20770bd8f