[INFO] cloning repository https://github.com/dominicchui/voxel-carving [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dominicchui/voxel-carving" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdominicchui%2Fvoxel-carving", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdominicchui%2Fvoxel-carving'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cac365198526713de8fd7f05838ca7d050ee461f [INFO] building dominicchui/voxel-carving against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdominicchui%2Fvoxel-carving" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dominicchui/voxel-carving [INFO] finished tweaking git repo https://github.com/dominicchui/voxel-carving [INFO] tweaked toml for git repo https://github.com/dominicchui/voxel-carving written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dominicchui/voxel-carving on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dominicchui/voxel-carving 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4db5f67a142c9f85858b72572327ad855f4af5b5d078c1992c670e021788fa7 [INFO] running `Command { std: "docker" "start" "-a" "c4db5f67a142c9f85858b72572327ad855f4af5b5d078c1992c670e021788fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4db5f67a142c9f85858b72572327ad855f4af5b5d078c1992c670e021788fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4db5f67a142c9f85858b72572327ad855f4af5b5d078c1992c670e021788fa7", kill_on_drop: false }` [INFO] [stdout] c4db5f67a142c9f85858b72572327ad855f4af5b5d078c1992c670e021788fa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0051e610dc1436cdf785032e68bbe57f39042be7758a37e75b2b852b3423a282 [INFO] running `Command { std: "docker" "start" "-a" "0051e610dc1436cdf785032e68bbe57f39042be7758a37e75b2b852b3423a282", kill_on_drop: false }` [INFO] [stderr] Compiling bytemuck v1.17.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling flate2 v1.0.32 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling bitstream-io v2.5.2 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling rgb v0.8.48 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ordered-float v4.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling nalgebra v0.33.0 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling voxel_carving v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Perspective3` [INFO] [stdout] --> src/camera.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Isometry3, Matrix4, Perspective3, Point3, Vector3}; [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 imports: `RESOLUTION` and `Voxel` [INFO] [stdout] --> src/raytracer.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | voxel::{find_cube_intersect, Voxel, VoxelBlock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | RESOLUTION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_5` [INFO] [stdout] --> src/scene_generator.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let image_5 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_5` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_6` [INFO] [stdout] --> src/scene_generator.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let image_6 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_7` [INFO] [stdout] --> src/scene_generator.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let image_7 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_8` [INFO] [stdout] --> src/scene_generator.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let image_8 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/camera.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub(crate) width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub(crate) height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) up: Vector3, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub(crate) height_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub(crate) view_matrix: Matrix4, [INFO] [stdout] 12 | pub(crate) inv_view_matrix: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub(crate) proj_matrix: Matrix4, [INFO] [stdout] 14 | near: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | far: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_aspect_ratio` is never used [INFO] [stdout] --> src/camera.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_aspect_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectedColor` is never used [INFO] [stdout] --> src/carver.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum ProjectedColor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LightType` is never used [INFO] [stdout] --> src/raytracer.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum LightType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SceneLightData` is never constructed [INFO] [stdout] --> src/raytracer.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct SceneLightData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/raytracer.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_ray` is never used [INFO] [stdout] --> src/raytracer.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn generate_ray(i: usize, j: usize, k: f32, camera: &Camera) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_ray_direct` is never used [INFO] [stdout] --> src/raytracer.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn generate_ray_direct(x: f32, y: f32, z: f32, camera: &Camera) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ray_dir_for_pixel` is never used [INFO] [stdout] --> src/raytracer.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_ray_dir_for_pixel(i: usize, j: usize, k: f32, camera: &Camera) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace_ray` is never used [INFO] [stdout] --> src/raytracer.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn trace_ray( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_closest_intersection` is never used [INFO] [stdout] --> src/raytracer.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn find_closest_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_cylinders` is never used [INFO] [stdout] --> src/scene_generator.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn three_cylinders() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cone` is never used [INFO] [stdout] --> src/scene_generator.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn cone() -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `voxel_length` is never used [INFO] [stdout] --> src/voxel.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl VoxelBlock { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn voxel_length(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_cube_intersect` is never used [INFO] [stdout] --> src/voxel.rs:327:15 [INFO] [stdout] | [INFO] [stdout] 327 | pub(crate) fn find_cube_intersect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_cube_t` is never used [INFO] [stdout] --> src/voxel.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 364 | pub(crate) fn is_valid_cube_t(p: Vector4, d: Vector4, t: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "0051e610dc1436cdf785032e68bbe57f39042be7758a37e75b2b852b3423a282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0051e610dc1436cdf785032e68bbe57f39042be7758a37e75b2b852b3423a282", kill_on_drop: false }` [INFO] [stdout] 0051e610dc1436cdf785032e68bbe57f39042be7758a37e75b2b852b3423a282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 586108570c8e92aba6e74757429c27a1cd21af5180629465bc08122d0cf88fe6 [INFO] running `Command { std: "docker" "start" "-a" "586108570c8e92aba6e74757429c27a1cd21af5180629465bc08122d0cf88fe6", kill_on_drop: false }` [INFO] [stderr] Compiling voxel_carving v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Perspective3` [INFO] [stdout] --> src/camera.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Isometry3, Matrix4, Perspective3, Point3, Vector3}; [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 import: `nalgebra::Vector3` [INFO] [stdout] --> src/carver.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RESOLUTION` and `Voxel` [INFO] [stdout] --> src/raytracer.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | voxel::{find_cube_intersect, Voxel, VoxelBlock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | RESOLUTION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Perspective3`, `Point3`, and `Vector3` [INFO] [stdout] --> src/raytracer.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | use nalgebra::{Perspective3, Point3, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raytracer.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut voxel_block = VoxelBlock::new(2, 2); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_5` [INFO] [stdout] --> src/scene_generator.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let image_5 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_5` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_6` [INFO] [stdout] --> src/scene_generator.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let image_6 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_7` [INFO] [stdout] --> src/scene_generator.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let image_7 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_8` [INFO] [stdout] --> src/scene_generator.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let image_8 = Image::new_from_file( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `near`, and `far` are never read [INFO] [stdout] --> src/camera.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) up: Vector3, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 14 | near: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | far: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LightType` is never used [INFO] [stdout] --> src/raytracer.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum LightType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SceneLightData` is never constructed [INFO] [stdout] --> src/raytracer.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct SceneLightData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_cylinders` is never used [INFO] [stdout] --> src/scene_generator.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn three_cylinders() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `voxel_length` is never used [INFO] [stdout] --> src/voxel.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl VoxelBlock { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn voxel_length(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectedColor` is never used [INFO] [stdout] --> src/carver.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum ProjectedColor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "586108570c8e92aba6e74757429c27a1cd21af5180629465bc08122d0cf88fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586108570c8e92aba6e74757429c27a1cd21af5180629465bc08122d0cf88fe6", kill_on_drop: false }` [INFO] [stdout] 586108570c8e92aba6e74757429c27a1cd21af5180629465bc08122d0cf88fe6