[INFO] cloning repository https://github.com/DannyvanSwieten/rust_toy_tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DannyvanSwieten/rust_toy_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDannyvanSwieten%2Frust_toy_tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDannyvanSwieten%2Frust_toy_tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce632a36a4f8371c134843d41acae6b08767c81b
[INFO] checking DannyvanSwieten/rust_toy_tracer against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDannyvanSwieten%2Frust_toy_tracer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DannyvanSwieten/rust_toy_tracer
[INFO] finished tweaking git repo https://github.com/DannyvanSwieten/rust_toy_tracer
[INFO] tweaked toml for git repo https://github.com/DannyvanSwieten/rust_toy_tracer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DannyvanSwieten/rust_toy_tracer on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DannyvanSwieten/rust_toy_tracer 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.82
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.82
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.82
[INFO] [stderr]   Downloaded tobj v3.2.3
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.9
[INFO] [stderr]   Downloaded bit_field v0.10.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.82
[INFO] [stderr]   Downloaded lock_api v0.4.7
[INFO] [stderr]   Downloaded futures-sink v0.3.23
[INFO] [stderr]   Downloaded futures-core v0.3.23
[INFO] [stderr]   Downloaded unicode-ident v1.0.3
[INFO] [stderr]   Downloaded spin v0.9.4
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.10
[INFO] [stderr]   Downloaded flume v0.10.14
[INFO] [stderr]   Downloaded half v1.8.2
[INFO] [stderr]   Downloaded deflate v1.0.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.11
[INFO] [stderr]   Downloaded flate2 v1.0.24
[INFO] [stderr]   Downloaded rayon-core v1.9.3
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.82
[INFO] [stderr]   Downloaded rayon v1.5.3
[INFO] [stderr]   Downloaded serde_derive v1.0.144
[INFO] [stderr]   Downloaded png v0.17.5
[INFO] [stderr]   Downloaded serde v1.0.144
[INFO] [stderr]   Downloaded js-sys v0.3.59
[INFO] [stderr]   Downloaded exr v1.5.0
[INFO] [stderr]   Downloaded miniz_oxide v0.5.3
[INFO] [stderr]   Downloaded image v0.24.3
[INFO] [stderr]   Downloaded libc v0.2.132
[INFO] [stderr]   Downloaded gif v0.11.4
[INFO] [stderr]   Downloaded jpeg-decoder v0.2.6
[INFO] [stderr]   Downloaded tiff v0.7.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 613445cd5bde1c5442c13b5ae5211bbd34b7c6652989aa980abab852f51f6817
[INFO] running `Command { std: "docker" "start" "-a" "613445cd5bde1c5442c13b5ae5211bbd34b7c6652989aa980abab852f51f6817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "613445cd5bde1c5442c13b5ae5211bbd34b7c6652989aa980abab852f51f6817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "613445cd5bde1c5442c13b5ae5211bbd34b7c6652989aa980abab852f51f6817", kill_on_drop: false }`
[INFO] [stdout] 613445cd5bde1c5442c13b5ae5211bbd34b7c6652989aa980abab852f51f6817
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1359d21d777c25024d58313d5bb4b49cee5f0ed59fe3082addb192946b2c2368
[INFO] running `Command { std: "docker" "start" "-a" "1359d21d777c25024d58313d5bb4b49cee5f0ed59fe3082addb192946b2c2368", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking once_cell v1.13.1
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking futures-sink v0.3.23
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking deflate v1.0.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking png v0.17.5
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.12.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tobj v3.2.3
[INFO] [stderr]     Checking jpeg-decoder v0.2.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]     Checking tiff v0.7.3
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking exr v1.5.0
[INFO] [stderr]     Checking image v0.24.3
[INFO] [stderr]     Checking toy_tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 |     (kd) // + gloss_brdf + clear_coat_brdf) * theta
[INFO] [stdout]     |     ^  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 289 -     (kd) // + gloss_brdf + clear_coat_brdf) * theta
[INFO] [stdout] 289 +     kd  // + gloss_brdf + clear_coat_brdf) * theta
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::disney_brdf_pdf::pdf_lambert`
[INFO] [stdout]  --> src/disney_brdf_sample.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::disney_brdf_pdf::pdf_lambert;
[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: `disney_brdf_pdf::pdf_disney_micro_facet_anisotropic`
[INFO] [stdout]   --> src/disney_brdf_sample.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     disney_brdf_pdf::pdf_disney_micro_facet_anisotropic,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/light.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::disney_brdf_evaluate::*`
[INFO] [stdout]  --> src/materials.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::disney_brdf_evaluate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::ray::Ray`
[INFO] [stdout]  --> src/materials.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::ray::Ray;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_bsdf`
[INFO] [stdout]   --> src/materials.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::disney_brdf_sample::sample_disney_bsdf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_diffuse`
[INFO] [stdout]   --> src/materials.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::disney_brdf_sample::sample_disney_diffuse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rand::sphere`
[INFO] [stdout]   --> src/materials.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::rand::sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 |     (kd) // + gloss_brdf + clear_coat_brdf) * theta
[INFO] [stdout]     |     ^  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 289 -     (kd) // + gloss_brdf + clear_coat_brdf) * theta
[INFO] [stdout] 289 +     kd  // + gloss_brdf + clear_coat_brdf) * theta
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::camera::Camera`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::camera::Camera;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::light::Light`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::light::Light;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DirectionalLight`
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use light::{DirectionalLight, Lights};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::disney_brdf_pdf::pdf_lambert`
[INFO] [stdout]  --> src/disney_brdf_sample.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::disney_brdf_pdf::pdf_lambert;
[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: `disney_brdf_pdf::pdf_disney_micro_facet_anisotropic`
[INFO] [stdout]   --> src/disney_brdf_sample.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     disney_brdf_pdf::pdf_disney_micro_facet_anisotropic,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/light.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::disney_brdf_evaluate::*`
[INFO] [stdout]  --> src/materials.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::disney_brdf_evaluate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::ray::Ray`
[INFO] [stdout]  --> src/materials.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::ray::Ray;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_bsdf`
[INFO] [stdout]   --> src/materials.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::disney_brdf_sample::sample_disney_bsdf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_diffuse`
[INFO] [stdout]   --> src/materials.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::disney_brdf_sample::sample_disney_diffuse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rand::sphere`
[INFO] [stdout]   --> src/materials.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::rand::sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::camera::Camera`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::camera::Camera;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::light::Light`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::light::Light;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DirectionalLight`
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use light::{DirectionalLight, Lights};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/acceleration_structure.rs:174:28
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn geometry(&self, index: usize) {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/default_ray_generation_shader.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |                     let mut indirect_light = bounce.color;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/default_ray_generation_shader.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     let mut direct_light = Color::new();
[INFO] [stdout]    |                         ----^^^^^^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lights`
[INFO] [stdout]   --> src/default_ray_generation_shader.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         lights: &Lights,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gloss_brdf`
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let gloss_brdf = evaluate_disney_anisotropic_specular(
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloss_brdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clear_coat_brdf`
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let clear_coat_brdf = evaluate_disney_clear_coat(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_coat_brdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `theta`
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |     let theta = dot(normal, wi).max(0.001);
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/disney_brdf_sample.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let r = rand::float();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cull`
[INFO] [stdout]   --> src/hittable.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         cull: bool,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cull`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]    --> src/hittable.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let duration = start.elapsed();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `closest` is never read
[INFO] [stdout]    --> src/hittable.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         closest = t;
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_to_world`
[INFO] [stdout]    --> src/hittable.rs:320:9
[INFO] [stdout]     |
[INFO] [stdout] 320 |         object_to_world: &Transform,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]    --> src/hittable.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |         ray: &Ray,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cull`
[INFO] [stdout]    --> src/hittable.rs:322:9
[INFO] [stdout]     |
[INFO] [stdout] 322 |         cull: bool,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cull`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]    --> src/hittable.rs:323:9
[INFO] [stdout]     |
[INFO] [stdout] 323 |         t_min: f32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]    --> src/hittable.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |         t_max: f32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]    --> src/hittable.rs:329:51
[INFO] [stdout]     |
[INFO] [stdout] 329 |     fn normal(&self, object_to_world: &Transform, intersection: &Intersection) -> Normal {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_to_world`
[INFO] [stdout]    --> src/hittable.rs:333:18
[INFO] [stdout]     |
[INFO] [stdout] 333 |     fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]    --> src/hittable.rs:333:47
[INFO] [stdout]     |
[INFO] [stdout] 333 |     fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cos_theta`
[INFO] [stdout]   --> src/materials.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let cos_theta = saturate(dot(&dir, &hit_record.normal));
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cos_theta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resources`
[INFO] [stdout]   --> src/texture.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color {
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv`
[INFO] [stdout]   --> src/texture.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color {
[INFO] [stdout]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_uv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/texture.rs:73:69
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color {
[INFO] [stdout]    |                                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let mut lights = Lights::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/default_camera.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct DefaultCamera {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     w: Direction,
[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 `k` is never read
[INFO] [stdout]    --> src/hittable.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub struct XYRect {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 314 |     k: f32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x0`, `x1`, `z0`, `z1`, and `k` are never read
[INFO] [stdout]    --> src/hittable.rs:349:5
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub struct XZRect {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 349 |     x0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 350 |     x1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 351 |     z0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 352 |     z1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 353 |     k: f32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y0`, `y1`, `z0`, `z1`, and `k` are never read
[INFO] [stdout]    --> src/hittable.rs:356:5
[INFO] [stdout]     |
[INFO] [stdout] 355 | pub struct YZRect {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 356 |     y0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 357 |     y1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 358 |     z0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 359 |     z1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 360 |     k: f32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `radius` and `intensity` are never read
[INFO] [stdout]   --> src/light.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct SphericalLight {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 39 |     radius: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     intensity: f32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `albedo` is never read
[INFO] [stdout]   --> src/materials.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MirrorMaterial {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 48 |     albedo: DefaultKey,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `albedo` and `ior` are never read
[INFO] [stdout]   --> src/materials.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct TranslucentMaterial {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 77 |     albedo: DefaultKey,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 78 |     ior: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `image_id` is never read
[INFO] [stdout]   --> src/texture.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct ImageTexture {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 65 |     image_id: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/acceleration_structure.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let geometry = hittables.clone();
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `SlotMap<DefaultKey, Box<dyn hittable::Hittable>>` does not implement `Clone`, so calling `clone` on `&SlotMap<DefaultKey, Box<dyn hittable::Hittable>>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let geometry = hittables.clone();
[INFO] [stdout] 124 +         let geometry = hittables;
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `SlotMap<DefaultKey, Box<dyn hittable::Hittable>>`, implement `Clone` for it
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slotmap-1.0.6/src/basic.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout] 113 + #[derive(Clone)]
[INFO] [stdout] 114 | pub struct SlotMap<K: Key, V> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/disney_brdf_pdf.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     total * 0.5;
[INFO] [stdout]    |     ^^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let _ = total * 0.5;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/acceleration_structure.rs:174:28
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn geometry(&self, index: usize) {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/default_ray_generation_shader.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |                     let mut indirect_light = bounce.color;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/default_ray_generation_shader.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     let mut direct_light = Color::new();
[INFO] [stdout]    |                         ----^^^^^^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lights`
[INFO] [stdout]   --> src/default_ray_generation_shader.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         lights: &Lights,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gloss_brdf`
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let gloss_brdf = evaluate_disney_anisotropic_specular(
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloss_brdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clear_coat_brdf`
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let clear_coat_brdf = evaluate_disney_clear_coat(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_coat_brdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `theta`
[INFO] [stdout]    --> src/disney_brdf_evaluate.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |     let theta = dot(normal, wi).max(0.001);
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/disney_brdf_sample.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let r = rand::float();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cull`
[INFO] [stdout]   --> src/hittable.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         cull: bool,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cull`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]    --> src/hittable.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let duration = start.elapsed();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `closest` is never read
[INFO] [stdout]    --> src/hittable.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         closest = t;
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_to_world`
[INFO] [stdout]    --> src/hittable.rs:320:9
[INFO] [stdout]     |
[INFO] [stdout] 320 |         object_to_world: &Transform,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]    --> src/hittable.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |         ray: &Ray,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cull`
[INFO] [stdout]    --> src/hittable.rs:322:9
[INFO] [stdout]     |
[INFO] [stdout] 322 |         cull: bool,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cull`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]    --> src/hittable.rs:323:9
[INFO] [stdout]     |
[INFO] [stdout] 323 |         t_min: f32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]    --> src/hittable.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |         t_max: f32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]    --> src/hittable.rs:329:51
[INFO] [stdout]     |
[INFO] [stdout] 329 |     fn normal(&self, object_to_world: &Transform, intersection: &Intersection) -> Normal {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_to_world`
[INFO] [stdout]    --> src/hittable.rs:333:18
[INFO] [stdout]     |
[INFO] [stdout] 333 |     fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]    --> src/hittable.rs:333:47
[INFO] [stdout]     |
[INFO] [stdout] 333 |     fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cos_theta`
[INFO] [stdout]   --> src/materials.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let cos_theta = saturate(dot(&dir, &hit_record.normal));
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cos_theta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resources`
[INFO] [stdout]   --> src/texture.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color {
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv`
[INFO] [stdout]   --> src/texture.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color {
[INFO] [stdout]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_uv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/texture.rs:73:69
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color {
[INFO] [stdout]    |                                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let mut lights = Lights::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/default_camera.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct DefaultCamera {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     w: Direction,
[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 `k` is never read
[INFO] [stdout]    --> src/hittable.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub struct XYRect {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 314 |     k: f32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x0`, `x1`, `z0`, `z1`, and `k` are never read
[INFO] [stdout]    --> src/hittable.rs:349:5
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub struct XZRect {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 349 |     x0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 350 |     x1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 351 |     z0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 352 |     z1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 353 |     k: f32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y0`, `y1`, `z0`, `z1`, and `k` are never read
[INFO] [stdout]    --> src/hittable.rs:356:5
[INFO] [stdout]     |
[INFO] [stdout] 355 | pub struct YZRect {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 356 |     y0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 357 |     y1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 358 |     z0: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 359 |     z1: f32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 360 |     k: f32,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `radius` and `intensity` are never read
[INFO] [stdout]   --> src/light.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct SphericalLight {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 39 |     radius: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     intensity: f32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `albedo` is never read
[INFO] [stdout]   --> src/materials.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MirrorMaterial {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 48 |     albedo: DefaultKey,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `albedo` and `ior` are never read
[INFO] [stdout]   --> src/materials.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct TranslucentMaterial {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 77 |     albedo: DefaultKey,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 78 |     ior: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `image_id` is never read
[INFO] [stdout]   --> src/texture.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct ImageTexture {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 65 |     image_id: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/acceleration_structure.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let geometry = hittables.clone();
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `SlotMap<DefaultKey, Box<dyn hittable::Hittable>>` does not implement `Clone`, so calling `clone` on `&SlotMap<DefaultKey, Box<dyn hittable::Hittable>>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let geometry = hittables.clone();
[INFO] [stdout] 124 +         let geometry = hittables;
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `SlotMap<DefaultKey, Box<dyn hittable::Hittable>>`, implement `Clone` for it
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slotmap-1.0.6/src/basic.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout] 113 + #[derive(Clone)]
[INFO] [stdout] 114 | pub struct SlotMap<K: Key, V> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/disney_brdf_pdf.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     total * 0.5;
[INFO] [stdout]    |     ^^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let _ = total * 0.5;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.05s
[INFO] running `Command { std: "docker" "inspect" "1359d21d777c25024d58313d5bb4b49cee5f0ed59fe3082addb192946b2c2368", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1359d21d777c25024d58313d5bb4b49cee5f0ed59fe3082addb192946b2c2368", kill_on_drop: false }`
[INFO] [stdout] 1359d21d777c25024d58313d5bb4b49cee5f0ed59fe3082addb192946b2c2368
