[INFO] cloning repository https://github.com/robertf224/ray-tracing-in-a-weekend-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertf224/ray-tracing-in-a-weekend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertf224%2Fray-tracing-in-a-weekend-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertf224%2Fray-tracing-in-a-weekend-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18e7c957056590a495a8d83f853d49f6acc796a8
[INFO] checking robertf224/ray-tracing-in-a-weekend-rust against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertf224%2Fray-tracing-in-a-weekend-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust
[INFO] finished tweaking git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust
[INFO] tweaked toml for git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a
[INFO] running `Command { std: "docker" "start" "9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a", 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" "9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a", 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" "9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling autocfg v0.1.1
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling memchr v2.1.2
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking smallvec v0.6.7
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling regex v1.1.0
[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]     Checking regex-syntax v0.6.4
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.3
[INFO] [stderr]     Checking rand_os v0.1.0
[INFO] [stderr]     Checking clicolors-control v1.0.0
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]     Checking aho-corasick v0.6.9
[INFO] [stderr]     Checking number_prefix v0.2.8
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking console v0.7.2
[INFO] [stderr]     Checking indicatif v0.11.0
[INFO] [stderr]     Checking ray-tracing-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/hitable.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: &'a Box<Material>
[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] 9 |     pub material: &'a Box<dyn Material>
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/sphere.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: Box<Material>
[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>
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hitable.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn closest(objects: &Vec<Box<Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[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] 16 | pub fn closest(objects: &Vec<Box<dyn Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn color(ray: Ray, world: &Vec<Box<Hitable>>, depth: u32) -> Vec3 {
[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] 64 | fn color(ray: Ray, world: &Vec<Box<dyn Hitable>>, depth: u32) -> Vec3 {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn random_world() -> Vec<Box<Hitable>> {
[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] 89 | fn random_world() -> Vec<Box<dyn Hitable>> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sphere.rs:13:57
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(center: Vec3, radius: f64, material: Box<Material>) -> Sphere {
[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] 13 |     pub fn new(center: Vec3, radius: f64, material: Box<dyn Material>) -> Sphere {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let mut world: Vec<Box<Hitable>> = vec![Box::new(ground)];
[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] 91 |     let mut world: Vec<Box<dyn Hitable>> = vec![Box::new(ground)];
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:102:31
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let material: Box<Material>;
[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] 102 |             let material: Box<dyn Material>;
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hitable.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit>;
[INFO] [stdout]    |            ^^^^^ the lifetime is elided here                  ^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit<'_>>;
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hitable.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn closest(objects: &Vec<Box<Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^ the lifetime is elided here                  ^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn closest(objects: &Vec<Box<Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sphere.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[INFO] [stdout]    |            ^^^^^ the lifetime is elided here                  ^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/materials/utils.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let N = unit_normal;
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/materials/utils.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let N = unit_normal;
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `R0` should have a snake case name
[INFO] [stdout]   --> src/materials/utils.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let R0 = ((n - np) / (n + np)).powi(2);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `r0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/hitable.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: &'a Box<Material>
[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] 9 |     pub material: &'a Box<dyn Material>
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/sphere.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub material: Box<Material>
[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>
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hitable.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn closest(objects: &Vec<Box<Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[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] 16 | pub fn closest(objects: &Vec<Box<dyn Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn color(ray: Ray, world: &Vec<Box<Hitable>>, depth: u32) -> Vec3 {
[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] 64 | fn color(ray: Ray, world: &Vec<Box<dyn Hitable>>, depth: u32) -> Vec3 {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn random_world() -> Vec<Box<Hitable>> {
[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] 89 | fn random_world() -> Vec<Box<dyn Hitable>> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sphere.rs:13:57
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(center: Vec3, radius: f64, material: Box<Material>) -> Sphere {
[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] 13 |     pub fn new(center: Vec3, radius: f64, material: Box<dyn Material>) -> Sphere {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let mut world: Vec<Box<Hitable>> = vec![Box::new(ground)];
[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] 91 |     let mut world: Vec<Box<dyn Hitable>> = vec![Box::new(ground)];
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:102:31
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let material: Box<Material>;
[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] 102 |             let material: Box<dyn Material>;
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hitable.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit>;
[INFO] [stdout]    |            ^^^^^ the lifetime is elided here                  ^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit<'_>>;
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hitable.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn closest(objects: &Vec<Box<Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^ the lifetime is elided here                  ^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn closest(objects: &Vec<Box<Hitable>>, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sphere.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit> {
[INFO] [stdout]    |            ^^^^^ the lifetime is elided here                  ^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/materials/utils.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let N = unit_normal;
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/materials/utils.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let N = unit_normal;
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `R0` should have a snake case name
[INFO] [stdout]   --> src/materials/utils.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let R0 = ((n - np) / (n + np)).powi(2);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `r0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.93s
[INFO] running `Command { std: "docker" "inspect" "9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a", kill_on_drop: false }`
[INFO] [stdout] 9a5736d99b782533fd34a69891bf8c263c7dd5ab6e253f99c3c4aedd71e6972a
