[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/82f23a98727e965cd10e2ae6ea76b272da47dc53 against master#0028f344ce9f64766259577c998a1959ca1f6a0b for pr-153041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanecandoit%2Ffactory-tank-miner" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shanecandoit/factory-tank-miner on toolchain 0028f344ce9f64766259577c998a1959ca1f6a0b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "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" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ffecfbfdc8cacb55e57c3ecc655b94ac75695a650adc0a80cb7957c093be4ed
[INFO] running `Command { std: "docker" "start" "-a" "9ffecfbfdc8cacb55e57c3ecc655b94ac75695a650adc0a80cb7957c093be4ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ffecfbfdc8cacb55e57c3ecc655b94ac75695a650adc0a80cb7957c093be4ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ffecfbfdc8cacb55e57c3ecc655b94ac75695a650adc0a80cb7957c093be4ed", kill_on_drop: false }`
[INFO] [stdout] 9ffecfbfdc8cacb55e57c3ecc655b94ac75695a650adc0a80cb7957c093be4ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98fe04333cec0f27f8bcbb8c731f540e8e60cb4ea2acb856a96a41a8bb20e55c
[INFO] running `Command { std: "docker" "start" "-a" "98fe04333cec0f27f8bcbb8c731f540e8e60cb4ea2acb856a96a41a8bb20e55c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling toml_edit v0.23.10+spec-1.0.0
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking async-fs v2.2.0
[INFO] [stderr]     Checking immutable-chunkmap v2.1.2
[INFO] [stderr]     Checking epaint_default_fonts v0.30.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking accesskit_consumer v0.26.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[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 serde_repr v0.1.20
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking glutin_glx_sys v0.6.1
[INFO] [stderr]     Checking glutin v0.32.3
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking calloop v0.14.3
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.30.0
[INFO] [stderr]     Checking image v0.25.9
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking ecolor v0.30.0
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking calloop-wayland-source v0.4.1
[INFO] [stderr]     Checking epaint v0.30.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking egui v0.30.0
[INFO] [stderr]     Checking enumflags2 v0.7.12
[INFO] [stderr]     Checking quick-xml v0.30.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking zvariant v4.2.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking wayland-protocols-experimental v20250721.0.1
[INFO] [stderr]     Checking wayland-protocols-misc v0.3.9
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.20.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.3
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking zbus_names v3.0.0
[INFO] [stderr]     Checking winit v0.30.12
[INFO] [stderr]     Checking zbus_xml v4.0.0
[INFO] [stderr]     Checking zbus v4.4.0
[INFO] [stderr]     Checking egui_glow v0.30.0
[INFO] [stderr]     Checking webbrowser v1.0.6
[INFO] [stderr]     Checking zbus-lockstep v0.4.4
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.4.4
[INFO] [stderr]     Checking glutin-winit v0.5.0
[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 56.67s
[INFO] running `Command { std: "docker" "inspect" "98fe04333cec0f27f8bcbb8c731f540e8e60cb4ea2acb856a96a41a8bb20e55c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98fe04333cec0f27f8bcbb8c731f540e8e60cb4ea2acb856a96a41a8bb20e55c", kill_on_drop: false }`
[INFO] [stdout] 98fe04333cec0f27f8bcbb8c731f540e8e60cb4ea2acb856a96a41a8bb20e55c
