[INFO] cloning repository https://github.com/2xsaiko/assetc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2xsaiko/assetc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2xsaiko%2Fassetc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2xsaiko%2Fassetc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3809cd6934e9b7fb8913403b0eec857763458d2e [INFO] checking 2xsaiko/assetc against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2xsaiko%2Fassetc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2xsaiko/assetc on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/2xsaiko/assetc [INFO] finished tweaking git repo https://github.com/2xsaiko/assetc [INFO] tweaked toml for git repo https://github.com/2xsaiko/assetc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/2xsaiko/assetc 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/layergen/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v2.3.2 [INFO] [stderr] Downloaded bytemuck v1.4.0 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] [stderr] Downloaded image v0.23.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7c5d7f43b254ce364d02df562ee92be157470da3889306690962f5e469e195d [INFO] running `Command { std: "docker" "start" "-a" "e7c5d7f43b254ce364d02df562ee92be157470da3889306690962f5e469e195d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7c5d7f43b254ce364d02df562ee92be157470da3889306690962f5e469e195d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c5d7f43b254ce364d02df562ee92be157470da3889306690962f5e469e195d", kill_on_drop: false }` [INFO] [stdout] e7c5d7f43b254ce364d02df562ee92be157470da3889306690962f5e469e195d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebd674ba12bafc61cef16cd7baff705edd2f32a018d6f8d46ed90717ec177ed0 [INFO] running `Command { std: "docker" "start" "-a" "ebd674ba12bafc61cef16cd7baff705edd2f32a018d6f8d46ed90717ec177ed0", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/layergen/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking layergen v0.1.0 (/opt/rustwide/workdir/layergen) [INFO] [stderr] Checking modelc v0.1.0 (/opt/rustwide/workdir/modelc) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/model/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_blockstate(state: &BlockStateDef) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/model/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_blockstate(state: &BlockStateDef) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifiers` [INFO] [stdout] --> modelc/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let identifiers = matches.is_present("identifiers"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> modelc/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let debug = matches.occurrences_of("debug"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifiers` [INFO] [stdout] --> modelc/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let identifiers = matches.is_present("identifiers"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> modelc/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let debug = matches.occurrences_of("debug"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `negative_axis` is never used [INFO] [stdout] --> modelc/src/types.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub const fn negative_axis(self) -> bool { self.index() % 2 == 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ambientocclusion` is never used [INFO] [stdout] --> modelc/src/vanilla/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn ambientocclusion(&self) -> bool { self.ambientocclusion.unwrap_or(true) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation` and `shade` are never read [INFO] [stdout] --> modelc/src/vanilla/model.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Cube { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub rotation: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 82 | #[serde(default = "shade_default")] [INFO] [stdout] 83 | pub shade: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `origin`, `axis`, `angle`, and `rescale` are never read [INFO] [stdout] --> modelc/src/vanilla/model.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Rotation { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 89 | pub origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | pub axis: RotationAxis, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub angle: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | #[serde(default)] [INFO] [stdout] 93 | pub rescale: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rotation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Variants(variants::Variants), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockStateDef` 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] 10 | Variants(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Multipart(multipart::Multipart), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockStateDef` 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] 11 | Multipart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `x`, `y`, and `uvlock` are never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AppliedModel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | model: Identifier, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | #[serde(default)] [INFO] [stdout] 18 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 19 | #[serde(default)] [INFO] [stdout] 20 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] 22 | uvlock: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppliedModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Multipart(Vec); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Multipart` 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 `when` and `apply` are never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ModelPart { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | when: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | apply: AppliedModel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | Or(OrPredicate), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Predicate` 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] 19 | Or(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Single(PredicateData), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Predicate` 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] 20 | Single(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OrPredicate { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 25 | #[serde(rename = "OR")] [INFO] [stdout] 26 | inner: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrPredicate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PredicateData(HashMap); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PredicateData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct VariantValues(Vec); [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariantValues` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_vec2` is never used [INFO] [stdout] --> modelc/src/writer/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn write_vec2(mut target: T, vec: Vec2) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `negative_axis` is never used [INFO] [stdout] --> modelc/src/types.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub const fn negative_axis(self) -> bool { self.index() % 2 == 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ambientocclusion` is never used [INFO] [stdout] --> modelc/src/vanilla/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn ambientocclusion(&self) -> bool { self.ambientocclusion.unwrap_or(true) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation` and `shade` are never read [INFO] [stdout] --> modelc/src/vanilla/model.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Cube { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub rotation: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 82 | #[serde(default = "shade_default")] [INFO] [stdout] 83 | pub shade: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `origin`, `axis`, `angle`, and `rescale` are never read [INFO] [stdout] --> modelc/src/vanilla/model.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Rotation { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 89 | pub origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | pub axis: RotationAxis, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub angle: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | #[serde(default)] [INFO] [stdout] 93 | pub rescale: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rotation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Variants(variants::Variants), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockStateDef` 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] 10 | Variants(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Multipart(multipart::Multipart), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockStateDef` 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] 11 | Multipart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `x`, `y`, and `uvlock` are never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AppliedModel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | model: Identifier, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | #[serde(default)] [INFO] [stdout] 18 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 19 | #[serde(default)] [INFO] [stdout] 20 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] 22 | uvlock: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppliedModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Multipart(Vec); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Multipart` 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 `when` and `apply` are never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ModelPart { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | when: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | apply: AppliedModel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | Or(OrPredicate), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Predicate` 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] 19 | Or(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Single(PredicateData), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Predicate` 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] 20 | Single(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OrPredicate { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 25 | #[serde(rename = "OR")] [INFO] [stdout] 26 | inner: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrPredicate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PredicateData(HashMap); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PredicateData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct VariantValues(Vec); [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariantValues` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_vec2` is never used [INFO] [stdout] --> modelc/src/writer/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn write_vec2(mut target: T, vec: Vec2) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.53s [INFO] running `Command { std: "docker" "inspect" "ebd674ba12bafc61cef16cd7baff705edd2f32a018d6f8d46ed90717ec177ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd674ba12bafc61cef16cd7baff705edd2f32a018d6f8d46ed90717ec177ed0", kill_on_drop: false }` [INFO] [stdout] ebd674ba12bafc61cef16cd7baff705edd2f32a018d6f8d46ed90717ec177ed0