[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 master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItszipzon%2Frust_practice" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Itszipzon/rust_practice on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad66b9c2d64d73cb06191ce4ffa4e576762b85a1bbde386e4f1e30cd3a133f71 [INFO] running `Command { std: "docker" "start" "-a" "ad66b9c2d64d73cb06191ce4ffa4e576762b85a1bbde386e4f1e30cd3a133f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad66b9c2d64d73cb06191ce4ffa4e576762b85a1bbde386e4f1e30cd3a133f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad66b9c2d64d73cb06191ce4ffa4e576762b85a1bbde386e4f1e30cd3a133f71", kill_on_drop: false }` [INFO] [stdout] ad66b9c2d64d73cb06191ce4ffa4e576762b85a1bbde386e4f1e30cd3a133f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b2a628ff5620d28250dfbcc3852f65ae89581bef5dafc5da5379fa62e050c51 [INFO] running `Command { std: "docker" "start" "-a" "1b2a628ff5620d28250dfbcc3852f65ae89581bef5dafc5da5379fa62e050c51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [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] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling quick-xml v0.37.4 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking litemap v0.7.5 [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 event-listener v5.4.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [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 icu_properties_data v1.5.1 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winit v0.30.10 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [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 rand v0.8.5 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [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 zvariant_derive v4.2.0 [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 zbus_macros v4.4.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking polling v3.7.4 [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 async-io v2.4.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.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 icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [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 egui_glow v0.31.1 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webbrowser v1.0.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking arboard v3.5.0 [INFO] [stderr] Checking zbus_names v3.0.0 [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] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [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: `EntityKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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>>, [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 `Debug` and `Clone`, 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) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn remove_item(&mut self, item: &Box) { [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/zombie.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Zombie { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zombie` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attack`, `is_alive`, and `get_health` are never used [INFO] [stdout] --> src/entity/entities/zombie.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Zombie { [INFO] [stdout] | ----------- methods in this implementation [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/cow.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cow { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_alive` and `get_health` are never used [INFO] [stdout] --> src/entity/entities/cow.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Cow { [INFO] [stdout] | -------- methods in this implementation [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/chicken.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Chicken { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chicken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/skeleton.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Skeleton { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skeleton` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_alive`, `get_health`, and `attack` are never used [INFO] [stdout] --> src/entity/entities/skeleton.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Skeleton { [INFO] [stdout] | ------------- methods in this implementation [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: `EntityKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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>>, [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 `Debug` and `Clone`, 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) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn remove_item(&mut self, item: &Box) { [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/zombie.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Zombie { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zombie` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attack`, `is_alive`, and `get_health` are never used [INFO] [stdout] --> src/entity/entities/zombie.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Zombie { [INFO] [stdout] | ----------- methods in this implementation [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/cow.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cow { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_alive` and `get_health` are never used [INFO] [stdout] --> src/entity/entities/cow.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Cow { [INFO] [stdout] | -------- methods in this implementation [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/chicken.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Chicken { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chicken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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: fields `description`, `is_alive`, `health`, `damage`, and `hostile` are never read [INFO] [stdout] --> src/entity/entities/skeleton.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Skeleton { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | is_alive: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | damage: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | hostile: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skeleton` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_alive`, `get_health`, and `attack` are never used [INFO] [stdout] --> src/entity/entities/skeleton.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Skeleton { [INFO] [stdout] | ------------- methods in this implementation [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 11s [INFO] running `Command { std: "docker" "inspect" "1b2a628ff5620d28250dfbcc3852f65ae89581bef5dafc5da5379fa62e050c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2a628ff5620d28250dfbcc3852f65ae89581bef5dafc5da5379fa62e050c51", kill_on_drop: false }` [INFO] [stdout] 1b2a628ff5620d28250dfbcc3852f65ae89581bef5dafc5da5379fa62e050c51