[INFO] cloning repository https://github.com/Nano112/schematic_utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nano112/schematic_utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNano112%2Fschematic_utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNano112%2Fschematic_utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b480671e0be2db6ec95da09119117f71497c9ef8 [INFO] checking Nano112/schematic_utils against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNano112%2Fschematic_utils" "/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/Nano112/schematic_utils on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Nano112/schematic_utils [INFO] finished tweaking git repo https://github.com/Nano112/schematic_utils [INFO] tweaked toml for git repo https://github.com/Nano112/schematic_utils written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nano112/schematic_utils 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Nano112/schematic_utils against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNano112%2Fschematic_utils" "/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/Nano112/schematic_utils on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Nano112/schematic_utils [INFO] finished tweaking git repo https://github.com/Nano112/schematic_utils [INFO] tweaked toml for git repo https://github.com/Nano112/schematic_utils written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nano112/schematic_utils 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quartz_nbt_macros v0.1.1 [INFO] [stderr] Downloaded quartz_nbt v0.2.9 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5e1a2562811b11c0f2d0f61eb3ef7450110cea13c2c47afd469769301bae924 [INFO] running `Command { std: "docker" "start" "-a" "b5e1a2562811b11c0f2d0f61eb3ef7450110cea13c2c47afd469769301bae924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5e1a2562811b11c0f2d0f61eb3ef7450110cea13c2c47afd469769301bae924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e1a2562811b11c0f2d0f61eb3ef7450110cea13c2c47afd469769301bae924", kill_on_drop: false }` [INFO] [stdout] b5e1a2562811b11c0f2d0f61eb3ef7450110cea13c2c47afd469769301bae924 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97937a328720dac59d40c77f457e6e1df5fda35c8e46a323a2cb56b2e5a6a8e8 [INFO] running `Command { std: "docker" "start" "-a" "97937a328720dac59d40c77f457e6e1df5fda35c8e46a323a2cb56b2e5a6a8e8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking mchprs_utils v0.4.1 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling mchprs_proc_macros v0.4.1 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Compiling quartz_nbt_macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking quartz_nbt v0.2.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking hematite-nbt v0.5.2 (https://github.com/StackDoubleFlow/hematite_nbt#8a33b218) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking mchprs_blocks v0.4.1 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Checking mc_schems v0.1.0 (https://github.com/StackDoubleFlow/mc_schems.git#6b0d3dab) [INFO] [stderr] Checking redpiler_graph v0.4.1 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking mchprs_world v0.4.1 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking mchprs_redstone v0.1.0 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking mchprs_redpiler v0.1.0 (https://github.com/Nano112/MCHPRS.git#eeb89c7e) [INFO] [stderr] Checking minecraft_schematic_utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserializer` and `Serializer` [INFO] [stdout] --> src/block_entity/generic.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::entity::Entity` [INFO] [stdout] --> src/block_entity/generic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::entity::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `Value` [INFO] [stdout] --> src/mchprs_world.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use nbt::{Map, Value}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NbtStructureError` [INFO] [stdout] --> src/utils/nbt.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use quartz_nbt::{self, NbtTag, NbtCompound, NbtStructureError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/region.rs:371:24 [INFO] [stdout] | [INFO] [stdout] 371 | if let block_entity = BlockEntity::from_nbt(be_compound) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/formats/litematic.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | if let block_entity = BlockEntity::from_nbt(compound) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/formats/schematic.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | for (id, block_state) in palette.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/mchprs_world.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let options = CompilerOptions { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mchprs_world.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut c = Compiler::default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_new_index` and `get_palette_nbt` are never used [INFO] [stdout] --> src/region.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Region { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | fn calculate_new_index(&self, x: i32, y: i32, z: i32, new_position: &(i32, i32, i32), new_size: &(i32, i32, i32)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | pub(crate) fn get_palette_nbt(&self) -> NbtList { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_schematic_json` is never used [INFO] [stdout] --> src/print_utils.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_schematic_json(schematic: &UniversalSchematic) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_palette` is never used [INFO] [stdout] --> src/print_utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn format_palette(palette: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_block_state` is never used [INFO] [stdout] --> src/print_utils.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_block_state(block: &BlockState) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InitializationFailed` is never constructed [INFO] [stdout] --> src/mchprs_world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum MchprsWorldError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 12 | #[error("Initialization failed: {0}")] [INFO] [stdout] 13 | InitializationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MchprsWorldError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schematic` and `compiler` are never read [INFO] [stdout] --> src/mchprs_world.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MchprsWorld { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 18 | pub(crate) schematic: UniversalSchematic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | compiler: Compiler, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mchprs_world.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl MchprsWorld { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(schematic: UniversalSchematic) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn initialize_compiler(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn initialize_chunks(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn populate_chunks(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn convert_block_entity(&self, block_entity: UtilBlockEntity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn update_redstone(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_redstone_power(&self, pos: BlockPos) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn set_redstone_power(&mut self, pos: BlockPos, power: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn on_use_block(&mut self, pos: BlockPos) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn tick(&mut self, number_of_ticks: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn is_lit(&self, pos: BlockPos) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn set_lever_power(&mut self, pos: BlockPos, powered: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn get_lever_power(&self, pos: BlockPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_compiled_world(&mut self) -> Compiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_truth_table` is never used [INFO] [stdout] --> src/mchprs_world.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn generate_truth_table(schematic: &UniversalSchematic) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_inputs_and_outputs` is never used [INFO] [stdout] --> src/mchprs_world.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn find_inputs_and_outputs(world: &MchprsWorld) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_input_combinations` is never used [INFO] [stdout] --> src/mchprs_world.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | fn generate_input_combinations(num_inputs: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_block_string` is never used [INFO] [stdout] --> src/utils/block_string.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_block_string(block_string: &str) -> Result<(BlockState, Option), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `minecraft_schematic_utils::Region` [INFO] [stdout] --> benches/schematic_bench.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use minecraft_schematic_utils::{BlockState, Region, UniversalSchematic}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Region` in the root [INFO] [stdout] | help: a similar name exists in the module: `region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockState` and `UniversalSchematic` [INFO] [stdout] --> tests/integration_tests.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use minecraft_schematic_utils::{BlockState, litematic, schematic, UniversalSchematic}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minecraft_schematic_utils` (bench "schematic_bench") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_tests.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut schematic = litematic::from_litematic(&litematic_data).expect("Failed to parse litematic"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block_entity` [INFO] [stdout] --> src/universal_schematic.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | use crate::block_entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/region.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnameable_test_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/region.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/region.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 689 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `Serializer` [INFO] [stdout] --> src/block_entity/generic.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::entity::Entity` [INFO] [stdout] --> src/block_entity/generic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::entity::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::ItemStack` [INFO] [stdout] --> src/block_entity/generic.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use crate::item::ItemStack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_complex::Complex` [INFO] [stdout] --> src/formats/litematic.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `Value` [INFO] [stdout] --> src/mchprs_world.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use nbt::{Map, Value}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NbtStructureError` [INFO] [stdout] --> src/utils/nbt.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use quartz_nbt::{self, NbtTag, NbtCompound, NbtStructureError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_region` [INFO] [stdout] --> src/universal_schematic.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | let default_region = schematic.get_region("Main").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_region` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `air` [INFO] [stdout] --> src/universal_schematic.rs:875:13 [INFO] [stdout] | [INFO] [stdout] 875 | let air = BlockState::new("minecraft:air".to_string()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/region.rs:371:24 [INFO] [stdout] | [INFO] [stdout] 371 | if let block_entity = BlockEntity::from_nbt(be_compound) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | let mut region = Region { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | let mut volume1 = region.volume(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region.rs:950:13 [INFO] [stdout] | [INFO] [stdout] 950 | let mut volume2 = region2.volume(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region.rs:960:13 [INFO] [stdout] | [INFO] [stdout] 960 | let mut volume3 = region.volume(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/formats/litematic.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | if let block_entity = BlockEntity::from_nbt(compound) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `air` [INFO] [stdout] --> src/formats/litematic.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let air = BlockState::new("minecraft:air".to_string()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loaded_litematic_data` [INFO] [stdout] --> src/formats/litematic.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | let loaded_litematic_data = std::fs::read("simple_cube.litematic").expect("Failed to read file"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loaded_litematic_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `air` [INFO] [stdout] --> src/formats/litematic.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let air = BlockState::new("minecraft:air".to_string()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/formats/schematic.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | for (id, block_state) in palette.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formats/schematic.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let mut schematic = from_schematic(&schem_data).expect("Failed to parse schematic"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/mchprs_world.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let options = CompilerOptions { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mchprs_world.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut c = Compiler::default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_new_index` is never used [INFO] [stdout] --> src/region.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | fn calculate_new_index(&self, x: i32, y: i32, z: i32, new_position: &(i32, i32, i32), new_size: &(i32, i32, i32)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_region_merge` is never used [INFO] [stdout] --> src/region.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | fn test_region_merge() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_region_merge_different_palettes` is never used [INFO] [stdout] --> src/region.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 673 | fn test_region_merge_different_palettes() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_region_merge_different_overlapping_palettes` is never used [INFO] [stdout] --> src/region.rs:690:12 [INFO] [stdout] | [INFO] [stdout] 690 | fn test_region_merge_different_overlapping_palettes() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_palette` is never used [INFO] [stdout] --> src/print_utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn format_palette(palette: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InitializationFailed` is never constructed [INFO] [stdout] --> src/mchprs_world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum MchprsWorldError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 12 | #[error("Initialization failed: {0}")] [INFO] [stdout] 13 | InitializationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MchprsWorldError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_redstone_power` and `get_compiled_world` are never used [INFO] [stdout] --> src/mchprs_world.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl MchprsWorld { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn set_redstone_power(&mut self, pos: BlockPos, power: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_compiled_world(&mut self) -> Compiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/region.rs:954:21 [INFO] [stdout] | [INFO] [stdout] 954 | assert!(index >= 0 && index < volume2); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/region.rs:964:21 [INFO] [stdout] | [INFO] [stdout] 964 | assert!(index >= 0 && index < volume3); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97937a328720dac59d40c77f457e6e1df5fda35c8e46a323a2cb56b2e5a6a8e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97937a328720dac59d40c77f457e6e1df5fda35c8e46a323a2cb56b2e5a6a8e8", kill_on_drop: false }` [INFO] [stdout] 97937a328720dac59d40c77f457e6e1df5fda35c8e46a323a2cb56b2e5a6a8e8