[INFO] cloning repository https://github.com/SlopeCraft/mc_schem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SlopeCraft/mc_schem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlopeCraft%2Fmc_schem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlopeCraft%2Fmc_schem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6bdb8db855094e83740b36df5fb46e97bab560d [INFO] checking SlopeCraft/mc_schem against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlopeCraft%2Fmc_schem" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SlopeCraft/mc_schem on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SlopeCraft/mc_schem [INFO] finished tweaking git repo https://github.com/SlopeCraft/mc_schem [INFO] tweaked toml for git repo https://github.com/SlopeCraft/mc_schem written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SlopeCraft/mc_schem 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.26.1 [INFO] [stderr] Downloaded strum_macros v0.26.1 [INFO] [stderr] Downloaded cc v1.0.87 [INFO] [stderr] Downloaded fastnbt v2.4.4 [INFO] [stderr] Downloaded sevenz-rust v0.5.4 [INFO] [stderr] Downloaded serde_bytes v0.11.13 [INFO] [stderr] Downloaded filetime_creation v0.1.7 [INFO] [stderr] Downloaded nt-time v0.6.8 [INFO] [stderr] Downloaded lzma-rust v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf0a6f230c526d8dff5a21710e480261c1b6b1de9e164b9d91c2a39f20347e82 [INFO] running `Command { std: "docker" "start" "-a" "bf0a6f230c526d8dff5a21710e480261c1b6b1de9e164b9d91c2a39f20347e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf0a6f230c526d8dff5a21710e480261c1b6b1de9e164b9d91c2a39f20347e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0a6f230c526d8dff5a21710e480261c1b6b1de9e164b9d91c2a39f20347e82", kill_on_drop: false }` [INFO] [stdout] bf0a6f230c526d8dff5a21710e480261c1b6b1de9e164b9d91c2a39f20347e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 468cf129b720d987c0703ae39b7ebdb6992343506a19c8d034eb31f3eeedd328 [INFO] running `Command { std: "docker" "start" "-a" "468cf129b720d987c0703ae39b7ebdb6992343506a19c8d034eb31f3eeedd328", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking nt-time v0.6.8 [INFO] [stderr] Checking filetime_creation v0.1.7 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking lzma-rust v0.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking sevenz-rust v0.5.4 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [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 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.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/schem/litematica.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/vanilla_structure.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::CowArray` [INFO] [stdout] --> src/c_ffi/region_ffi.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use ndarray::CowArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/schem/litematica.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/vanilla_structure.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/world/dimension.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilesInMemory` [INFO] [stdout] --> src/world/dimension.rs:8:113 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::world::{AbsolutePosIndexed, Chunk, ChunkPos, ChunkRefAbsolutePos, ChunkVariant, Dimension, FileInfo, FilesInMemory, FilesRead,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/world/world.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilesInMemory` [INFO] [stdout] --> src/world/world.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::world::{Dimension, FilesInMemory, FilesRead, World, WorldLoadOption}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::CowArray` [INFO] [stdout] --> src/c_ffi/region_ffi.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use ndarray::CowArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raids` is never read [INFO] [stdout] --> src/world/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Dimension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | raids: RaidList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/world/chunk.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 551 | impl MultiBitSet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 597 | pub fn set(&mut self, ele_idx: usize, value: u64) { [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] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(()); [INFO] [stdout] | ~~ [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 `raids` is never read [INFO] [stdout] --> src/world/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Dimension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | raids: RaidList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(()); [INFO] [stdout] | ~~ [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> tests/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::slice_from_raw_parts` [INFO] [stdout] --> tests/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::ptr::slice_from_raw_parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZlibDecoder` [INFO] [stdout] --> tests/tests.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | use flate2::read::{GzDecoder, ZlibDecoder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.37s [INFO] running `Command { std: "docker" "inspect" "468cf129b720d987c0703ae39b7ebdb6992343506a19c8d034eb31f3eeedd328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468cf129b720d987c0703ae39b7ebdb6992343506a19c8d034eb31f3eeedd328", kill_on_drop: false }` [INFO] [stdout] 468cf129b720d987c0703ae39b7ebdb6992343506a19c8d034eb31f3eeedd328 [INFO] checking SlopeCraft/mc_schem against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlopeCraft%2Fmc_schem" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SlopeCraft/mc_schem on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SlopeCraft/mc_schem [INFO] finished tweaking git repo https://github.com/SlopeCraft/mc_schem [INFO] tweaked toml for git repo https://github.com/SlopeCraft/mc_schem written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SlopeCraft/mc_schem 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 879d0f15fd6e308c1235e74970b3d5e74eaf78e9c37a907925e49e6f0ce4bd68 [INFO] running `Command { std: "docker" "start" "-a" "879d0f15fd6e308c1235e74970b3d5e74eaf78e9c37a907925e49e6f0ce4bd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "879d0f15fd6e308c1235e74970b3d5e74eaf78e9c37a907925e49e6f0ce4bd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879d0f15fd6e308c1235e74970b3d5e74eaf78e9c37a907925e49e6f0ce4bd68", kill_on_drop: false }` [INFO] [stdout] 879d0f15fd6e308c1235e74970b3d5e74eaf78e9c37a907925e49e6f0ce4bd68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0f6fc46dc53cb0020fb7a496d03dee0806c97dabe7de6d417dae2b1b269f085 [INFO] running `Command { std: "docker" "start" "-a" "b0f6fc46dc53cb0020fb7a496d03dee0806c97dabe7de6d417dae2b1b269f085", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking nt-time v0.6.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking filetime_creation v0.1.7 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking lzma-rust v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sevenz-rust v0.5.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Checking regex v1.10.3 [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.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/c_ffi/nbt_ffi.rs (2 fixes) [INFO] [stderr] Fixed src/c_ffi/schem_ffi.rs (34 fixes) [INFO] [stderr] Fixed src/c_ffi/block_ffi.rs (1 fix) [INFO] [stderr] Fixed src/c_ffi/region_ffi.rs (29 fixes) [INFO] [stderr] Fixed src/c_ffi/mod.rs (7 fixes) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/schem/litematica.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/vanilla_structure.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raids` is never read [INFO] [stdout] --> src/world/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Dimension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | raids: RaidList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(()); [INFO] [stdout] | ~~ [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/world/world.rs (2 fixes) [INFO] [stderr] Fixed src/world/dimension.rs (2 fixes) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/schem/litematica.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/vanilla_structure.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raids` is never read [INFO] [stdout] --> src/world/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Dimension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | raids: RaidList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/world/chunk.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 551 | impl MultiBitSet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 597 | pub fn set(&mut self, ele_idx: usize, value: u64) { [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] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(()); [INFO] [stdout] | ~~ [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/schemtool.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/tests.rs (3 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking mc_schem v1.1.1 (/tmp/fixit) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/schem/litematica.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/vanilla_structure.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let begin = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 320 - let begin = time::SystemTime::now(); [INFO] [stdout] 320 + let begin = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilesInMemory` [INFO] [stdout] --> src/world/dimension.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | let files = FilesInMemory::from_7z_file("test_files/world/00_1.20.2.7z", "").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FilesInMemory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::world::FilesInMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:322:24 [INFO] [stdout] | [INFO] [stdout] 322 | let decompressed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 322 - let decompressed = time::SystemTime::now(); [INFO] [stdout] 322 + let decompressed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | let parsed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 327 - let parsed = time::SystemTime::now(); [INFO] [stdout] 327 + let parsed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | let begin = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 337 - let begin = time::SystemTime::now(); [INFO] [stdout] 337 + let begin = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilesInMemory` [INFO] [stdout] --> src/world/dimension.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let files = FilesInMemory::from_7z_file("test_files/world/01_large-world-1.20.2.7z", "").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FilesInMemory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::world::FilesInMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | let decompressed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 339 - let decompressed = time::SystemTime::now(); [INFO] [stdout] 339 + let decompressed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | let parsed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 346 - let parsed = time::SystemTime::now(); [INFO] [stdout] 346 + let parsed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let begin = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 356 - let begin = time::SystemTime::now(); [INFO] [stdout] 356 + let begin = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilesInMemory` [INFO] [stdout] --> src/world/dimension.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let files = FilesInMemory::from_7z_file("test_files/world/02_mcc-block-entities.7z", "").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FilesInMemory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::world::FilesInMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:358:24 [INFO] [stdout] | [INFO] [stdout] 358 | let decompressed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 358 - let decompressed = time::SystemTime::now(); [INFO] [stdout] 358 + let decompressed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/dimension.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 365 | let parsed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 365 - let parsed = time::SystemTime::now(); [INFO] [stdout] 365 + let parsed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilesInMemory` [INFO] [stdout] --> src/world/dimension.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | let files = FilesInMemory::from_7z_file("test_files/world/03_raids-1.20.2.7z", "").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FilesInMemory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::world::FilesInMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/world.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let begin = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - let begin = time::SystemTime::now(); [INFO] [stdout] 58 + let begin = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilesInMemory` [INFO] [stdout] --> src/world/world.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let src = FilesInMemory::from_7z_file(file, "").expect("Read 7z file and decompress"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FilesInMemory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::world::FilesInMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/world/world.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let parsed = time::SystemTime::now(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `SystemTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - let parsed = time::SystemTime::now(); [INFO] [stdout] 62 + let parsed = SystemTime::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/schem/litematica.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/vanilla_structure.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastnbt` is imported redundantly [INFO] [stdout] --> src/schem/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use fastnbt; [INFO] [stdout] | ^^^^^^^ the item `fastnbt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raids` is never read [INFO] [stdout] --> src/world/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Dimension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | raids: RaidList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/world/chunk.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 551 | impl MultiBitSet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 597 | pub fn set(&mut self, ele_idx: usize, value: u64) { [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] = note: `CReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 407 | struct CReaderError(()); [INFO] [stdout] | ~~ [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] error: aborting due to 16 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mc_schem` (lib test) due to 17 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b0f6fc46dc53cb0020fb7a496d03dee0806c97dabe7de6d417dae2b1b269f085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f6fc46dc53cb0020fb7a496d03dee0806c97dabe7de6d417dae2b1b269f085", kill_on_drop: false }` [INFO] [stdout] b0f6fc46dc53cb0020fb7a496d03dee0806c97dabe7de6d417dae2b1b269f085