[INFO] cloning repository https://github.com/Itszipzon/rust_practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Itszipzon/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItszipzon%2Frust_practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItszipzon%2Frust_practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 516afa564b1b04d1902cd407b867e5eb5c3e4167
[INFO] checking Itszipzon/rust_practice against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItszipzon%2Frust_practice" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Itszipzon/rust_practice
[INFO] finished tweaking git repo https://github.com/Itszipzon/rust_practice
[INFO] tweaked toml for git repo https://github.com/Itszipzon/rust_practice written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Itszipzon/rust_practice on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Itszipzon/rust_practice 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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 errno v0.3.11
[INFO] [stderr]   Downloaded eframe v0.31.1
[INFO] [stderr]   Downloaded redox_syscall v0.5.11
[INFO] [stderr]   Downloaded objc2-io-surface v0.3.1
[INFO] [stderr]   Downloaded egui-winit v0.31.1
[INFO] [stderr]   Downloaded egui_glow v0.31.1
[INFO] [stderr]   Downloaded wayland-protocols-plasma v0.3.8
[INFO] [stderr]   Downloaded wayland-client v0.31.10
[INFO] [stderr]   Downloaded accesskit_unix v0.13.1
[INFO] [stderr]   Downloaded wayland-backend v0.3.10
[INFO] [stderr]   Downloaded enumflags2_derive v0.7.11
[INFO] [stderr]   Downloaded enumflags2 v0.7.11
[INFO] [stderr]   Downloaded objc2-core-graphics v0.3.1
[INFO] [stderr]   Downloaded arboard v3.5.0
[INFO] [stderr]   Downloaded webbrowser v1.0.4
[INFO] [stderr]   Downloaded type-map v0.5.0
[INFO] [stderr]   Downloaded cc v1.2.19
[INFO] [stderr]   Downloaded egui-wgpu v0.31.1
[INFO] [stderr]   Downloaded async-process v2.3.0
[INFO] [stderr]   Downloaded async-signal v0.2.10
[INFO] [stderr]   Downloaded accesskit_atspi_common v0.10.1
[INFO] [stderr]   Downloaded async-io v2.4.0
[INFO] [stderr]   Downloaded wgpu-types v24.0.0
[INFO] [stderr]   Downloaded winnow v0.7.6
[INFO] [stderr]   Downloaded quick-xml v0.37.4
[INFO] [stderr]   Downloaded wayland-protocols v0.32.8
[INFO] [stderr]   Downloaded wgpu v24.0.3
[INFO] [stderr]   Downloaded objc2 v0.6.1
[INFO] [stderr]   Downloaded wgpu-core v24.0.2
[INFO] [stderr]   Downloaded wgpu-hal v24.0.4
[INFO] [stderr]   Downloaded winit v0.30.10
[INFO] [stderr]   Downloaded naga v24.0.0
[INFO] [stderr]   Downloaded metal v0.31.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d
[INFO] running `Command { std: "docker" "start" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d", 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" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d", 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" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling winnow v0.7.6
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]     Checking libloading v0.8.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling wayland-sys v0.31.6
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling quick-xml v0.37.4
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling wayland-client v0.31.10
[INFO] [stderr]     Checking futures-lite v2.6.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]     Checking endi v1.1.0
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]     Checking ordered-stream v0.2.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking cursor-icon v1.1.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking xcursor v0.3.8
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling wayland-scanner v0.31.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]     Checking accesskit v0.17.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]     Checking immutable-chunkmap v2.0.6
[INFO] [stderr]    Compiling winit v0.30.10
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking async-executor v1.13.1
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking async-broadcast v0.7.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]     Checking accesskit_consumer v0.26.0
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.1
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking async-fs v2.1.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]     Checking dpi v0.1.1
[INFO] [stderr]     Checking epaint_default_fonts v0.31.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling wayland-backend v0.3.10
[INFO] [stderr]    Compiling glutin v0.32.3
[INFO] [stderr]     Checking byteorder-lite v0.1.0
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking toml_write v0.1.1
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]     Checking glow v0.16.0
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling zvariant_utils v2.1.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling enumflags2_derive v0.7.11
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling bytemuck_derive v1.9.3
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[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 icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling zvariant_derive v4.2.0
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.31.1
[INFO] [stderr]     Checking image v0.25.6
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking ecolor v0.31.1
[INFO] [stderr]     Checking epaint v0.31.1
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking polling v3.7.4
[INFO] [stderr]     Checking async-io v2.4.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking egui v0.31.1
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking wayland-protocols v0.32.8
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking wayland-cursor v0.31.8
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking enumflags2 v0.7.11
[INFO] [stderr]     Checking quick-xml v0.30.0
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking zvariant v4.2.0
[INFO] [stderr]     Checking egui_glow v0.31.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking toml v0.8.22
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking zbus_names v3.0.0
[INFO] [stderr]     Checking webbrowser v1.0.4
[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 wayland-protocols-wlr v0.3.6
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.8
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking arboard v3.5.0
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.2
[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.31.1
[INFO] [stderr]     Checking eframe v0.31.1
[INFO] [stderr]     Checking main v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `EntityKind` is never used
[INFO] [stdout]   --> src/entity/entity_kind.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |           pub enum EntityKind {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 | / entity_kind! {
[INFO] [stdout] 60 | |     Player => Player,
[INFO] [stdout] 61 | |     Chicken => Chicken,
[INFO] [stdout] 62 | |     Cow => Cow,
[INFO] [stdout] 63 | |     Skeleton => Skeleton,
[INFO] [stdout] 64 | |     Zombie => Zombie,
[INFO] [stdout] 65 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `entity_kind` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Entity` is never used
[INFO] [stdout]  --> src/entity/entity.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Entity: Debug {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mana`, `active_item`, and `is_alive` are never read
[INFO] [stdout]   --> src/entity/entities/player.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |   pub mana: u32,
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 14 |   pub inventory: Vec<Option<Box<dyn Item>>>,
[INFO] [stdout] 15 |   pub active_item: u32,
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 16 |   pub is_alive: bool,
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Player` 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: multiple methods are never used
[INFO] [stdout]    --> src/entity/entities/player.rs:45:10
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl Player {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  45 |   pub fn add_item(&mut self, item: Box<dyn Item>) {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |   pub fn remove_item(&mut self, item: &Box<dyn Item>) {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |   pub fn attack(&mut self, mut target: impl Entity) -> u32 {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |   pub fn set_health(&mut self, health: u32) {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |   pub fn set_mana(&mut self, mana: u32) {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |   pub fn get_mana(&self) -> u32 {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |   pub fn set_active_item(&mut self, active_item: u32) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |   fn active_is_weapon(&self) -> bool {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Zombie` is never constructed
[INFO] [stdout]  --> src/entity/entities/zombie.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Zombie {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `attack`, `is_alive`, and `get_health` are never used
[INFO] [stdout]   --> src/entity/entities/zombie.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Zombie {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn attack(&self, mut target: impl Entity) -> u32 {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cow` is never constructed
[INFO] [stdout]  --> src/entity/entities/cow.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Cow {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_alive`, and `get_health` are never used
[INFO] [stdout]   --> src/entity/entities/cow.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Cow {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chicken` is never constructed
[INFO] [stdout]  --> src/entity/entities/chicken.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Chicken {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_alive`, and `get_health` are never used
[INFO] [stdout]   --> src/entity/entities/chicken.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Chicken {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Skeleton` is never constructed
[INFO] [stdout]  --> src/entity/entities/skeleton.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Skeleton {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_alive`, `get_health`, and `attack` are never used
[INFO] [stdout]   --> src/entity/entities/skeleton.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Skeleton {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |   pub fn attack(&self, mut target: impl Entity) -> u32 {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EntityKind` is never used
[INFO] [stdout]   --> src/entity/entity_kind.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |           pub enum EntityKind {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 | / entity_kind! {
[INFO] [stdout] 60 | |     Player => Player,
[INFO] [stdout] 61 | |     Chicken => Chicken,
[INFO] [stdout] 62 | |     Cow => Cow,
[INFO] [stdout] 63 | |     Skeleton => Skeleton,
[INFO] [stdout] 64 | |     Zombie => Zombie,
[INFO] [stdout] 65 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `entity_kind` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Entity` is never used
[INFO] [stdout]  --> src/entity/entity.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Entity: Debug {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mana`, `active_item`, and `is_alive` are never read
[INFO] [stdout]   --> src/entity/entities/player.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |   pub mana: u32,
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 14 |   pub inventory: Vec<Option<Box<dyn Item>>>,
[INFO] [stdout] 15 |   pub active_item: u32,
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 16 |   pub is_alive: bool,
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Player` 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: multiple methods are never used
[INFO] [stdout]    --> src/entity/entities/player.rs:45:10
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl Player {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  45 |   pub fn add_item(&mut self, item: Box<dyn Item>) {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |   pub fn remove_item(&mut self, item: &Box<dyn Item>) {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |   pub fn attack(&mut self, mut target: impl Entity) -> u32 {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |   pub fn set_health(&mut self, health: u32) {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |   pub fn set_mana(&mut self, mana: u32) {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |   pub fn get_mana(&self) -> u32 {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |   pub fn set_active_item(&mut self, active_item: u32) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |   fn active_is_weapon(&self) -> bool {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Zombie` is never constructed
[INFO] [stdout]  --> src/entity/entities/zombie.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Zombie {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `attack`, `is_alive`, and `get_health` are never used
[INFO] [stdout]   --> src/entity/entities/zombie.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Zombie {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn attack(&self, mut target: impl Entity) -> u32 {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cow` is never constructed
[INFO] [stdout]  --> src/entity/entities/cow.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Cow {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_alive`, and `get_health` are never used
[INFO] [stdout]   --> src/entity/entities/cow.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Cow {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chicken` is never constructed
[INFO] [stdout]  --> src/entity/entities/chicken.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Chicken {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_alive`, and `get_health` are never used
[INFO] [stdout]   --> src/entity/entities/chicken.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Chicken {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Skeleton` is never constructed
[INFO] [stdout]  --> src/entity/entities/skeleton.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Skeleton {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_alive`, `get_health`, and `attack` are never used
[INFO] [stdout]   --> src/entity/entities/skeleton.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Skeleton {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 13 |   pub fn new(description: String, health: u32, damage: u32, is_alive: bool, hostile: bool) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |   pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn get_health(&self) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |   pub fn attack(&self, mut target: impl Entity) -> u32 {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.32.3, glutin-winit v0.5.0, nix v0.29.0, winit v0.30.10
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d", kill_on_drop: false }`
[INFO] [stdout] e61be2e9dbc6118bc75a8258dbe0f1af0516f5f03d5a5ad84ed6bb25d659441d
