[INFO] cloning repository https://github.com/alamont/maxwell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alamont/maxwell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamont%2Fmaxwell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamont%2Fmaxwell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6a0dd6986db0178cb780c63ecebe23e5ce9bbd05
[INFO] checking alamont/maxwell against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falamont%2Fmaxwell" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alamont/maxwell
[INFO] finished tweaking git repo https://github.com/alamont/maxwell
[INFO] tweaked toml for git repo https://github.com/alamont/maxwell written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alamont/maxwell on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alamont/maxwell 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cast v0.2.3
[INFO] [stderr]   Downloaded nalgebra v0.21.0
[INFO] [stderr]   Downloaded cc v1.0.52
[INFO] [stderr]   Downloaded paste v0.1.12
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.15
[INFO] [stderr]   Downloaded quote v1.0.4
[INFO] [stderr]   Downloaded libflate v0.1.27
[INFO] [stderr]   Downloaded proc-macro2 v1.0.12
[INFO] [stderr]   Downloaded wayland-cursor v0.25.0
[INFO] [stderr]   Downloaded once_cell v1.3.1
[INFO] [stderr]   Downloaded generic-array v0.13.2
[INFO] [stderr]   Downloaded simba v0.1.2
[INFO] [stderr]   Downloaded half v1.6.0
[INFO] [stderr]   Downloaded matrixmultiply v0.2.3
[INFO] [stderr]   Downloaded minifb v0.16.0
[INFO] [stderr]   Downloaded png v0.16.3
[INFO] [stderr]   Downloaded wayland-client v0.25.0
[INFO] [stderr]   Downloaded rle-decode-fast v1.0.1
[INFO] [stderr]   Downloaded wayland-commons v0.25.0
[INFO] [stderr]   Downloaded paste-impl v0.1.12
[INFO] [stderr]   Downloaded bit_field v0.10.0
[INFO] [stderr]   Downloaded wayland-sys v0.25.0
[INFO] [stderr]   Downloaded wayland-protocols v0.25.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.12
[INFO] [stderr]   Downloaded remove_dir_all v0.5.2
[INFO] [stderr]   Downloaded syn v1.0.19
[INFO] [stderr]   Downloaded exr v0.7.4
[INFO] [stderr]   Downloaded libc v0.2.69
[INFO] [stderr]   Downloaded wayland-scanner v0.25.0
[INFO] [stderr]   Downloaded dyn-clone v1.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3
[INFO] running `Command { std: "docker" "start" "e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling syn v1.0.19
[INFO] [stderr]     Checking smallvec v1.4.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking once_cell v1.3.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling xkbcommon-sys v0.7.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking rle-decode-fast v1.0.1
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking libflate v0.1.27
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking lebe v0.5.1
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]    Compiling wayland-scanner v0.25.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling minifb v0.16.0
[INFO] [stderr]     Checking png v0.16.3
[INFO] [stderr]     Checking bit_field v0.10.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking dyn-clone v1.0.1
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking wayland-sys v0.25.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking xkb v0.2.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]    Compiling wayland-client v0.25.0
[INFO] [stderr]    Compiling wayland-protocols v0.25.0
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]    Compiling paste-impl v0.1.12
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking exr v0.7.4
[INFO] [stderr]     Checking paste v0.1.12
[INFO] [stderr]     Checking wayland-commons v0.25.0
[INFO] [stderr]     Checking simba v0.1.2
[INFO] [stderr]     Checking nalgebra v0.21.0
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]     Checking wayland-cursor v0.25.0
[INFO] [stderr]     Checking maxwell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/camera.rs:3:54
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::vector::{deg_to_rad, random_unit_in_disk, Vec2, Vec3};
[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: `clamp`
[INFO] [stdout]  --> src/geometry/sphere.rs:6:62
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::vector::{Vec2, Vec3, onb_local, random_to_sphere, clamp};
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/geometry/aabox.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]   --> src/geometry/aabox.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::vector::{Vec2, Vec3};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/geometry/transform.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vector::{Vec2, Vec3, deg_to_rad};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/geometry/volume.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `clamp`, `onb_local`, and `random_to_sphere`
[INFO] [stdout]  --> src/geometry/volume.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::{Vec2, Vec3, onb_local, random_to_sphere, clamp};
[INFO] [stdout]   |                                 ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOLTZMANNS_CONSTANT`, `PLANCKS_CONSTANT`, `SPEED_OF_LIGHT`, and `WIENS_CONSTANT`
[INFO] [stdout]  --> src/material/emissive.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::constants::{BOLTZMANNS_CONSTANT, PLANCKS_CONSTANT, SPEED_OF_LIGHT, WIENS_CONSTANT};
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlackBody`, `ScatterRecord`, `color::Reflectance`, and `lambertian::Lambertian`
[INFO] [stdout]  --> src/material/emissive.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     color::Reflectance,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     lambertian::Lambertian,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     spectrum::{BlackBody, Spectrum},
[INFO] [stdout]   |                ^^^^^^^^^
[INFO] [stdout] 7 |     Material, ScatterRecord,
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::deg_to_rad`
[INFO] [stdout]   --> src/material/emissive.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::vector::deg_to_rad;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/material/dielectric.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pdf`
[INFO] [stdout]  --> src/material/dielectric.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::pdf::{Pdf};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Vec3` and `onb_local`
[INFO] [stdout]  --> src/material/dielectric.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::{Vec3, onb_local};
[INFO] [stdout]   |                     ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/mc.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{random, Rng, thread_rng};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transform::Transform`
[INFO] [stdout]  --> src/scenes/lights.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     transform::Transform,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `bvh::BVHNode` and `sphere::Sphere`
[INFO] [stdout]   --> src/main.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::geometry::{bvh::BVHNode, sphere::Sphere, Geometry, HittableList};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GeometryPdf`
[INFO] [stdout]   --> src/main.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::pdf::{GeometryPdf, MixturePdf, Pdf};
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/camera.rs:3:54
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::vector::{deg_to_rad, random_unit_in_disk, Vec2, Vec3};
[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: `clamp`
[INFO] [stdout]  --> src/geometry/sphere.rs:6:62
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::vector::{Vec2, Vec3, onb_local, random_to_sphere, clamp};
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/geometry/aabox.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]   --> src/geometry/aabox.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::vector::{Vec2, Vec3};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/geometry/transform.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vector::{Vec2, Vec3, deg_to_rad};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/geometry/volume.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `clamp`, `onb_local`, and `random_to_sphere`
[INFO] [stdout]  --> src/geometry/volume.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::{Vec2, Vec3, onb_local, random_to_sphere, clamp};
[INFO] [stdout]   |                                 ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOLTZMANNS_CONSTANT`, `PLANCKS_CONSTANT`, `SPEED_OF_LIGHT`, and `WIENS_CONSTANT`
[INFO] [stdout]  --> src/material/emissive.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::constants::{BOLTZMANNS_CONSTANT, PLANCKS_CONSTANT, SPEED_OF_LIGHT, WIENS_CONSTANT};
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlackBody`, `ScatterRecord`, `color::Reflectance`, and `lambertian::Lambertian`
[INFO] [stdout]  --> src/material/emissive.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     color::Reflectance,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     lambertian::Lambertian,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     spectrum::{BlackBody, Spectrum},
[INFO] [stdout]   |                ^^^^^^^^^
[INFO] [stdout] 7 |     Material, ScatterRecord,
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::deg_to_rad`
[INFO] [stdout]   --> src/material/emissive.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::vector::deg_to_rad;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/material/dielectric.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pdf`
[INFO] [stdout]  --> src/material/dielectric.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::pdf::{Pdf};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Vec3` and `onb_local`
[INFO] [stdout]  --> src/material/dielectric.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::{Vec3, onb_local};
[INFO] [stdout]   |                     ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/mc.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{random, Rng, thread_rng};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transform::Transform`
[INFO] [stdout]  --> src/scenes/lights.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     transform::Transform,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `bvh::BVHNode` and `sphere::Sphere`
[INFO] [stdout]   --> src/main.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::geometry::{bvh::BVHNode, sphere::Sphere, Geometry, HittableList};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GeometryPdf`
[INFO] [stdout]   --> src/main.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::pdf::{GeometryPdf, MixturePdf, Pdf};
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/mc.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{random, Rng, thread_rng};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit`
[INFO] [stdout]   --> src/geometry/sphere.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         if let Some(hit) = &self.hit(&ray, 0.001, f32::MAX) {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_hit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/mc.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{random, Rng, thread_rng};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit`
[INFO] [stdout]   --> src/geometry/sphere.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         if let Some(hit) = &self.hit(&ray, 0.001, f32::MAX) {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_hit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/geometry/mod.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn is_inside(&self, point: Vec3) -> bool {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/geometry/mod.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn is_inside(&self, point: Vec3) -> bool {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit`
[INFO] [stdout]   --> src/material/isotropic.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn scatter(&self, _ray: &Ray, hit: &HitRecord) -> Option<ScatterRecord> {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_hit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wavelength`
[INFO] [stdout]  --> src/material/spectrum.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn value(&self, wavelength: f32) -> f32 {
[INFO] [stdout]   |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wavelength`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit`
[INFO] [stdout]   --> src/material/isotropic.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn scatter(&self, _ray: &Ray, hit: &HitRecord) -> Option<ScatterRecord> {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_hit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wavelength`
[INFO] [stdout]  --> src/material/spectrum.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn value(&self, wavelength: f32) -> f32 {
[INFO] [stdout]   |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wavelength`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/pdf.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn value(&self, x: T) -> f32 {
[INFO] [stdout]   |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/pdf.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn value(&self, x: T) -> f32 {
[INFO] [stdout]   |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Hexagon` is never constructed
[INFO] [stdout]  --> src/camera.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ApertureShape {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 6 |     Circle,
[INFO] [stdout] 7 |     Hexagon,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/camera.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     w: Vec3,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GOLDEN_RATIO` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const GOLDEN_RATIO: f32 = 1.6180339887498948482045868343656381177203091798057628;
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transform` is never constructed
[INFO] [stdout]  --> src/geometry/transform.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Transform {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/geometry/transform.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Transform {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(object: Box<dyn Geometry>, offset: Vec3, rotation_deg: Vec3) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NonUniformMedium` is never constructed
[INFO] [stdout]   --> src/geometry/volume.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct NonUniformMedium {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reflect` is never used
[INFO] [stdout]   --> src/material/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn reflect(v: &Vec3, n: &Vec3) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refract` is never used
[INFO] [stdout]   --> src/material/mod.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn refract(uv: &Vec3, n: &Vec3, etai_over_etat: f32) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `schlick` is never used
[INFO] [stdout]   --> src/material/mod.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn schlick(cosine: f32, ref_idx: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GGX` is never constructed
[INFO] [stdout]   --> src/material/ggx.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GGX {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GGXPdf` is never constructed
[INFO] [stdout]   --> src/material/ggx.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct GGXPdf {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ggx_pdf_value` is never used
[INFO] [stdout]   --> src/material/ggx.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn ggx_pdf_value(cosine_theta: f32, alpha:f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_ggx_direction` is never used
[INFO] [stdout]   --> src/material/ggx.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn random_ggx_direction(alpha_squared: f32) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sf10Glass` is never constructed
[INFO] [stdout]   --> src/material/dielectric.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Sf10Glass;
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_index_of_refraction` is never used
[INFO] [stdout]   --> src/material/dielectric.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Sf10Glass {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn get_index_of_refraction(wavelength: f32) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Normal` is never constructed
[INFO] [stdout]  --> src/material/color.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Reflectance {
[INFO] [stdout]   |          ----------- variant in this enum
[INFO] [stdout] 3 |     Uniform(f32),
[INFO] [stdout] 4 |     Normal(f32, f32, f32),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Reflectance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_wavelength_uniform` is never used
[INFO] [stdout]  --> src/mc.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_wavelength_uniform() -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pdf.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | impl CosinePdf {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 89 |     pub fn new(w: Vec3) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DirectionalPdf` is never constructed
[INFO] [stdout]    --> src/pdf.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct DirectionalPdf {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/pdf.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl DirectionalPdf {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 150 |     pub fn new(direction: Vec3) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp` is never used
[INFO] [stdout]   --> src/vector.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn clamp(x: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Hexagon` is never constructed
[INFO] [stdout]  --> src/camera.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ApertureShape {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 6 |     Circle,
[INFO] [stdout] 7 |     Hexagon,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/camera.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     w: Vec3,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GOLDEN_RATIO` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const GOLDEN_RATIO: f32 = 1.6180339887498948482045868343656381177203091798057628;
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transform` is never constructed
[INFO] [stdout]  --> src/geometry/transform.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Transform {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/geometry/transform.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Transform {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(object: Box<dyn Geometry>, offset: Vec3, rotation_deg: Vec3) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NonUniformMedium` is never constructed
[INFO] [stdout]   --> src/geometry/volume.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct NonUniformMedium {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reflect` is never used
[INFO] [stdout]   --> src/material/mod.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn reflect(v: &Vec3, n: &Vec3) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refract` is never used
[INFO] [stdout]   --> src/material/mod.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn refract(uv: &Vec3, n: &Vec3, etai_over_etat: f32) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/geometry/mod.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn generate_mixture_pdf(&self, hit_position: Vec3) -> MixturePdf<Vec3> {
[INFO] [stdout]    |                                 ^^^^^                         ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn generate_mixture_pdf(&self, hit_position: Vec3) -> MixturePdf<'_, Vec3> {
[INFO] [stdout]    |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `schlick` is never used
[INFO] [stdout]   --> src/material/mod.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn schlick(cosine: f32, ref_idx: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GGX` is never constructed
[INFO] [stdout]   --> src/material/ggx.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GGX {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GGXPdf` is never constructed
[INFO] [stdout]   --> src/material/ggx.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct GGXPdf {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ggx_pdf_value` is never used
[INFO] [stdout]   --> src/material/ggx.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn ggx_pdf_value(cosine_theta: f32, alpha:f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_ggx_direction` is never used
[INFO] [stdout]   --> src/material/ggx.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn random_ggx_direction(alpha_squared: f32) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sf10Glass` is never constructed
[INFO] [stdout]   --> src/material/dielectric.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Sf10Glass;
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_index_of_refraction` is never used
[INFO] [stdout]   --> src/material/dielectric.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Sf10Glass {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn get_index_of_refraction(wavelength: f32) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Normal` is never constructed
[INFO] [stdout]  --> src/material/color.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Reflectance {
[INFO] [stdout]   |          ----------- variant in this enum
[INFO] [stdout] 3 |     Uniform(f32),
[INFO] [stdout] 4 |     Normal(f32, f32, f32),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Reflectance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_wavelength_uniform` is never used
[INFO] [stdout]  --> src/mc.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_wavelength_uniform() -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pdf.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | impl CosinePdf {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 89 |     pub fn new(w: Vec3) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DirectionalPdf` is never constructed
[INFO] [stdout]    --> src/pdf.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct DirectionalPdf {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/pdf.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl DirectionalPdf {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 150 |     pub fn new(direction: Vec3) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp` is never used
[INFO] [stdout]   --> src/vector.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn clamp(x: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/geometry/mod.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn generate_mixture_pdf(&self, hit_position: Vec3) -> MixturePdf<Vec3> {
[INFO] [stdout]    |                                 ^^^^^                         ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn generate_mixture_pdf(&self, hit_position: Vec3) -> MixturePdf<'_, Vec3> {
[INFO] [stdout]    |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.33s
[INFO] running `Command { std: "docker" "inspect" "e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3", kill_on_drop: false }`
[INFO] [stdout] e91188054268301ee9ef0cf5615bd52b7c6f97e1f7c7d70b665a3f7eab5aa8f3
