[INFO] fetching crate mc_schem 1.1.2... [INFO] checking mc_schem-1.1.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate mc_schem 1.1.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate mc_schem 1.1.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mc_schem 1.1.2 [INFO] finished tweaking crates.io crate mc_schem 1.1.2 [INFO] tweaked toml for crates.io crate mc_schem 1.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate mc_schem 1.1.2 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] [stderr] Downloaded serde_bytes v0.11.13 [INFO] [stderr] Downloaded lzma-rust v0.1.5 [INFO] [stderr] Downloaded time-macros v0.2.17 [INFO] [stderr] Downloaded nt-time v0.6.8 [INFO] [stderr] Downloaded fastnbt v2.4.4 [INFO] [stderr] Downloaded time v0.3.34 [INFO] [stderr] Downloaded cc v1.0.87 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded crc v3.0.1 [INFO] [stderr] Downloaded filetime_creation v0.1.7 [INFO] [stderr] Downloaded sevenz-rust v0.5.4 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00258e30b6d57be29394b8a8b1a295fd0ca5334cf8b2375cf5ee02094b2cf438 [INFO] running `Command { std: "docker" "start" "-a" "00258e30b6d57be29394b8a8b1a295fd0ca5334cf8b2375cf5ee02094b2cf438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00258e30b6d57be29394b8a8b1a295fd0ca5334cf8b2375cf5ee02094b2cf438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00258e30b6d57be29394b8a8b1a295fd0ca5334cf8b2375cf5ee02094b2cf438", kill_on_drop: false }` [INFO] [stdout] 00258e30b6d57be29394b8a8b1a295fd0ca5334cf8b2375cf5ee02094b2cf438 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3951cb5d2d33c6399edd2ce9c4ddd91f310afe485b40976efb4a18ede931e226 [INFO] running `Command { std: "docker" "start" "-a" "3951cb5d2d33c6399edd2ce9c4ddd91f310afe485b40976efb4a18ede931e226", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking lzma-rust v0.1.5 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking filetime_creation v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nt-time v0.6.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking sevenz-rust v0.5.4 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking serde_bytes v0.11.13 [INFO] [stderr] Checking fastnbt v2.4.4 [INFO] [stderr] Checking mc_schem v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/c_ffi/mod.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(CString); [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/raid.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Raid { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | pub status: RaidStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub started: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub ticks_active: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// UUIDs [INFO] [stdout] 25 | pub heroes_of_the_village: Vec<[i32; 4]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub groups_spawned: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub post_raid_ticks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub total_health: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub bad_omen_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub center: [i32; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub pre_raid_ticks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Raid` 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 `raids`, `next_available_id`, and `tick` are never read [INFO] [stdout] --> src/raid.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RaidList { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | pub raids: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub next_available_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub tick: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RaidList` 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: field `0` is never read [INFO] [stdout] --> src/player.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DimensionId(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DimensionId` 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 `name`, `amount`, `operation`, and `uuid` are never read [INFO] [stdout] --> src/player.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AttributeModifier { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 40 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub operation: AttributeOperation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | pub uuid: [i32; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` 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 `base` and `modifiers` are never read [INFO] [stdout] --> src/player.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EntityAttribute { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 48 | pub base: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityAttribute` 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 fields are never read [INFO] [stdout] --> src/player.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntityFields { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 54 | pub air: i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | pub custom_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | pub custom_name_visible: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub fall_distance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub fire: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub glowing: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub has_visual_fire: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub invulnerable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | pub motion: [f64; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | pub no_gravity: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | pub passenger: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | pub portal_cool_down: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub pos: [f64; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | pub rotation: [f32; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | pub silent: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | pub tags: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub ticks_frozen: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub uuid: [i32; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityFields` 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 `score` and `locked` are never read [INFO] [stdout] --> src/player.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ScoreboardTag { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 77 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | pub locked: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreboardTag` 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 fields are never read [INFO] [stdout] --> src/player.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct MobFields { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 109 | pub absorption_amount: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | pub active_effects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub attributes: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 112 | pub brain: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | pub death_time: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 114 | pub fall_flying: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 115 | pub hurt_by_time_stamp: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub hurt_time: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub sleeping_pos: [i32; 3], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MobFields` 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 fields are never read [INFO] [stdout] --> src/player.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct PotionEffect { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 167 | /// Is added by beacon [INFO] [stdout] 168 | pub ambient: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 169 | /// level [INFO] [stdout] 170 | pub amplifier: i8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | pub duration: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 172 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 173 | pub show_icon: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 174 | pub show_particles: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 175 | pub factor_calculation_data: PotionEffectFactorCalculationData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | pub hidden_effects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PotionEffect` 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 fields are never read [INFO] [stdout] --> src/player.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PotionEffectFactorCalculationData { [INFO] [stdout] | --------------------------------- fields in this struct [INFO] [stdout] 181 | pub effect_changed_timestamp: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | pub factor_current: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 183 | pub factor_previous_frame: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 184 | pub factor_start: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | pub factor_target: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 186 | pub had_effect_last_tick: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | pub padding_duration: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PotionEffectFactorCalculationData` 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 fields are never read [INFO] [stdout] --> src/player.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct PlayerAbilities { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 193 | pub flying: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 194 | pub instant_build: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 195 | pub invulnerable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 196 | pub may_build: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 197 | pub may_fly: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 198 | pub walk_speed: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 199 | pub fly_speed: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAbilities` 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 `cooldown_ticks`, `ticks_since_last_warning`, and `warning_level` are never read [INFO] [stdout] --> src/player.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct WardenSpawnTracker { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 229 | pub cooldown_ticks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 230 | pub ticks_since_last_warning: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub warning_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WardenSpawnTracker` 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 `level`, `xp_p`, `speed`, and `total` are never read [INFO] [stdout] --> src/player.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct XpInfo { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 246 | pub level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 247 | pub xp_p: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 248 | pub speed: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 249 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XpInfo` 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 fields are never read [INFO] [stdout] --> src/player.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct PlayerFields { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 265 | pub abilities: PlayerAbilities, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 266 | pub dimension: DimensionId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 267 | pub ender_items: Inventory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 268 | pub inventory: Inventory, [INFO] [stdout] 269 | pub entered_nether_position: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | pub food_exhaust_level: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub food_saturation_level: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 272 | pub food_level: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 273 | pub food_tick_timer: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 274 | pub last_death_location: (DimensionId, [i32; 3]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | pub game_type: PlayerGameType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 276 | pub previous_game_type: PlayerGameType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | // recipe book [INFO] [stdout] 278 | pub root_vehicle: Option<[i32; 4]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 279 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 280 | pub seen_credits: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 281 | pub selected_item_slot: i32, [INFO] [stdout] 282 | pub sleep_timer: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 283 | [INFO] [stdout] 284 | pub should_entity_left: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | pub should_entity_right: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 286 | pub spawn_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 287 | pub spawn_dimension: DimensionId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 288 | pub spawn_forced: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 289 | pub spawn_pos: Option<[i32; 3]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | pub warden_spawn_tracker: WardenSpawnTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 291 | pub xp_info: XpInfo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerFields` 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: methods `entity_fields`, `pos`, `to_mob_fields`, and `is_living_body` are never used [INFO] [stdout] --> src/player.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub trait GetEntity { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 339 | fn entity_fields(&self) -> &EntityFields; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 340 | fn pos(&self) -> [f64; 3] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn to_mob_fields(&self) -> Option<&dyn GetMob> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn is_living_body(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entity_fields_mut` and `to_mob_mut` are never used [INFO] [stdout] --> src/player.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 353 | pub trait GetEntityMut: GetEntity { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 354 | fn entity_fields_mut(&mut self) -> &mut EntityFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | fn to_mob_mut(&mut self) -> Option<&mut dyn GetMobMut> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mob_fields`, `to_player`, `is_player`, and `clone_as_living_body` are never used [INFO] [stdout] --> src/player.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | pub trait GetMob: GetEntity { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 361 | fn mob_fields(&self) -> &MobFields; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 362 | [INFO] [stdout] 363 | fn to_player(&self) -> Option<&dyn GetPlayer>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 364 | [INFO] [stdout] 365 | fn is_player(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn clone_as_living_body(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mob_fields_mut` and `to_player_mut` are never used [INFO] [stdout] --> src/player.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub trait GetMobMut: GetMob + GetEntityMut { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 373 | fn mob_fields_mut(&mut self) -> &mut MobFields; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 374 | fn to_player_mut(&mut self) -> Option<&mut dyn GetPlayerMut>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `player_fields` and `clone_as_player` are never used [INFO] [stdout] --> src/player.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait GetPlayer: GetMob + GetEntity { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 378 | fn player_fields(&self) -> &PlayerFields; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 379 | [INFO] [stdout] 380 | fn clone_as_player(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `player_fields_mut` is never used [INFO] [stdout] --> src/player.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub trait GetPlayerMut: GetPlayer + GetMobMut { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 384 | fn player_fields_mut(&mut self) -> &mut PlayerFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/c_ffi/mod.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(CString); [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/raid.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Raid { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | pub status: RaidStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub started: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub ticks_active: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// UUIDs [INFO] [stdout] 25 | pub heroes_of_the_village: Vec<[i32; 4]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub groups_spawned: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub post_raid_ticks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub total_health: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub bad_omen_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub center: [i32; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub pre_raid_ticks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Raid` 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 `raids`, `next_available_id`, and `tick` are never read [INFO] [stdout] --> src/raid.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RaidList { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | pub raids: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub next_available_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub tick: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RaidList` 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: field `0` is never read [INFO] [stdout] --> src/player.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DimensionId(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DimensionId` 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 `name`, `amount`, `operation`, and `uuid` are never read [INFO] [stdout] --> src/player.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AttributeModifier { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 40 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub operation: AttributeOperation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | pub uuid: [i32; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` 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 `base` and `modifiers` are never read [INFO] [stdout] --> src/player.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EntityAttribute { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 48 | pub base: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityAttribute` 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 fields are never read [INFO] [stdout] --> src/player.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntityFields { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 54 | pub air: i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | pub custom_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | pub custom_name_visible: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub fall_distance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub fire: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub glowing: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub has_visual_fire: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub invulnerable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | pub motion: [f64; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | pub no_gravity: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | pub passenger: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | pub portal_cool_down: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub pos: [f64; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | pub rotation: [f32; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | pub silent: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | pub tags: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub ticks_frozen: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub uuid: [i32; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityFields` 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 `score` and `locked` are never read [INFO] [stdout] --> src/player.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ScoreboardTag { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 77 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | pub locked: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreboardTag` 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 fields are never read [INFO] [stdout] --> src/player.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct MobFields { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 109 | pub absorption_amount: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | pub active_effects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub attributes: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 112 | pub brain: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | pub death_time: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 114 | pub fall_flying: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 115 | pub hurt_by_time_stamp: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub hurt_time: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub sleeping_pos: [i32; 3], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MobFields` 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 fields are never read [INFO] [stdout] --> src/player.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct PotionEffect { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 167 | /// Is added by beacon [INFO] [stdout] 168 | pub ambient: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 169 | /// level [INFO] [stdout] 170 | pub amplifier: i8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | pub duration: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 172 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 173 | pub show_icon: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 174 | pub show_particles: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 175 | pub factor_calculation_data: PotionEffectFactorCalculationData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | pub hidden_effects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PotionEffect` 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 fields are never read [INFO] [stdout] --> src/player.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PotionEffectFactorCalculationData { [INFO] [stdout] | --------------------------------- fields in this struct [INFO] [stdout] 181 | pub effect_changed_timestamp: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | pub factor_current: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 183 | pub factor_previous_frame: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 184 | pub factor_start: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | pub factor_target: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 186 | pub had_effect_last_tick: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | pub padding_duration: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PotionEffectFactorCalculationData` 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 fields are never read [INFO] [stdout] --> src/player.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct PlayerAbilities { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 193 | pub flying: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 194 | pub instant_build: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 195 | pub invulnerable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 196 | pub may_build: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 197 | pub may_fly: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 198 | pub walk_speed: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 199 | pub fly_speed: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAbilities` 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 `cooldown_ticks`, `ticks_since_last_warning`, and `warning_level` are never read [INFO] [stdout] --> src/player.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct WardenSpawnTracker { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 229 | pub cooldown_ticks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 230 | pub ticks_since_last_warning: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub warning_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WardenSpawnTracker` 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 `level`, `xp_p`, `speed`, and `total` are never read [INFO] [stdout] --> src/player.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct XpInfo { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 246 | pub level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 247 | pub xp_p: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 248 | pub speed: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 249 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XpInfo` 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 fields are never read [INFO] [stdout] --> src/player.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct PlayerFields { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 265 | pub abilities: PlayerAbilities, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 266 | pub dimension: DimensionId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 267 | pub ender_items: Inventory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 268 | pub inventory: Inventory, [INFO] [stdout] 269 | pub entered_nether_position: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | pub food_exhaust_level: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub food_saturation_level: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 272 | pub food_level: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 273 | pub food_tick_timer: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 274 | pub last_death_location: (DimensionId, [i32; 3]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | pub game_type: PlayerGameType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 276 | pub previous_game_type: PlayerGameType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | // recipe book [INFO] [stdout] 278 | pub root_vehicle: Option<[i32; 4]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 279 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 280 | pub seen_credits: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 281 | pub selected_item_slot: i32, [INFO] [stdout] 282 | pub sleep_timer: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 283 | [INFO] [stdout] 284 | pub should_entity_left: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | pub should_entity_right: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 286 | pub spawn_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 287 | pub spawn_dimension: DimensionId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 288 | pub spawn_forced: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 289 | pub spawn_pos: Option<[i32; 3]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | pub warden_spawn_tracker: WardenSpawnTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 291 | pub xp_info: XpInfo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerFields` 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: methods `entity_fields`, `pos`, `to_mob_fields`, and `is_living_body` are never used [INFO] [stdout] --> src/player.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub trait GetEntity { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 339 | fn entity_fields(&self) -> &EntityFields; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 340 | fn pos(&self) -> [f64; 3] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn to_mob_fields(&self) -> Option<&dyn GetMob> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn is_living_body(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entity_fields_mut` and `to_mob_mut` are never used [INFO] [stdout] --> src/player.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 353 | pub trait GetEntityMut: GetEntity { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 354 | fn entity_fields_mut(&mut self) -> &mut EntityFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | fn to_mob_mut(&mut self) -> Option<&mut dyn GetMobMut> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mob_fields`, `to_player`, `is_player`, and `clone_as_living_body` are never used [INFO] [stdout] --> src/player.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | pub trait GetMob: GetEntity { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 361 | fn mob_fields(&self) -> &MobFields; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 362 | [INFO] [stdout] 363 | fn to_player(&self) -> Option<&dyn GetPlayer>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 364 | [INFO] [stdout] 365 | fn is_player(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn clone_as_living_body(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mob_fields_mut` and `to_player_mut` are never used [INFO] [stdout] --> src/player.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub trait GetMobMut: GetMob + GetEntityMut { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 373 | fn mob_fields_mut(&mut self) -> &mut MobFields; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 374 | fn to_player_mut(&mut self) -> Option<&mut dyn GetPlayerMut>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `player_fields` and `clone_as_player` are never used [INFO] [stdout] --> src/player.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait GetPlayer: GetMob + GetEntity { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 378 | fn player_fields(&self) -> &PlayerFields; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 379 | [INFO] [stdout] 380 | fn clone_as_player(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `player_fields_mut` is never used [INFO] [stdout] --> src/player.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub trait GetPlayerMut: GetPlayer + GetMobMut { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 384 | fn player_fields_mut(&mut self) -> &mut PlayerFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.23s [INFO] running `Command { std: "docker" "inspect" "3951cb5d2d33c6399edd2ce9c4ddd91f310afe485b40976efb4a18ede931e226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3951cb5d2d33c6399edd2ce9c4ddd91f310afe485b40976efb4a18ede931e226", kill_on_drop: false }` [INFO] [stdout] 3951cb5d2d33c6399edd2ce9c4ddd91f310afe485b40976efb4a18ede931e226