[INFO] cloning repository https://github.com/shanecandoit/factory-tank-miner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shanecandoit/factory-tank-miner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanecandoit%2Ffactory-tank-miner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanecandoit%2Ffactory-tank-miner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82f23a98727e965cd10e2ae6ea76b272da47dc53
[INFO] checking shanecandoit/factory-tank-miner against f10db292a3733b5c67c8da8c7661195ff4b05774 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanecandoit%2Ffactory-tank-miner" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shanecandoit/factory-tank-miner
[INFO] finished tweaking git repo https://github.com/shanecandoit/factory-tank-miner
[INFO] tweaked toml for git repo https://github.com/shanecandoit/factory-tank-miner written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shanecandoit/factory-tank-miner on toolchain f10db292a3733b5c67c8da8c7661195ff4b05774
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shanecandoit/factory-tank-miner 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" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded immutable-chunkmap v2.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d
[INFO] running `Command { std: "docker" "start" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling endi v1.1.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]     Checking async-task v4.7.1
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking ordered-stream v0.2.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.10
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking async-executor v1.13.3
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking accesskit v0.17.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking async-broadcast v0.7.2
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking async-fs v2.2.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]     Checking immutable-chunkmap v2.1.2
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking dpi v0.1.2
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]    Compiling smithay-client-toolkit v0.20.0
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking epaint_default_fonts v0.30.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling glutin v0.32.3
[INFO] [stderr]     Checking pxfm v0.1.27
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.1
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]     Checking png v0.18.0
[INFO] [stderr]    Compiling toml_edit v0.23.10+spec-1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking accesskit_consumer v0.26.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking glow v0.16.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking moxcms v0.7.11
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling zvariant_utils v2.1.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling zvariant_derive v4.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking calloop v0.14.3
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.30.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking ecolor v0.30.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking epaint v0.30.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking calloop-wayland-source v0.4.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking egui v0.30.0
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking enumflags2 v0.7.12
[INFO] [stderr]     Checking quick-xml v0.30.0
[INFO] [stderr]     Checking image v0.25.9
[INFO] [stderr]     Checking zvariant v4.2.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking webbrowser v1.0.6
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking zbus_names v3.0.0
[INFO] [stderr]     Checking egui_glow v0.30.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking wayland-protocols-misc v0.3.9
[INFO] [stderr]     Checking wayland-protocols-experimental v20250721.0.1
[INFO] [stderr]     Checking zbus_xml v4.0.0
[INFO] [stderr]     Checking zbus v4.4.0
[INFO] [stderr]     Checking zbus-lockstep v0.4.4
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.4.4
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.3
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking atspi-common v0.6.0
[INFO] [stderr]     Checking atspi-proxies v0.6.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.10.1
[INFO] [stderr]     Checking atspi-connection v0.6.0
[INFO] [stderr]     Checking atspi v0.22.0
[INFO] [stderr]     Checking accesskit_unix v0.13.1
[INFO] [stderr]     Checking accesskit_winit v0.23.1
[INFO] [stderr]     Checking egui-winit v0.30.0
[INFO] [stderr]     Checking eframe v0.30.0
[INFO] [stderr]     Checking factory-tank-miner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/enemy.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use egui::{Pos2, Vec2};
[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: `rand::Rng`
[INFO] [stdout]  --> src/enemy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/enemy.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use egui::{Pos2, Vec2};
[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: `rand::Rng`
[INFO] [stdout]  --> src/enemy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:550:29
[INFO] [stdout]     |
[INFO] [stdout] 550 |                 let (color, mut label) = match building.building_type {
[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: `grid_size`
[INFO] [stdout]    --> src/game.rs:433:17
[INFO] [stdout]     |
[INFO] [stdout] 433 |             let grid_size = 64.0 * self.zoom;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world_pos`
[INFO] [stdout]    --> src/game.rs:886:25
[INFO] [stdout]     |
[INFO] [stdout] 886 |                     let world_pos = Pos2::new(pos.x - self.camera_offset.x, pos.y - self.camera_offset.y);
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `building_type`
[INFO] [stdout]    --> src/game.rs:889:26
[INFO] [stdout]     |
[INFO] [stdout] 889 |                     let (building_type, size) = match self.build_mode {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_building_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/truck.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Truck {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 14 |     pub id: usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Truck` has derived impls for the traits `Clone` and `Debug`, 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: fields `guns` and `bullets` are never read
[INFO] [stdout]   --> src/game.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct GameApp {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub guns: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 26 |     pub bullets: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `amount` is never read
[INFO] [stdout]   --> src/resource.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct OrePatch {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub amount: u32, // Infinite for now, but could be depleted later
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrePatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/building.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ProductionType {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_produce` is never used
[INFO] [stdout]   --> src/building.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl Building {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn can_produce(&self, production_type: ProductionType) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Fleeing` and `Attacking` are never constructed
[INFO] [stdout]   --> src/enemy.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum EnemyBehavior {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 31 |     Wandering,
[INFO] [stdout] 32 |     Fleeing,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 33 |     Attacking,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnemyBehavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `wander_timer`, and `behavior` are never read
[INFO] [stdout]   --> src/enemy.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Enemy {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub id: usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub wander_timer: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 45 |     pub behavior: EnemyBehavior,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Enemy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:550:29
[INFO] [stdout]     |
[INFO] [stdout] 550 |                 let (color, mut label) = match building.building_type {
[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: `grid_size`
[INFO] [stdout]    --> src/game.rs:433:17
[INFO] [stdout]     |
[INFO] [stdout] 433 |             let grid_size = 64.0 * self.zoom;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world_pos`
[INFO] [stdout]    --> src/game.rs:886:25
[INFO] [stdout]     |
[INFO] [stdout] 886 |                     let world_pos = Pos2::new(pos.x - self.camera_offset.x, pos.y - self.camera_offset.y);
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `building_type`
[INFO] [stdout]    --> src/game.rs:889:26
[INFO] [stdout]     |
[INFO] [stdout] 889 |                     let (building_type, size) = match self.build_mode {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_building_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/truck.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Truck {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 14 |     pub id: usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Truck` has derived impls for the traits `Clone` and `Debug`, 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: fields `guns` and `bullets` are never read
[INFO] [stdout]   --> src/game.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct GameApp {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub guns: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 26 |     pub bullets: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `amount` is never read
[INFO] [stdout]   --> src/resource.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct OrePatch {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub amount: u32, // Infinite for now, but could be depleted later
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrePatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/building.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ProductionType {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_produce` is never used
[INFO] [stdout]   --> src/building.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl Building {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn can_produce(&self, production_type: ProductionType) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Fleeing` and `Attacking` are never constructed
[INFO] [stdout]   --> src/enemy.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum EnemyBehavior {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 31 |     Wandering,
[INFO] [stdout] 32 |     Fleeing,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 33 |     Attacking,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnemyBehavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `wander_timer`, and `behavior` are never read
[INFO] [stdout]   --> src/enemy.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Enemy {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub id: usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub wander_timer: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 45 |     pub behavior: EnemyBehavior,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Enemy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d", kill_on_drop: false }`
[INFO] [stdout] 6402151b49597b312d2d85ae9e9f8520c7d6a49ebc28ca8944d1313a911a067d
