[INFO] fetching crate ray-tracer 0.1.0...
[INFO] checking ray-tracer-0.1.0 against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup
[INFO] extracting crate ray-tracer 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate ray-tracer 0.1.0
[INFO] finished tweaking crates.io crate ray-tracer 0.1.0
[INFO] tweaked toml for crates.io crate ray-tracer 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ray-tracer 0.1.0 on toolchain 09a371361240e42b0d69438fd1179efcf212e576
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 33 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.6.5 (available: v0.10.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "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 rand_xorshift v0.1.1
[INFO] [stderr]   Downloaded rand_core v0.3.1
[INFO] [stderr]   Downloaded rand_pcg v0.1.2
[INFO] [stderr]   Downloaded rand_chacha v0.1.1
[INFO] [stderr]   Downloaded rand_isaac v0.1.1
[INFO] [stderr]   Downloaded rand_hc v0.1.0
[INFO] [stderr]   Downloaded rand_core v0.4.2
[INFO] [stderr]   Downloaded rand v0.6.5
[INFO] [stderr]   Downloaded fuchsia-cprng v0.1.1
[INFO] [stderr]   Downloaded rdrand v0.4.0
[INFO] [stderr]   Downloaded autocfg v0.1.8
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.125
[INFO] [stderr]   Downloaded autocfg v1.5.1
[INFO] [stderr]   Downloaded rand_os v0.1.3
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.125
[INFO] [stderr]   Downloaded cloudabi v0.0.3
[INFO] [stderr]   Downloaded rand_jitter v0.1.4
[INFO] [stderr]   Downloaded bitflags v1.3.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.125
[INFO] [stderr]   Downloaded bumpalo v3.20.3
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.125
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1
[INFO] running `Command { std: "docker" "start" "12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1", 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" "12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1", 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" "12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking ray-tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::ray::Ray`
[INFO] [stdout]  --> src/hit/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ray::Ray;
[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: `crate::actor::Actor`
[INFO] [stdout]  --> src/hit/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::actor::Actor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vec3`
[INFO] [stdout]  --> src/hitable/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vector::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vec3`
[INFO] [stdout]  --> src/hitable/primitive/cube.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vector::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::axis_to_index`
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::utils::axis_to_index;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/scene/mod.rs:63:28
[INFO] [stdout]    |
[INFO] [stdout] 63 |                         if (reflection < max_reflection) {
[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] 63 -                         if (reflection < max_reflection) {
[INFO] [stdout] 63 +                         if reflection < max_reflection  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::u32`
[INFO] [stdout]  --> src/renderer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::u32;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/material/lambertian.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/material/metal.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/material/dielectric.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vec3`
[INFO] [stdout]  --> src/tree/linear.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::vector::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::boundingbox::BoundingBox`
[INFO] [stdout]  --> src/tree/linear.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::boundingbox::BoundingBox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor/mod.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub hitable: Box<Hitable<T>>,
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub hitable: Box<dyn Hitable<T>>,
[INFO] [stdout]   |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor/mod.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: Box<Material<T>>
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: Box<dyn Material<T>>
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/texture/checker.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     texture0: Box<Texture<T>>,
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     texture0: Box<dyn Texture<T>>,
[INFO] [stdout]   |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/texture/checker.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     texture1: Box<Texture<T>>,
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     texture1: Box<dyn Texture<T>>,
[INFO] [stdout]   |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/renderer/mod.rs:52:82
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn render_pixel<T>(&self, i: usize, j: usize, scene: &Scene<T>, camera: &Camera<T>) -> Vec3<T>
[INFO] [stdout]    |                                                                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn render_pixel<T>(&self, i: usize, j: usize, scene: &Scene<T>, camera: &dyn Camera<T>) -> Vec3<T>
[INFO] [stdout]    |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/renderer/mod.rs:84:56
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn render<T>(&self, scene: &Scene<T>, camera: &Camera<T>) -> Image<T>
[INFO] [stdout]    |                                                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn render<T>(&self, scene: &Scene<T>, camera: &dyn Camera<T>) -> Image<T>
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/renderer/mod.rs:100:55
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn get_ray<T>(&self, i: usize, j: usize, camera: &Camera<T>, two: T) -> Ray<T>
[INFO] [stdout]     |                                                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn get_ray<T>(&self, i: usize, j: usize, camera: &dyn Camera<T>, two: T) -> Ray<T>
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/plain.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture: Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture: Box<dyn Texture<T>>) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/lambertian.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<Texture<T>>, dimming: T) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<dyn Texture<T>>, dimming: T) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/metal.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<Texture<T>>, fuzziness: T) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<dyn Texture<T>>, fuzziness: T) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/dielectric.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<Texture<T>>, n: T) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<dyn Texture<T>>, n: T) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ray::Ray`
[INFO] [stdout]  --> src/hit/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ray::Ray;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/texture/checker.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<Texture<T>>, texture1:  Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<dyn Texture<T>>, texture1:  Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::actor::Actor`
[INFO] [stdout]  --> src/hit/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::actor::Actor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vec3`
[INFO] [stdout]  --> src/hitable/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vector::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/texture/checker.rs:17:59
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<Texture<T>>, texture1:  Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<Texture<T>>, texture1:  Box<dyn Texture<T>>) -> Self {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vec3`
[INFO] [stdout]  --> src/hitable/primitive/cube.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vector::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::axis_to_index`
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::utils::axis_to_index;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/scene/mod.rs:63:28
[INFO] [stdout]    |
[INFO] [stdout] 63 |                         if (reflection < max_reflection) {
[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] 63 -                         if (reflection < max_reflection) {
[INFO] [stdout] 63 +                         if reflection < max_reflection  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::u32`
[INFO] [stdout]  --> src/renderer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::u32;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/material/lambertian.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/material/metal.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/material/dielectric.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vec3`
[INFO] [stdout]  --> src/tree/linear.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::vector::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::boundingbox::BoundingBox`
[INFO] [stdout]  --> src/tree/linear.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::boundingbox::BoundingBox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor/mod.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub hitable: Box<Hitable<T>>,
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub hitable: Box<dyn Hitable<T>>,
[INFO] [stdout]   |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor/mod.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: Box<Material<T>>
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: Box<dyn Material<T>>
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/texture/checker.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     texture0: Box<Texture<T>>,
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     texture0: Box<dyn Texture<T>>,
[INFO] [stdout]   |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/texture/checker.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     texture1: Box<Texture<T>>,
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     texture1: Box<dyn Texture<T>>,
[INFO] [stdout]   |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/renderer/mod.rs:52:82
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn render_pixel<T>(&self, i: usize, j: usize, scene: &Scene<T>, camera: &Camera<T>) -> Vec3<T>
[INFO] [stdout]    |                                                                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn render_pixel<T>(&self, i: usize, j: usize, scene: &Scene<T>, camera: &dyn Camera<T>) -> Vec3<T>
[INFO] [stdout]    |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/renderer/mod.rs:84:56
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn render<T>(&self, scene: &Scene<T>, camera: &Camera<T>) -> Image<T>
[INFO] [stdout]    |                                                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn render<T>(&self, scene: &Scene<T>, camera: &dyn Camera<T>) -> Image<T>
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/renderer/mod.rs:100:55
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn get_ray<T>(&self, i: usize, j: usize, camera: &Camera<T>, two: T) -> Ray<T>
[INFO] [stdout]     |                                                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn get_ray<T>(&self, i: usize, j: usize, camera: &dyn Camera<T>, two: T) -> Ray<T>
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/plain.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture: Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture: Box<dyn Texture<T>>) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/lambertian.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<Texture<T>>, dimming: T) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<dyn Texture<T>>, dimming: T) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/metal.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<Texture<T>>, fuzziness: T) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<dyn Texture<T>>, fuzziness: T) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material/dielectric.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<Texture<T>>, n: T) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(texture: Box<dyn Texture<T>>, n: T) -> Self {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/texture/checker.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<Texture<T>>, texture1:  Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<dyn Texture<T>>, texture1:  Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/texture/checker.rs:17:59
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<Texture<T>>, texture1:  Box<Texture<T>>) -> Self {
[INFO] [stdout]    |                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(texture0:  Box<Texture<T>>, texture1:  Box<dyn Texture<T>>) -> Self {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:52:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let face : Box<Hitable<T>> = Box::new(Translation::new(face, translation));
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let face : Box<dyn Hitable<T>> = Box::new(Translation::new(face, translation));
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:52:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let face : Box<Hitable<T>> = Box::new(Translation::new(face, translation));
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let face : Box<dyn Hitable<T>> = Box::new(Translation::new(face, translation));
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hitable::Hitable`
[INFO] [stdout]  --> src/renderer/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::hitable::Hitable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two`
[INFO] [stdout]    --> src/renderer/mod.rs:100:66
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn get_ray<T>(&self, i: usize, j: usize, camera: &Camera<T>, two: T) -> Ray<T>
[INFO] [stdout]     |                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_two`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `incident`
[INFO] [stdout]   --> src/material/lambertian.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn scatter(&self, incident: &Ray<T>, hit: &Hit<T>) -> Scatter<T> {
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two`
[INFO] [stdout]   --> src/texture/checker.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let two = T::from(2.0).unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/hitable/primitive/rectangle.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Rectangle<T>
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     width: T,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 14 |     width_axis: Axis,
[INFO] [stdout] 15 |     height: T,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `length`, `width`, and `height` are never read
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Cube<T>
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     length: T,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     width: T,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     height: T,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hitable::Hitable`
[INFO] [stdout]  --> src/renderer/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::hitable::Hitable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit`
[INFO] [stdout]    --> src/hitable/primitive/sphere.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 |             Some(hit) => {
[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: `hit`
[INFO] [stdout]    --> src/hitable/primitive/sphere.rs:157:18
[INFO] [stdout]     |
[INFO] [stdout] 157 |             Some(hit) => {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_hit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit`
[INFO] [stdout]    --> src/hitable/primitive/rectangle.rs:206:21
[INFO] [stdout]     |
[INFO] [stdout] 206 |         if let Some(hit) = rectangle.hit(&ray, 0.0, 100.0) {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_hit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cube`
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let cube = Cube::<f64>::new(length, width, height);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cube`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]    --> src/camera/perspective.rs:219:13
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let ray = camera.get_ray(-1.0, 0.0);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two`
[INFO] [stdout]    --> src/renderer/mod.rs:100:66
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn get_ray<T>(&self, i: usize, j: usize, camera: &Camera<T>, two: T) -> Ray<T>
[INFO] [stdout]     |                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `incident`
[INFO] [stdout]   --> src/material/lambertian.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn scatter(&self, incident: &Ray<T>, hit: &Hit<T>) -> Scatter<T> {
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/boundingbox/mod.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |             let mut direction = Vec3::new();
[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/boundingbox/mod.rs:247:17
[INFO] [stdout]     |
[INFO] [stdout] 247 |             let mut direction = Vec3::new();
[INFO] [stdout]     |                 ----^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two`
[INFO] [stdout]   --> src/texture/checker.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let two = T::from(2.0).unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/hitable/primitive/rectangle.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Rectangle<T>
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     width: T,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 14 |     width_axis: Axis,
[INFO] [stdout] 15 |     height: T,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `length`, `width`, and `height` are never read
[INFO] [stdout]   --> src/hitable/primitive/cube.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Cube<T>
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     length: T,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     width: T,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     height: T,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> tests/main.rs:516:31
[INFO] [stdout]     |
[INFO] [stdout] 516 |             let hitable : Box<Hitable<f64>> = if hitable_select < SPHERE_PROBABILITY {
[INFO] [stdout]     |                               ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 516 |             let hitable : Box<dyn Hitable<f64>> = if hitable_select < SPHERE_PROBABILITY {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> tests/main.rs:528:32
[INFO] [stdout]     |
[INFO] [stdout] 528 |             let material : Box<Material<f64>> = if material_select < LAMBERTIAN_PROBABILITY {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 528 |             let material : Box<dyn Material<f64>> = if material_select < LAMBERTIAN_PROBABILITY {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> tests/main.rs:667:36
[INFO] [stdout]     |
[INFO] [stdout] 667 |                 let material : Box<Material<f64>> = Box::new(MetalMaterial::new(texture, 0.0));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 667 |                 let material : Box<dyn Material<f64>> = Box::new(MetalMaterial::new(texture, 0.0));
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width_axis`
[INFO] [stdout]    --> tests/main.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let width_axis = Axis::X;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_axis`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height_axis`
[INFO] [stdout]    --> tests/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let height_axis = Axis::Y;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_height_axis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actor`
[INFO] [stdout]    --> tests/main.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let actor = Actor::<f64> { hitable: rectangle, material};
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hitable`
[INFO] [stdout]    --> tests/main.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let hitable = Box::new(Translation::new(hitable, Vec3::from_array([0.0, width / 2.0, 0.0])));
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hitable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MULT` is never used
[INFO] [stdout]   --> tests/main.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const MULT : usize = 40;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAMPLING` is never used
[INFO] [stdout]   --> tests/main.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const SAMPLING : usize = 4;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REFLECTIONS` is never used
[INFO] [stdout]   --> tests/main.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const REFLECTIONS : usize = 8;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.67s
[INFO] running `Command { std: "docker" "inspect" "12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1", kill_on_drop: false }`
[INFO] [stdout] 12e3ddfcc5b2828b36e02e23ac69a15a0f6e7e0c04a4c44e722bdc000b5d33a1
