[INFO] fetching crate mc_schem 1.1.2... [INFO] checking mc_schem-1.1.2 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate mc_schem 1.1.2 into /workspace/builds/worker-5-tc2/source [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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mc_schem 1.1.2 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43 [INFO] running `Command { std: "docker" "start" "d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43", 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" "d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43", 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" "d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking lzma-rust v0.1.5 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking filetime_creation v0.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking ndarray v0.15.6 [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 sevenz-rust v0.5.4 [INFO] [stderr] Checking regex-automata v0.4.5 [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 regex v1.10.3 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking strum v0.26.1 [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: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/c_ffi/mod.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/c_ffi/block_ffi.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/c_ffi/mod.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/c_ffi/block_ffi.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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)]` (part of `#[warn(unused)]`) 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: struct `AttributeModifier` is never constructed [INFO] [stdout] --> src/player.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AttributeModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityAttribute` is never constructed [INFO] [stdout] --> src/player.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EntityAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityFields` is never constructed [INFO] [stdout] --> src/player.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntityFields { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScoreboardTag` is never constructed [INFO] [stdout] --> src/player.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ScoreboardTag { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MobFields` is never constructed [INFO] [stdout] --> src/player.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct MobFields { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PotionEffect` is never constructed [INFO] [stdout] --> src/player.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct PotionEffect { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PotionEffectFactorCalculationData` is never constructed [INFO] [stdout] --> src/player.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PotionEffectFactorCalculationData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: trait `GetMob` is never used [INFO] [stdout] --> src/player.rs:360:11 [INFO] [stdout] | [INFO] [stdout] 360 | pub trait GetMob: GetEntity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetMobMut` is never used [INFO] [stdout] --> src/player.rs:372:11 [INFO] [stdout] | [INFO] [stdout] 372 | pub trait GetMobMut: GetMob + GetEntityMut { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetPlayer` is never used [INFO] [stdout] --> src/player.rs:377:11 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait GetPlayer: GetMob + GetEntity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetPlayerMut` is never used [INFO] [stdout] --> src/player.rs:383:11 [INFO] [stdout] | [INFO] [stdout] 383 | pub trait GetPlayerMut: GetPlayer + GetMobMut { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/c_ffi/mod.rs:437:21 [INFO] [stdout] | [INFO] [stdout] 437 | Err(std::io::Error::new(ErrorKind::Other, [INFO] [stdout] | _____________________^ [INFO] [stdout] 438 | | Box::new(CReaderError(s))).into()) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/c_ffi/mod.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | Err(std::io::Error::new(ErrorKind::Other, [INFO] [stdout] | _____________________^ [INFO] [stdout] 565 | | Box::new(CReaderError(s))).into()) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/c_ffi/mod.rs:580:21 [INFO] [stdout] | [INFO] [stdout] 580 | Err(std::io::Error::new(ErrorKind::Other, [INFO] [stdout] | _____________________^ [INFO] [stdout] 581 | | Box::new(CReaderError(s))).into()) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/schem/schem_slice.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn slice(&self, offset: [i32; 3], shape: [i32; 3]) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn slice(&self, offset: [i32; 3], shape: [i32; 3]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mod.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn sub_directory(&self, dir: &str) -> SubDirectory; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mca.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn check(&self, chunk_pos: &ChunkPos) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn check(&self, chunk_pos: &ChunkPos) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mca.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn to_nbt(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn to_nbt(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mca.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn to_nbt(&self) -> Result<(NBTWithSource, Option), Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn to_nbt(&self) -> Result<(NBTWithSource<'_>, Option>), Error> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/files_reader.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn sub_directory(&self, dir: &str) -> SubDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/files_reader.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | fn sub_directory(&self, dir: &str) -> SubDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/files_reader.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | fn sub_directory(&self, dir: &str) -> SubDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/chunk.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn as_relative_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefRelativePos { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn as_relative_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefRelativePos<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/chunk.rs:338:28 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn as_absolute_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefAbsolutePos { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | pub fn as_absolute_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefAbsolutePos<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/sub_chunk.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn block_id(&self) -> ArrayView3 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn block_id(&self) -> ArrayView3<'_, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/sub_chunk.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sky_block_light(&self) -> ArrayView3 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sky_block_light(&self) -> ArrayView3<'_, Light> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/sub_chunk.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn biome(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn biome(&self) -> ArrayView2<'_, Biome> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc_schem` (lib test) due to 3 previous errors; 37 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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: struct `AttributeModifier` is never constructed [INFO] [stdout] --> src/player.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct AttributeModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityAttribute` is never constructed [INFO] [stdout] --> src/player.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EntityAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityFields` is never constructed [INFO] [stdout] --> src/player.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntityFields { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScoreboardTag` is never constructed [INFO] [stdout] --> src/player.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ScoreboardTag { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MobFields` is never constructed [INFO] [stdout] --> src/player.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct MobFields { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PotionEffect` is never constructed [INFO] [stdout] --> src/player.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct PotionEffect { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PotionEffectFactorCalculationData` is never constructed [INFO] [stdout] --> src/player.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PotionEffectFactorCalculationData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: trait `GetMob` is never used [INFO] [stdout] --> src/player.rs:360:11 [INFO] [stdout] | [INFO] [stdout] 360 | pub trait GetMob: GetEntity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetMobMut` is never used [INFO] [stdout] --> src/player.rs:372:11 [INFO] [stdout] | [INFO] [stdout] 372 | pub trait GetMobMut: GetMob + GetEntityMut { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetPlayer` is never used [INFO] [stdout] --> src/player.rs:377:11 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait GetPlayer: GetMob + GetEntity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetPlayerMut` is never used [INFO] [stdout] --> src/player.rs:383:11 [INFO] [stdout] | [INFO] [stdout] 383 | pub trait GetPlayerMut: GetPlayer + GetMobMut { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/c_ffi/mod.rs:437:21 [INFO] [stdout] | [INFO] [stdout] 437 | Err(std::io::Error::new(ErrorKind::Other, [INFO] [stdout] | _____________________^ [INFO] [stdout] 438 | | Box::new(CReaderError(s))).into()) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/c_ffi/mod.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | Err(std::io::Error::new(ErrorKind::Other, [INFO] [stdout] | _____________________^ [INFO] [stdout] 565 | | Box::new(CReaderError(s))).into()) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/c_ffi/mod.rs:580:21 [INFO] [stdout] | [INFO] [stdout] 580 | Err(std::io::Error::new(ErrorKind::Other, [INFO] [stdout] | _____________________^ [INFO] [stdout] 581 | | Box::new(CReaderError(s))).into()) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/schem/schem_slice.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn slice(&self, offset: [i32; 3], shape: [i32; 3]) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn slice(&self, offset: [i32; 3], shape: [i32; 3]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mod.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | fn sub_directory(&self, dir: &str) -> SubDirectory; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mca.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn check(&self, chunk_pos: &ChunkPos) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn check(&self, chunk_pos: &ChunkPos) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mca.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn to_nbt(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn to_nbt(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/mca.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn to_nbt(&self) -> Result<(NBTWithSource, Option), Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn to_nbt(&self) -> Result<(NBTWithSource<'_>, Option>), Error> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/files_reader.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn sub_directory(&self, dir: &str) -> SubDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/files_reader.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | fn sub_directory(&self, dir: &str) -> SubDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/files_reader.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | fn sub_directory(&self, dir: &str) -> SubDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | fn sub_directory(&self, dir: &str) -> SubDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/chunk.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn as_relative_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefRelativePos { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn as_relative_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefRelativePos<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/chunk.rs:338:28 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn as_absolute_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefAbsolutePos { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | pub fn as_absolute_pos(&self, chunk_pos: &ChunkPos) -> ChunkRefAbsolutePos<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/sub_chunk.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn block_id(&self) -> ArrayView3 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn block_id(&self) -> ArrayView3<'_, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/sub_chunk.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sky_block_light(&self) -> ArrayView3 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sky_block_light(&self) -> ArrayView3<'_, Light> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/sub_chunk.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn biome(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn biome(&self) -> ArrayView2<'_, Biome> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc_schem` (lib) due to 3 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43", kill_on_drop: false }` [INFO] [stdout] d8bfe482e5f2447cf11c5c8c94a56ca4c7cd23f95b1c9a1454976595af909f43