[INFO] cloning repository https://github.com/supermuumi/rs-tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/supermuumi/rs-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsupermuumi%2Frs-tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsupermuumi%2Frs-tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbead268f98a257fb410c529bf7cba147e2d9fc3
[INFO] checking supermuumi/rs-tracer against master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsupermuumi%2Frs-tracer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/supermuumi/rs-tracer on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/supermuumi/rs-tracer
[INFO] finished tweaking git repo https://github.com/supermuumi/rs-tracer
[INFO] tweaked toml for git repo https://github.com/supermuumi/rs-tracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/supermuumi/rs-tracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded structopt-derive v0.2.8
[INFO] [stderr]   Downloaded structopt v0.2.8
[INFO] [stderr]   Downloaded syn v0.13.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0931e6d606846aa26db914dd10e3836b25a62125e80e38ff18b555b8a2fd5175
[INFO] running `Command { std: "docker" "start" "-a" "0931e6d606846aa26db914dd10e3836b25a62125e80e38ff18b555b8a2fd5175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0931e6d606846aa26db914dd10e3836b25a62125e80e38ff18b555b8a2fd5175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0931e6d606846aa26db914dd10e3836b25a62125e80e38ff18b555b8a2fd5175", kill_on_drop: false }`
[INFO] [stdout] 0931e6d606846aa26db914dd10e3836b25a62125e80e38ff18b555b8a2fd5175
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 200f0a46e455a4007bc4ae95735482edd3fe376df71d2327d82b637ea9b05bb3
[INFO] running `Command { std: "docker" "start" "-a" "200f0a46e455a4007bc4ae95735482edd3fe376df71d2327d82b637ea9b05bb3", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition
[INFO] [stderr]     Checking libc v0.2.40
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]     Checking num-traits v0.2.2
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking adler32 v1.0.2
[INFO] [stderr]     Checking byteorder v1.2.2
[INFO] [stderr]    Compiling proc-macro2 v0.3.8
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]     Checking bitflags v1.0.2
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking deflate v0.7.18
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking textwrap v0.9.0
[INFO] [stderr]     Checking inflate v0.4.2
[INFO] [stderr]    Compiling quote v0.5.2
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling syn v0.13.4
[INFO] [stderr]     Checking atty v0.2.10
[INFO] [stderr]     Checking num-integer v0.1.36
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]    Compiling syn v0.12.15
[INFO] [stderr]     Checking strsim v0.7.0
[INFO] [stderr]     Checking num-iter v0.1.35
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking vec_map v0.8.0
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking gif v0.10.0
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking clap v2.31.2
[INFO] [stderr]     Checking time v0.1.39
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking chrono v0.4.2
[INFO] [stderr]     Checking rayon v1.0.1
[INFO] [stderr]    Compiling structopt-derive v0.2.8
[INFO] [stderr]    Compiling num-derive v0.2.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.14
[INFO] [stderr]     Checking image v0.19.0
[INFO] [stderr]     Checking structopt v0.2.8
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/vector3.rs:53:3
[INFO] [stdout]    |
[INFO] [stdout] 53 |         (self / n)
[INFO] [stdout]    |         ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         (self / n)
[INFO] [stdout] 53 +         self / n
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]  --> src/camera.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std;
[INFO] [stdout]   |     ^^^ the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/vector3.rs:53:3
[INFO] [stdout]    |
[INFO] [stdout] 53 |         (self / n)
[INFO] [stdout]    |         ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         (self / n)
[INFO] [stdout] 53 +         self / n
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]  --> src/camera.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std;
[INFO] [stdout]   |     ^^^ the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hitable.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub list:Vec<Box<Hitable>>,
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub list:Vec<Box<dyn Hitable>>,
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:42:76
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn get_ray_color(world:&HitableList, r:Ray, recursions_left:u32, rng: &mut Rng) -> Vec3 {
[INFO] [stdout]    |                                                                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn get_ray_color(world:&HitableList, r:Ray, recursions_left:u32, rng: &mut dyn Rng) -> Vec3 {
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut Rng) -> Vec<Box<Hitable>> {
[INFO] [stdout]    |                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut dyn Rng) -> Vec<Box<Hitable>> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:43
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut Rng) -> Vec<Box<Hitable>> {
[INFO] [stdout]    |                                           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut Rng) -> Vec<Box<dyn Hitable>> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hitable.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub list:Vec<Box<Hitable>>,
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub list:Vec<Box<dyn Hitable>>,
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/vector3.rs:153:44
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn get_random_in_unit_sphere(rng: &mut Rng) -> Vec3 {
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn get_random_in_unit_sphere(rng: &mut dyn Rng) -> Vec3 {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/vector3.rs:162:42
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn get_random_in_unit_disc(rng: &mut Rng) -> Vec3 {
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn get_random_in_unit_disc(rng: &mut dyn Rng) -> Vec3 {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/camera.rs:52:47
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_ray(&self, s:f32, t:f32, rng:&mut Rng) -> Ray {
[INFO] [stdout]    |                                                  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_ray(&self, s:f32, t:f32, rng:&mut dyn Rng) -> Ray {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:42:76
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn get_ray_color(world:&HitableList, r:Ray, recursions_left:u32, rng: &mut Rng) -> Vec3 {
[INFO] [stdout]    |                                                                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn get_ray_color(world:&HitableList, r:Ray, recursions_left:u32, rng: &mut dyn Rng) -> Vec3 {
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:26:70
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn scatter_lambertian(albedo:Vec3, _:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn scatter_lambertian(albedo:Vec3, _:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:31:85
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn scatter_metal(albedo:Vec3, fuzziness:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn scatter_metal(albedo:Vec3, fuzziness:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut Rng) -> Vec<Box<Hitable>> {
[INFO] [stdout]    |                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut dyn Rng) -> Vec<Box<Hitable>> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:45:75
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn scatter_dielectric(ref_idx:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {        
[INFO] [stdout]    |                                                                              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn scatter_dielectric(ref_idx:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {        
[INFO] [stdout]    |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:43
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut Rng) -> Vec<Box<Hitable>> {
[INFO] [stdout]    |                                           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn create_scene(rng: &mut Rng) -> Vec<Box<dyn Hitable>> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn scatter(&self, ray_in:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn scatter(&self, ray_in:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/vector3.rs:153:44
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn get_random_in_unit_sphere(rng: &mut Rng) -> Vec3 {
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn get_random_in_unit_sphere(rng: &mut dyn Rng) -> Vec3 {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/vector3.rs:162:42
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn get_random_in_unit_disc(rng: &mut Rng) -> Vec3 {
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn get_random_in_unit_disc(rng: &mut dyn Rng) -> Vec3 {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/camera.rs:52:47
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_ray(&self, s:f32, t:f32, rng:&mut Rng) -> Ray {
[INFO] [stdout]    |                                                  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_ray(&self, s:f32, t:f32, rng:&mut dyn Rng) -> Ray {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:26:70
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn scatter_lambertian(albedo:Vec3, _:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn scatter_lambertian(albedo:Vec3, _:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:31:85
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn scatter_metal(albedo:Vec3, fuzziness:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn scatter_metal(albedo:Vec3, fuzziness:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:45:75
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn scatter_dielectric(ref_idx:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {        
[INFO] [stdout]    |                                                                              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn scatter_dielectric(ref_idx:f32, ray_in:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {        
[INFO] [stdout]    |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/material.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn scatter(&self, ray_in:&Ray, rec:&HitRecord, rng:&mut Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn scatter(&self, ray_in:&Ray, rec:&HitRecord, rng:&mut dyn Rng) -> Option<(Vec3, Ray)> {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut obj_list: Vec<Box<Hitable>> = Vec::with_capacity(500);
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut obj_list: Vec<Box<dyn Hitable>> = Vec::with_capacity(500);
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut obj_list: Vec<Box<Hitable>> = Vec::with_capacity(500);
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut obj_list: Vec<Box<dyn Hitable>> = Vec::with_capacity(500);
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `outward_normal` is never read
[INFO] [stdout]   --> src/material.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut outward_normal = Vec3::one();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cosine` is never read
[INFO] [stdout]   --> src/material.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut cosine = 0.0;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `outward_normal` is never read
[INFO] [stdout]   --> src/material.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut outward_normal = Vec3::one();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cosine` is never read
[INFO] [stdout]   --> src/material.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut cosine = 0.0;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `bounding_box` is never used
[INFO] [stdout]   --> src/hitable.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Hitable {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] 17 |     fn hit(&self, r:&Ray, t_min:f32, t_max:f32) -> Option<HitRecord>;
[INFO] [stdout] 18 |     fn bounding_box(&self, t0:f32, t1:f32) -> Option<AABB>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `bounding_box` is never used
[INFO] [stdout]   --> src/hitable.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Hitable {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] 17 |     fn hit(&self, r:&Ray, t_min:f32, t_max:f32) -> Option<HitRecord>;
[INFO] [stdout] 18 |     fn bounding_box(&self, t0:f32, t1:f32) -> Option<AABB>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15, syn v0.13.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "200f0a46e455a4007bc4ae95735482edd3fe376df71d2327d82b637ea9b05bb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "200f0a46e455a4007bc4ae95735482edd3fe376df71d2327d82b637ea9b05bb3", kill_on_drop: false }`
[INFO] [stdout] 200f0a46e455a4007bc4ae95735482edd3fe376df71d2327d82b637ea9b05bb3
