[INFO] fetching crate mesh_to_vox 0.1.1... [INFO] testing mesh_to_vox-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mesh_to_vox 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate mesh_to_vox 0.1.1 [INFO] finished tweaking crates.io crate mesh_to_vox 0.1.1 [INFO] tweaked toml for crates.io crate mesh_to_vox 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mesh_to_vox 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mesh_to_vox 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 312f2888e455e404f66008ad75328d5a5b32a1b14b7a4c34539406a8bdc7c65b [INFO] running `Command { std: "docker" "start" "-a" "312f2888e455e404f66008ad75328d5a5b32a1b14b7a4c34539406a8bdc7c65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "312f2888e455e404f66008ad75328d5a5b32a1b14b7a4c34539406a8bdc7c65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "312f2888e455e404f66008ad75328d5a5b32a1b14b7a4c34539406a8bdc7c65b", kill_on_drop: false }` [INFO] [stdout] 312f2888e455e404f66008ad75328d5a5b32a1b14b7a4c34539406a8bdc7c65b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68b648971125ef3383bb0f1bf051d317e881eaf1fc61b65917eff9876b24710d [INFO] running `Command { std: "docker" "start" "-a" "68b648971125ef3383bb0f1bf051d317e881eaf1fc61b65917eff9876b24710d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.85 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling flate2 v1.0.29 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling wide v0.7.16 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling vox_writer v0.1.9 [INFO] [stderr] Compiling gltf-json v1.4.0 [INFO] [stderr] Compiling nalgebra v0.32.5 [INFO] [stderr] Compiling gltf v1.4.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling nalgebra-glm v0.18.0 [INFO] [stderr] Compiling mesh_to_vox v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `buffer_view_target` [INFO] [stdout] --> src/io.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | use gltf2::{AccessorComponentType, buffer_view_target}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let cwd = cwd.as_os_str().to_str().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let time = Timer::new("total"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screenshot` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn screenshot(input_path : &str, output_path : &str) -> std::process::Output{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn gather(dir : &str) -> Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_images` is never used [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_test_images(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/octree.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let mut output: [u8; 4] = unsafe{std::mem::MaybeUninit::uninit().assume_init()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[u8; 4]; 3]` does not permit being left uninitialized [INFO] [stdout] --> src/octree.rs:193:42 [INFO] [stdout] | [INFO] [stdout] 193 | let mut output: [[u8; 4]; 3]= unsafe{std::mem::MaybeUninit::uninit().assume_init()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byteStride` should have a snake case name [INFO] [stdout] --> src/io.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | let byteStride = if float{core::mem::size_of::()}else{core::mem::size_of::()}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byteOffset` should have a snake case name [INFO] [stdout] --> src/io.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | let byteOffset = if float{core::mem::offset_of!(FloatVertex, position)}else{core::mem::offset_of!(Vertex, position)}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byteOffset` should have a snake case name [INFO] [stdout] --> src/io.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | let byteOffset = if float{core::mem::offset_of!(FloatVertex, color)}else{core::mem::offset_of!(Vertex, color)}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `componentType` should have a snake case name [INFO] [stdout] --> src/io.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | let componentType = if float{f32::ACCESSOR_COMPONENT_TYPE}else{u8::ACCESSOR_COMPONENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `component_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "68b648971125ef3383bb0f1bf051d317e881eaf1fc61b65917eff9876b24710d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b648971125ef3383bb0f1bf051d317e881eaf1fc61b65917eff9876b24710d", kill_on_drop: false }` [INFO] [stdout] 68b648971125ef3383bb0f1bf051d317e881eaf1fc61b65917eff9876b24710d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe78b1ee966bb0c1833ed19c2f968805ce1949c191441f0e52d9e5906f3a854a [INFO] running `Command { std: "docker" "start" "-a" "fe78b1ee966bb0c1833ed19c2f968805ce1949c191441f0e52d9e5906f3a854a", kill_on_drop: false }` [INFO] [stderr] Compiling mesh_to_vox v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `buffer_view_target` [INFO] [stdout] --> src/io.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | use gltf2::{AccessorComponentType, buffer_view_target}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let cwd = cwd.as_os_str().to_str().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let time = Timer::new("total"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screenshot` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn screenshot(input_path : &str, output_path : &str) -> std::process::Output{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn gather(dir : &str) -> Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_images` is never used [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_test_images(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/octree.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let mut output: [u8; 4] = unsafe{std::mem::MaybeUninit::uninit().assume_init()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[u8; 4]; 3]` does not permit being left uninitialized [INFO] [stdout] --> src/octree.rs:193:42 [INFO] [stdout] | [INFO] [stdout] 193 | let mut output: [[u8; 4]; 3]= unsafe{std::mem::MaybeUninit::uninit().assume_init()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byteStride` should have a snake case name [INFO] [stdout] --> src/io.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | let byteStride = if float{core::mem::size_of::()}else{core::mem::size_of::()}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byteOffset` should have a snake case name [INFO] [stdout] --> src/io.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | let byteOffset = if float{core::mem::offset_of!(FloatVertex, position)}else{core::mem::offset_of!(Vertex, position)}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byteOffset` should have a snake case name [INFO] [stdout] --> src/io.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | let byteOffset = if float{core::mem::offset_of!(FloatVertex, color)}else{core::mem::offset_of!(Vertex, color)}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `componentType` should have a snake case name [INFO] [stdout] --> src/io.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | let componentType = if float{f32::ACCESSOR_COMPONENT_TYPE}else{u8::ACCESSOR_COMPONENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `component_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "fe78b1ee966bb0c1833ed19c2f968805ce1949c191441f0e52d9e5906f3a854a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe78b1ee966bb0c1833ed19c2f968805ce1949c191441f0e52d9e5906f3a854a", kill_on_drop: false }` [INFO] [stdout] fe78b1ee966bb0c1833ed19c2f968805ce1949c191441f0e52d9e5906f3a854a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1402452d115f185ee894684118a7acb3586a98375f0f53ec1048b55673126cfc [INFO] running `Command { std: "docker" "start" "-a" "1402452d115f185ee894684118a7acb3586a98375f0f53ec1048b55673126cfc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `buffer_view_target` [INFO] [stderr] --> src/io.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | use gltf2::{AccessorComponentType, buffer_view_target}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cwd` [INFO] [stderr] --> src/main.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | let cwd = cwd.as_os_str().to_str().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/main.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | let time = Timer::new("total"); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stderr] [INFO] [stderr] warning: function `screenshot` is never used [INFO] [stderr] --> src/main.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn screenshot(input_path : &str, output_path : &str) -> std::process::Output{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `gather` is never used [INFO] [stderr] --> src/main.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn gather(dir : &str) -> Vec{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_test_images` is never used [INFO] [stderr] --> src/main.rs:94:4 [INFO] [stderr] | [INFO] [stderr] 94 | fn generate_test_images(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stderr] --> src/octree.rs:176:42 [INFO] [stderr] | [INFO] [stderr] 176 | let mut output: [u8; 4] = unsafe{std::mem::MaybeUninit::uninit().assume_init()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `[[u8; 4]; 3]` does not permit being left uninitialized [INFO] [stderr] --> src/octree.rs:193:42 [INFO] [stderr] | [INFO] [stderr] 193 | let mut output: [[u8; 4]; 3]= unsafe{std::mem::MaybeUninit::uninit().assume_init()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: variable `byteStride` should have a snake case name [INFO] [stderr] --> src/io.rs:536:9 [INFO] [stderr] | [INFO] [stderr] 536 | let byteStride = if float{core::mem::size_of::()}else{core::mem::size_of::()}; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_stride` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `byteOffset` should have a snake case name [INFO] [stderr] --> src/io.rs:547:9 [INFO] [stderr] | [INFO] [stderr] 547 | let byteOffset = if float{core::mem::offset_of!(FloatVertex, position)}else{core::mem::offset_of!(Vertex, position)}; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_offset` [INFO] [stderr] [INFO] [stderr] warning: variable `byteOffset` should have a snake case name [INFO] [stderr] --> src/io.rs:559:9 [INFO] [stderr] | [INFO] [stderr] 559 | let byteOffset = if float{core::mem::offset_of!(FloatVertex, color)}else{core::mem::offset_of!(Vertex, color)}; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `byte_offset` [INFO] [stderr] [INFO] [stderr] warning: variable `componentType` should have a snake case name [INFO] [stderr] --> src/io.rs:560:9 [INFO] [stderr] | [INFO] [stderr] 560 | let componentType = if float{f32::ACCESSOR_COMPONENT_TYPE}else{u8::ACCESSOR_COMPONENT_TYPE}; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `component_type` [INFO] [stderr] [INFO] [stderr] warning: `mesh_to_vox` (bin "mesh_to_vox" test) generated 12 warnings (run `cargo fix --bin "mesh_to_vox" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mesh_to_vox-abaa70ad7bf99c2f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1402452d115f185ee894684118a7acb3586a98375f0f53ec1048b55673126cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1402452d115f185ee894684118a7acb3586a98375f0f53ec1048b55673126cfc", kill_on_drop: false }` [INFO] [stdout] 1402452d115f185ee894684118a7acb3586a98375f0f53ec1048b55673126cfc