[INFO] cloning repository https://github.com/Wafelack/raytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wafelack/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fraytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fraytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f40c6a9ede0b44af85ba6e3a56c21368154c727
[INFO] checking Wafelack/raytracer against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fraytracer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Wafelack/raytracer
[INFO] finished tweaking git repo https://github.com/Wafelack/raytracer
[INFO] tweaked toml for git repo https://github.com/Wafelack/raytracer written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Wafelack/raytracer on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Wafelack/raytracer 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded stb_image v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04ee9f25ec87343c5bea892a54c8ac9e2e19a2981cb62112d0202ed4576df9d2
[INFO] running `Command { std: "docker" "start" "-a" "04ee9f25ec87343c5bea892a54c8ac9e2e19a2981cb62112d0202ed4576df9d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04ee9f25ec87343c5bea892a54c8ac9e2e19a2981cb62112d0202ed4576df9d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04ee9f25ec87343c5bea892a54c8ac9e2e19a2981cb62112d0202ed4576df9d2", kill_on_drop: false }`
[INFO] [stdout] 04ee9f25ec87343c5bea892a54c8ac9e2e19a2981cb62112d0202ed4576df9d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5dc7c31301168903cbf7ebc49782deef46b64be2a309eb2249e17e3b8ba4bd6
[INFO] running `Command { std: "docker" "start" "-a" "d5dc7c31301168903cbf7ebc49782deef46b64be2a309eb2249e17e3b8ba4bd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling const_fn v0.4.4
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling stb_image v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `point3` should have an upper camel case name
[INFO] [stdout]    --> src/vec3.rs:188:10
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub type point3 = Vec3;
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to upper camel case: `Point3`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]    --> src/vec3.rs:189:10
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub type color = Vec3;
[INFO] [stdout]     |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `point3` should have an upper camel case name
[INFO] [stdout]    --> src/vec3.rs:188:10
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub type point3 = Vec3;
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to upper camel case: `Point3`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]    --> src/vec3.rs:189:10
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub type color = Vec3;
[INFO] [stdout]     |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/aarect.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/aarect.rs:37:38
[INFO] [stdout]    |
[INFO] [stdout] 37 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/aarect.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]    --> src/aarect.rs:102:38
[INFO] [stdout]     |
[INFO] [stdout] 102 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/aarect.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 167 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]    --> src/aarect.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/bvh.rs:79:33
[INFO] [stdout]    |
[INFO] [stdout] 79 |   fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/bvh.rs:79:45
[INFO] [stdout]    |
[INFO] [stdout] 79 |   fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `focal_length`
[INFO] [stdout]   --> src/camera.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let focal_length = 1.;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/material/material.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn emitted(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/material/material.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn emitted(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/material/material.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn emitted(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_in`
[INFO] [stdout]    --> src/material/material.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         r_in: Ray,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]    --> src/material/material.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |         rec: HitRecord,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attenuation`
[INFO] [stdout]    --> src/material/material.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         attenuation: &mut color,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scattered`
[INFO] [stdout]    --> src/material/material.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |         scattered: &mut Ray,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/objects/hittable.rs:44:26
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]   --> src/objects/hittable.rs:44:35
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[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/objects/hittable.rs:44:47
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]   --> src/objects/hittable.rs:44:59
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[INFO] [stdout]    |                                                           ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/objects/hittable.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/objects/hittable.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_box`
[INFO] [stdout]   --> src/objects/hittable.rs:47:59
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_box`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/objects/hittable.rs:140:28
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]    --> src/objects/hittable.rs:140:40
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/objects/moving_sphere.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut front_face = false;
[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: `front_face`
[INFO] [stdout]   --> src/objects/moving_sphere.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut front_face = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/objects/sphere.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut front_face = false;
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `front_face`
[INFO] [stdout]   --> src/objects/sphere.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut front_face = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/objects/sphere.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/objects/sphere.rs:62:47
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/aarect.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/aarect.rs:37:38
[INFO] [stdout]    |
[INFO] [stdout] 37 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/aarect.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]    --> src/aarect.rs:102:38
[INFO] [stdout]     |
[INFO] [stdout] 102 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/aarect.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 167 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]    --> src/aarect.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 |   fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/texture.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/texture.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/texture.rs:30:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/texture.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/texture.rs:85:27
[INFO] [stdout]    |
[INFO] [stdout] 85 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/texture.rs:141:35
[INFO] [stdout]     |
[INFO] [stdout] 141 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/bvh.rs:79:33
[INFO] [stdout]    |
[INFO] [stdout] 79 |   fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/bvh.rs:79:45
[INFO] [stdout]    |
[INFO] [stdout] 79 |   fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `focal_length`
[INFO] [stdout]   --> src/camera.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let focal_length = 1.;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/main.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     for j in 0..ns {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/material/material.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn emitted(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/material/material.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn emitted(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/material/material.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn emitted(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sphere_material` is never read
[INFO] [stdout]    --> src/main.rs:387:21
[INFO] [stdout]     |
[INFO] [stdout] 387 |                     Arc::new(Metal::from(color::new(), 0.0));
[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: `r_in`
[INFO] [stdout]    --> src/material/material.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         r_in: Ray,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]    --> src/material/material.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |         rec: HitRecord,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attenuation`
[INFO] [stdout]    --> src/material/material.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         attenuation: &mut color,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scattered`
[INFO] [stdout]    --> src/material/material.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |         scattered: &mut Ray,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:457:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let mut vup = Vec3::from(0., 1., 0.);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:458:9
[INFO] [stdout]     |
[INFO] [stdout] 458 |     let mut dist_to_focus: f32 = 10.0;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:459:9
[INFO] [stdout]     |
[INFO] [stdout] 459 |     let mut aperture: f32 = 0.0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/objects/hittable.rs:44:26
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]   --> src/objects/hittable.rs:44:35
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[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/objects/hittable.rs:44:47
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]   --> src/objects/hittable.rs:44:59
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn hit<'a>(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>) -> bool {
[INFO] [stdout]    |                                                           ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/objects/hittable.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/objects/hittable.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_box`
[INFO] [stdout]   --> src/objects/hittable.rs:47:59
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_box`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/camera.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     w: Vec3,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_color` is never used
[INFO] [stdout]  --> src/colors.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn write_color(pixel_color: color, samples_per_pixel: i32) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `box_min` and `box_max` are never read
[INFO] [stdout]  --> src/material/boxx.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Boxx {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 8 |   box_min: point3,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 9 |   box_max: point3,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `point_count` is never read
[INFO] [stdout]  --> src/perlin.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Perlin {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 4 |   point_count: usize,
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/objects/hittable.rs:140:28
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]    --> src/objects/hittable.rs:140:40
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn bounding_box(&self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]     |                                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/bvh.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | /       &objects[start..end].sort_unstable_by(|a, b| {
[INFO] [stdout] 49 | |         if comparator(&**a, &**b) {
[INFO] [stdout] 50 | |           std::cmp::Ordering::Greater
[INFO] [stdout] 51 | |         } else {
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |       });
[INFO] [stdout]    | |________^ the borrow 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] 48 |       let _ = &objects[start..end].sort_unstable_by(|a, b| {
[INFO] [stdout]    |       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/objects/moving_sphere.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut front_face = false;
[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: `front_face`
[INFO] [stdout]   --> src/objects/moving_sphere.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut front_face = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/objects/sphere.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut front_face = false;
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `front_face`
[INFO] [stdout]   --> src/objects/sphere.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut front_face = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]   --> src/objects/sphere.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time1`
[INFO] [stdout]   --> src/objects/sphere.rs:62:47
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn bounding_box<'a>(&'a self, time0: f32, time1: f32, output_box: &mut Aabb) -> bool {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/texture.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/texture.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/texture.rs:30:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/texture.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/texture.rs:85:27
[INFO] [stdout]    |
[INFO] [stdout] 85 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/texture.rs:141:35
[INFO] [stdout]     |
[INFO] [stdout] 141 |   fn value(&self, u: f32, v: f32, p: &point3) -> color {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/main.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     for j in 0..ns {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sphere_material` is never read
[INFO] [stdout]    --> src/main.rs:387:21
[INFO] [stdout]     |
[INFO] [stdout] 387 |                     Arc::new(Metal::from(color::new(), 0.0));
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:457:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let mut vup = Vec3::from(0., 1., 0.);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:458:9
[INFO] [stdout]     |
[INFO] [stdout] 458 |     let mut dist_to_focus: f32 = 10.0;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:459:9
[INFO] [stdout]     |
[INFO] [stdout] 459 |     let mut aperture: f32 = 0.0;
[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/camera.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     w: Vec3,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_color` is never used
[INFO] [stdout]  --> src/colors.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn write_color(pixel_color: color, samples_per_pixel: i32) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `box_min` and `box_max` are never read
[INFO] [stdout]  --> src/material/boxx.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Boxx {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 8 |   box_min: point3,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 9 |   box_max: point3,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `point_count` is never read
[INFO] [stdout]  --> src/perlin.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Perlin {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 4 |   point_count: usize,
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/bvh.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | /       &objects[start..end].sort_unstable_by(|a, b| {
[INFO] [stdout] 49 | |         if comparator(&**a, &**b) {
[INFO] [stdout] 50 | |           std::cmp::Ordering::Greater
[INFO] [stdout] 51 | |         } else {
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |       });
[INFO] [stdout]    | |________^ the borrow 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] 48 |       let _ = &objects[start..end].sort_unstable_by(|a, b| {
[INFO] [stdout]    |       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s
[INFO] running `Command { std: "docker" "inspect" "d5dc7c31301168903cbf7ebc49782deef46b64be2a309eb2249e17e3b8ba4bd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5dc7c31301168903cbf7ebc49782deef46b64be2a309eb2249e17e3b8ba4bd6", kill_on_drop: false }`
[INFO] [stdout] d5dc7c31301168903cbf7ebc49782deef46b64be2a309eb2249e17e3b8ba4bd6
