[INFO] fetching crate PMXUtil 0.8.2... [INFO] testing PMXUtil-0.8.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate PMXUtil 0.8.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate PMXUtil 0.8.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 654d4218b85e010671668de062af01d2b89ba6644d87d98f6345ecf9f53721fe [INFO] running `Command { std: "docker" "start" "-a" "654d4218b85e010671668de062af01d2b89ba6644d87d98f6345ecf9f53721fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654d4218b85e010671668de062af01d2b89ba6644d87d98f6345ecf9f53721fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654d4218b85e010671668de062af01d2b89ba6644d87d98f6345ecf9f53721fe", kill_on_drop: false }` [INFO] [stdout] 654d4218b85e010671668de062af01d2b89ba6644d87d98f6345ecf9f53721fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cde14e7a06350ae9d36c87bb3176c9089a556b3e91198adfc46ad4b99ce6276 [INFO] running `Command { std: "docker" "start" "-a" "0cde14e7a06350ae9d36c87bb3176c9089a556b3e91198adfc46ad4b99ce6276", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling 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: 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "0cde14e7a06350ae9d36c87bb3176c9089a556b3e91198adfc46ad4b99ce6276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cde14e7a06350ae9d36c87bb3176c9089a556b3e91198adfc46ad4b99ce6276", kill_on_drop: false }` [INFO] [stdout] 0cde14e7a06350ae9d36c87bb3176c9089a556b3e91198adfc46ad4b99ce6276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9c0ad7c46c8985ff16785d5cb9e42fb9e0b53b7e3617fa53fbd81154269692d [INFO] running `Command { std: "docker" "start" "-a" "c9c0ad7c46c8985ff16785d5cb9e42fb9e0b53b7e3617fa53fbd81154269692d", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 34 warnings emitted [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: 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "c9c0ad7c46c8985ff16785d5cb9e42fb9e0b53b7e3617fa53fbd81154269692d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c0ad7c46c8985ff16785d5cb9e42fb9e0b53b7e3617fa53fbd81154269692d", kill_on_drop: false }` [INFO] [stdout] c9c0ad7c46c8985ff16785d5cb9e42fb9e0b53b7e3617fa53fbd81154269692d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ecd340d3ce0d898b0248bfcb2f69f5d130bb750e4d846e218bcad2a8e53961be [INFO] running `Command { std: "docker" "start" "-a" "ecd340d3ce0d898b0248bfcb2f69f5d130bb750e4d846e218bcad2a8e53961be", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PMXJointParameterRaw` [INFO] [stderr] --> src/binary_reader.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::pmx_types::{Encode, PMXHeaderC, PMXJointParameterRaw, Vec2, Vec3, Vec4}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 649 | write_bin!(write_vec4, Vec4); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 650 | write_bin!(write_vec3, Vec3); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 651 | write_bin!(write_vec2, Vec2); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 652 | write_bin!(write_f32, f32); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 653 | write_bin!(write_i32, i32); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 654 | write_bin!(write_u32, u32); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 655 | write_bin!(write_i16, i16); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 656 | write_bin!(write_u16, u16); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 657 | write_bin!(write_i8, i8); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `buf` is never read [INFO] [stderr] --> src/binary_writer.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | let mut buf = [0u8; std::mem::size_of::<$T>()]; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 658 | write_bin!(write_u8, u8); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_u32` [INFO] [stderr] --> src/binary_writer.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) fn $F(&mut self, value: $T) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 654 | write_bin!(write_u32, u32); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_i16` [INFO] [stderr] --> src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn $F(&mut self) -> $T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/binary_reader.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | read_bin!(read_i16, i16); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_DOUBLE_SIDE_MASK` [INFO] [stderr] --> src/pmx_types.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | const MATERIAL_DOUBLE_SIDE_MASK: u8 = 0x01; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_GROUND_SHADOW_MASK` [INFO] [stderr] --> src/pmx_types.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | const MATERIAL_GROUND_SHADOW_MASK: u8 = 0x02; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_CAST_SELF_SHADOW_MASK` [INFO] [stderr] --> src/pmx_types.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | const MATERIAL_CAST_SELF_SHADOW_MASK: u8 = 0x04; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_RECEIVE_SELF_SHADOW_MASK` [INFO] [stderr] --> src/pmx_types.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | const MATERIAL_RECEIVE_SELF_SHADOW_MASK: u8 = 0x08; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_EDGE_DRAW_MASK` [INFO] [stderr] --> src/pmx_types.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | const MATERIAL_EDGE_DRAW_MASK: u8 = 0x10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_VERTEX_COLOR_MASK` [INFO] [stderr] --> src/pmx_types.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | const MATERIAL_VERTEX_COLOR_MASK: u8 = 0x20; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_DRAW_POINT_MASK` [INFO] [stderr] --> src/pmx_types.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | const MATERIAL_DRAW_POINT_MASK: u8 = 0x40; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MATERIAL_DRAW_LINE_MASK` [INFO] [stderr] --> src/pmx_types.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | const MATERIAL_DRAW_LINE_MASK: u8 = 0x80; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `PMXUtil` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pmxutil` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_writer.rs:245:9 [INFO] [stderr] | [INFO] [stderr] 245 | writer.inner.flush(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: method `read_PMXHeader_raw` should have a snake case name [INFO] [stderr] --> src/binary_reader.rs:75:15 [INFO] [stderr] | [INFO] [stderr] 75 | read_bin!(read_PMXHeader_raw, PMXHeaderC); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_pmxheader_raw` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:532:9 [INFO] [stderr] | [INFO] [stderr] 532 | / writeln!( [INFO] [stderr] 533 | | f, [INFO] [stderr] 534 | | "Vertex:[position:{:?} norm:{:?} uv:{:?}]", [INFO] [stderr] 535 | | self.position, self.norm, self.uv [INFO] [stderr] 536 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:539:17 [INFO] [stderr] | [INFO] [stderr] 539 | write!(f, "{:?}", add_uv); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:544:17 [INFO] [stderr] | [INFO] [stderr] 544 | writeln!(f, "BDEF1:[index1:{} weight1:1.0]", b1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:551:17 [INFO] [stderr] | [INFO] [stderr] 551 | / writeln!( [INFO] [stderr] 552 | | f, [INFO] [stderr] 553 | | "BDEF2:[index1:{} index2:{} weight1:{} weight2:{}]", [INFO] [stderr] 554 | | bone_index_1, [INFO] [stderr] ... | [INFO] [stderr] 557 | | 1.0 - bone_weight_1 [INFO] [stderr] 558 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:570:17 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:580:17 [INFO] [stderr] | [INFO] [stderr] 580 | / writeln!( [INFO] [stderr] 581 | | f, [INFO] [stderr] 582 | | "SDEF:[index1:{} index2:{} weight1:{} weight2:{}]", [INFO] [stderr] 583 | | bone_index_1, [INFO] [stderr] ... | [INFO] [stderr] 586 | | 1.0 - bone_weight_1 [INFO] [stderr] 587 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:588:17 [INFO] [stderr] | [INFO] [stderr] 588 | / writeln!( [INFO] [stderr] 589 | | f, [INFO] [stderr] 590 | | "SDEF Specific Params:[ C:[{:?}] R0:[{:?}] R1:[{:?}] ]", [INFO] [stderr] 591 | | sdef_c, sdef_r0, sdef_r1 [INFO] [stderr] 592 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:604:17 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:607:9 [INFO] [stderr] | [INFO] [stderr] 607 | writeln!(f, "edgeMagnifier:{}", self.edge_mag); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/pmx_types.rs:614:9 [INFO] [stderr] | [INFO] [stderr] 614 | / writeln!( [INFO] [stderr] 615 | | f, [INFO] [stderr] 616 | | "Triangle:[{},{},{}]", [INFO] [stderr] 617 | | self.vertices[0], self.vertices[1], self.vertices[2] [INFO] [stderr] 618 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `PMXUtil` (lib) generated 34 warnings [INFO] [stderr] warning: `PMXUtil` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/PMXUtil-8d82a12d83216eb5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::copy_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::copy_test stdout ---- [INFO] [stdout] thread 'test::copy_test' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/binary_writer.rs:39:50 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5582ba20ac2c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5582ba20ac2c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5582ba20ac2c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5582ba20ac2c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5582ba22e54c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5582ba206bd5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5582ba20c680 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5582ba20c680 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5582ba20c680 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5582ba20c266 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5582ba20cd34 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5582ba20c810 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5582ba20b0e4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5582ba20c779 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5582ba0f1871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x5582ba0f1963 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x5582ba11e9ca - core::result::Result::unwrap::h522c3938531f22ac [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/result.rs:1295:23 [INFO] [stdout] 17: 0x5582ba111013 - PMXUtil::binary_writer::BinaryWriter::create::he2ae86027d9be6a3 [INFO] [stdout] at /opt/rustwide/workdir/src/binary_writer.rs:39:25 [INFO] [stdout] 18: 0x5582ba118c5f - PMXUtil::pmx_writer::PMXWriter::begin_writer::h93dcfd5ffd762300 [INFO] [stdout] at /opt/rustwide/workdir/src/pmx_writer.rs:37:21 [INFO] [stdout] 19: 0x5582ba138c81 - PMXUtil::test::copy_test::hf519918bec72b56e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:41:26 [INFO] [stdout] 20: 0x5582ba138b6a - PMXUtil::test::copy_test::{{closure}}::hf4f6b589a92be0ad [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:38:5 [INFO] [stdout] 21: 0x5582ba10b98e - core::ops::function::FnOnce::call_once::heba6b5c6eb54bde3 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5582ba1e8703 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5582ba1e8703 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 24: 0x5582ba1e7317 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 25: 0x5582ba1e7317 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x5582ba1e7317 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 27: 0x5582ba1e7317 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 28: 0x5582ba1e7317 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 29: 0x5582ba1e7317 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 30: 0x5582ba1e7317 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 31: 0x5582ba1b45be - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 32: 0x5582ba1b45be - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 33: 0x5582ba1b9318 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 34: 0x5582ba1b9318 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x5582ba1b9318 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 36: 0x5582ba1b9318 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 37: 0x5582ba1b9318 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 38: 0x5582ba1b9318 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 39: 0x5582ba1b9318 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5582ba2117c3 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5582ba2117c3 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 42: 0x5582ba2117c3 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x7f4a1fd94609 - start_thread [INFO] [stdout] 44: 0x7f4a1fb66293 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::copy_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "ecd340d3ce0d898b0248bfcb2f69f5d130bb750e4d846e218bcad2a8e53961be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd340d3ce0d898b0248bfcb2f69f5d130bb750e4d846e218bcad2a8e53961be", kill_on_drop: false }` [INFO] [stdout] ecd340d3ce0d898b0248bfcb2f69f5d130bb750e4d846e218bcad2a8e53961be