[INFO] fetching crate PMXUtil 0.8.2... [INFO] checking PMXUtil-0.8.2 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate PMXUtil 0.8.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate PMXUtil 0.8.2 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate PMXUtil 0.8.2 [INFO] finished tweaking crates.io crate PMXUtil 0.8.2 [INFO] tweaked toml for crates.io crate PMXUtil 0.8.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ad7812e3bf1010f8d8219f2b2940adf68b6abfe72de42bdd2d9340e27200b23d [INFO] running `Command { std: "docker" "start" "-a" "ad7812e3bf1010f8d8219f2b2940adf68b6abfe72de42bdd2d9340e27200b23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad7812e3bf1010f8d8219f2b2940adf68b6abfe72de42bdd2d9340e27200b23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7812e3bf1010f8d8219f2b2940adf68b6abfe72de42bdd2d9340e27200b23d", kill_on_drop: false }` [INFO] [stdout] ad7812e3bf1010f8d8219f2b2940adf68b6abfe72de42bdd2d9340e27200b23d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dabbf6348c247671b51042122718038d01af57f00c3bee3a8303a1ea28bf5d9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3dabbf6348c247671b51042122718038d01af57f00c3bee3a8303a1ea28bf5d9", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking PMXUtil v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PMXJointParameterRaw` [INFO] [stdout] --> src/binary_reader.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::pmx_types::{Encode, PMXHeaderC, PMXJointParameterRaw, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PMXJointParameterRaw` [INFO] [stdout] --> src/binary_reader.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::pmx_types::{Encode, PMXHeaderC, PMXJointParameterRaw, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | write_bin!(write_vec4, Vec4); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | write_bin!(write_vec3, Vec3); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | write_bin!(write_vec2, Vec2); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | write_bin!(write_f32, f32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | write_bin!(write_i32, i32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | write_bin!(write_u32, u32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | write_bin!(write_i16, i16); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | write_bin!(write_u16, u16); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | write_bin!(write_i8, i8); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | write_bin!(write_u8, u8); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | write_bin!(write_vec4, Vec4); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | write_bin!(write_vec3, Vec3); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | write_bin!(write_vec2, Vec2); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | write_bin!(write_f32, f32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | write_bin!(write_i32, i32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | write_bin!(write_u32, u32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | write_bin!(write_i16, i16); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | write_bin!(write_u16, u16); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | write_bin!(write_i8, i8); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buf` is never read [INFO] [stdout] --> src/binary_writer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | write_bin!(write_u8, u8); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u32` [INFO] [stdout] --> src/binary_writer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn $F(&mut self, value: $T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | write_bin!(write_u32, u32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_i16` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn $F(&mut self) -> $T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_reader.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | read_bin!(read_i16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_DOUBLE_SIDE_MASK` [INFO] [stdout] --> src/pmx_types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const MATERIAL_DOUBLE_SIDE_MASK: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_GROUND_SHADOW_MASK` [INFO] [stdout] --> src/pmx_types.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const MATERIAL_GROUND_SHADOW_MASK: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_CAST_SELF_SHADOW_MASK` [INFO] [stdout] --> src/pmx_types.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const MATERIAL_CAST_SELF_SHADOW_MASK: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_RECEIVE_SELF_SHADOW_MASK` [INFO] [stdout] --> src/pmx_types.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const MATERIAL_RECEIVE_SELF_SHADOW_MASK: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_EDGE_DRAW_MASK` [INFO] [stdout] --> src/pmx_types.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const MATERIAL_EDGE_DRAW_MASK: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_VERTEX_COLOR_MASK` [INFO] [stdout] --> src/pmx_types.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | const MATERIAL_VERTEX_COLOR_MASK: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_DRAW_POINT_MASK` [INFO] [stdout] --> src/pmx_types.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const MATERIAL_DRAW_POINT_MASK: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_DRAW_LINE_MASK` [INFO] [stdout] --> src/pmx_types.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const MATERIAL_DRAW_LINE_MASK: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PMXUtil` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pmxutil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_writer.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | writer.inner.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_PMXHeader_raw` should have a snake case name [INFO] [stdout] --> src/binary_reader.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | read_bin!(read_PMXHeader_raw, PMXHeaderC); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_pmxheader_raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | / writeln!( [INFO] [stdout] 533 | | f, [INFO] [stdout] 534 | | "Vertex:[position:{:?} norm:{:?} uv:{:?}]", [INFO] [stdout] 535 | | self.position, self.norm, self.uv [INFO] [stdout] 536 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | write!(f, "{:?}", add_uv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | writeln!(f, "BDEF1:[index1:{} weight1:1.0]", b1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | / writeln!( [INFO] [stdout] 552 | | f, [INFO] [stdout] 553 | | "BDEF2:[index1:{} index2:{} weight1:{} weight2:{}]", [INFO] [stdout] 554 | | bone_index_1, [INFO] [stdout] ... | [INFO] [stdout] 557 | | 1.0 - bone_weight_1 [INFO] [stdout] 558 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 570 | ... writeln!(f, "BDEF4:[index1:{} index2:{} index3:{} index4:{}, weight1:{} weight2:{} weight3:{} weight4:{}]", bone_index_1, bone_index_2, bone_index_3, bone_index_4, bone_weight_1, bone_weight_2, bone_weight_3, bone_weight_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | / writeln!( [INFO] [stdout] 581 | | f, [INFO] [stdout] 582 | | "SDEF:[index1:{} index2:{} weight1:{} weight2:{}]", [INFO] [stdout] 583 | | bone_index_1, [INFO] [stdout] ... | [INFO] [stdout] 586 | | 1.0 - bone_weight_1 [INFO] [stdout] 587 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 588 | / writeln!( [INFO] [stdout] 589 | | f, [INFO] [stdout] 590 | | "SDEF Specific Params:[ C:[{:?}] R0:[{:?}] R1:[{:?}] ]", [INFO] [stdout] 591 | | sdef_c, sdef_r0, sdef_r1 [INFO] [stdout] 592 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | ... writeln!(f, "BDEF4:[index1:{} index2:{} index3:{} index4:{}, weight1:{} weight2:{} weight3:{} weight4:{}]", bone_index_1, bone_index_2, bone_index_3, bone_index_4, bone_weight_1, bone_weight_2, bone_weight_3, bone_weight_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | writeln!(f, "edgeMagnifier:{}", self.edge_mag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | / writeln!( [INFO] [stdout] 615 | | f, [INFO] [stdout] 616 | | "Triangle:[{},{},{}]", [INFO] [stdout] 617 | | self.vertices[0], self.vertices[1], self.vertices[2] [INFO] [stdout] 618 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u32` [INFO] [stdout] --> src/binary_writer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn $F(&mut self, value: $T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | write_bin!(write_u32, u32); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_i16` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn $F(&mut self) -> $T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_reader.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | read_bin!(read_i16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_DOUBLE_SIDE_MASK` [INFO] [stdout] --> src/pmx_types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const MATERIAL_DOUBLE_SIDE_MASK: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_GROUND_SHADOW_MASK` [INFO] [stdout] --> src/pmx_types.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const MATERIAL_GROUND_SHADOW_MASK: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_CAST_SELF_SHADOW_MASK` [INFO] [stdout] --> src/pmx_types.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const MATERIAL_CAST_SELF_SHADOW_MASK: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_RECEIVE_SELF_SHADOW_MASK` [INFO] [stdout] --> src/pmx_types.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const MATERIAL_RECEIVE_SELF_SHADOW_MASK: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_EDGE_DRAW_MASK` [INFO] [stdout] --> src/pmx_types.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const MATERIAL_EDGE_DRAW_MASK: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_VERTEX_COLOR_MASK` [INFO] [stdout] --> src/pmx_types.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | const MATERIAL_VERTEX_COLOR_MASK: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_DRAW_POINT_MASK` [INFO] [stdout] --> src/pmx_types.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const MATERIAL_DRAW_POINT_MASK: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MATERIAL_DRAW_LINE_MASK` [INFO] [stdout] --> src/pmx_types.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const MATERIAL_DRAW_LINE_MASK: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PMXUtil` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pmxutil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_writer.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | writer.inner.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_PMXHeader_raw` should have a snake case name [INFO] [stdout] --> src/binary_reader.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | read_bin!(read_PMXHeader_raw, PMXHeaderC); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_pmxheader_raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | / writeln!( [INFO] [stdout] 533 | | f, [INFO] [stdout] 534 | | "Vertex:[position:{:?} norm:{:?} uv:{:?}]", [INFO] [stdout] 535 | | self.position, self.norm, self.uv [INFO] [stdout] 536 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | write!(f, "{:?}", add_uv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | writeln!(f, "BDEF1:[index1:{} weight1:1.0]", b1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | / writeln!( [INFO] [stdout] 552 | | f, [INFO] [stdout] 553 | | "BDEF2:[index1:{} index2:{} weight1:{} weight2:{}]", [INFO] [stdout] 554 | | bone_index_1, [INFO] [stdout] ... | [INFO] [stdout] 557 | | 1.0 - bone_weight_1 [INFO] [stdout] 558 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 570 | ... writeln!(f, "BDEF4:[index1:{} index2:{} index3:{} index4:{}, weight1:{} weight2:{} weight3:{} weight4:{}]", bone_index_1, bone_index_2, bone_index_3, bone_index_4, bone_weight_1, bone_weight_2, bone_weight_3, bone_weight_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | / writeln!( [INFO] [stdout] 581 | | f, [INFO] [stdout] 582 | | "SDEF:[index1:{} index2:{} weight1:{} weight2:{}]", [INFO] [stdout] 583 | | bone_index_1, [INFO] [stdout] ... | [INFO] [stdout] 586 | | 1.0 - bone_weight_1 [INFO] [stdout] 587 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 588 | / writeln!( [INFO] [stdout] 589 | | f, [INFO] [stdout] 590 | | "SDEF Specific Params:[ C:[{:?}] R0:[{:?}] R1:[{:?}] ]", [INFO] [stdout] 591 | | sdef_c, sdef_r0, sdef_r1 [INFO] [stdout] 592 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | ... writeln!(f, "BDEF4:[index1:{} index2:{} index3:{} index4:{}, weight1:{} weight2:{} weight3:{} weight4:{}]", bone_index_1, bone_index_2, bone_index_3, bone_index_4, bone_weight_1, bone_weight_2, bone_weight_3, bone_weight_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | writeln!(f, "edgeMagnifier:{}", self.edge_mag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/pmx_types.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | / writeln!( [INFO] [stdout] 615 | | f, [INFO] [stdout] 616 | | "Triangle:[{},{},{}]", [INFO] [stdout] 617 | | self.vertices[0], self.vertices[1], self.vertices[2] [INFO] [stdout] 618 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "3dabbf6348c247671b51042122718038d01af57f00c3bee3a8303a1ea28bf5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dabbf6348c247671b51042122718038d01af57f00c3bee3a8303a1ea28bf5d9", kill_on_drop: false }` [INFO] [stdout] 3dabbf6348c247671b51042122718038d01af57f00c3bee3a8303a1ea28bf5d9