[INFO] cloning repository https://github.com/tandalesc/rust-ray-tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tandalesc/rust-ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b27ecb44e5d39a4591abc32e50f3e743dd8f339
[INFO] checking tandalesc/rust-ray-tracer against master#4008bbdf34b583ce44a467043aae3703afc0a76f for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tandalesc/rust-ray-tracer
[INFO] finished tweaking git repo https://github.com/tandalesc/rust-ray-tracer
[INFO] tweaked toml for git repo https://github.com/tandalesc/rust-ray-tracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tandalesc/rust-ray-tracer on toolchain 4008bbdf34b583ce44a467043aae3703afc0a76f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tandalesc/rust-ray-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" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "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 safe-transmute v0.10.1
[INFO] [stderr]   Downloaded png v0.14.0
[INFO] [stderr]   Downloaded num-derive v0.2.4
[INFO] [stderr]   Downloaded image v0.21.0
[INFO] [stderr]   Downloaded num_cpus v1.9.0
[INFO] [stderr]   Downloaded gif v0.10.1
[INFO] [stderr]   Downloaded approx v0.3.1
[INFO] [stderr]   Downloaded inflate v0.4.4
[INFO] [stderr]   Downloaded num-rational v0.2.1
[INFO] [stderr]   Downloaded cgmath v0.17.0
[INFO] [stderr]   Downloaded deflate v0.7.19
[INFO] [stderr]   Downloaded rayon v1.0.3
[INFO] [stderr]   Downloaded tiff v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7
[INFO] running `Command { std: "docker" "start" "0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7", 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" "0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7", 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" "0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking approx v0.3.1
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking safe-transmute v0.10.1
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking image v0.21.0
[INFO] [stderr]     Checking rust-ray-tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub object: &'a Object,
[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] 11 |     pub object: &'a dyn Object,
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub objects: Vec<&'a Object>,
[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] 26 |     pub objects: Vec<&'a dyn Object>,
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub lights: Vec<&'a Light>,
[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] 27 |     pub lights: Vec<&'a dyn Light>,
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:14:47
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> {
[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] 14 |     pub fn new<'b>(distance: f64, object: &'b dyn Object) -> Intersection<'b> {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/scene.rs:100:87
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color {
[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 shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &dyn Object) -> Color {
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub object: &'a Object,
[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] 11 |     pub object: &'a dyn Object,
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub objects: Vec<&'a Object>,
[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] 26 |     pub objects: Vec<&'a dyn Object>,
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub lights: Vec<&'a Light>,
[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] 27 |     pub lights: Vec<&'a dyn Light>,
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Point` is never used
[INFO] [stdout]  --> src/primitives.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type Point = Vector3<f64>;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Direction` is never used
[INFO] [stdout]   --> src/primitives.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type Direction = Vector3<f64>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Renderable` is never used
[INFO] [stdout]   --> src/primitives.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Renderable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Intersectable` is never used
[INFO] [stdout]   --> src/primitives.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait Intersectable {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Object` is never used
[INFO] [stdout]   --> src/primitives.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait Object: Renderable + Intersectable {}
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SurfaceType` is never used
[INFO] [stdout]   --> src/primitives.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum SurfaceType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Material` is never constructed
[INFO] [stdout]   --> src/primitives.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Material {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]  --> src/ray.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Ray {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `create_prime`, `create_reflection`, and `create_transmission` are never used
[INFO] [stdout]   --> src/ray.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Ray {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] 12 |     pub fn create_prime(x: u32, y: u32, scene: &Scene) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn create_reflection(surface_normal: Direction, direction: Direction, hit_point: Point, bias: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn create_transmission(surface_normal: Direction, direction: Direction, hit_point: Point, bias: f64, index: f64) -> Option<R...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Intersection` is never constructed
[INFO] [stdout]  --> src/scene.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Intersection<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/scene.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> Intersection<'a> {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Scene` is never constructed
[INFO] [stdout]   --> src/scene.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Scene<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `render` and `trace` are never used
[INFO] [stdout]   --> src/scene.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<'a> Scene<'a> {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] 33 |     pub fn render<'b>(&self) -> DynamicImage {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_color` is never used
[INFO] [stdout]   --> src/scene.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn get_color(scene: &Scene, ray: &Ray, intersection: &Intersection, depth: u32) -> Color {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cast_ray` is never used
[INFO] [stdout]   --> src/scene.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn cast_ray(scene: &Scene, ray: &Ray, depth: u32) -> Color {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shade_diffuse` is never used
[INFO] [stdout]    --> src/scene.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fresnel` is never used
[INFO] [stdout]    --> src/scene.rs:121:4
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn fresnel(surface_normal: Direction, direction: Direction, index: f64) -> f64 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sphere` is never constructed
[INFO] [stdout]  --> src/sphere.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Sphere {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Plane` is never constructed
[INFO] [stdout]  --> src/plane.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Plane {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Light` is never used
[INFO] [stdout]  --> src/light.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Light {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DirectionalLight` is never constructed
[INFO] [stdout]   --> src/light.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DirectionalLight {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PointLight` is never constructed
[INFO] [stdout]   --> src/light.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct PointLight {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection> {
[INFO] [stdout]    |                  ^^^^^                       ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  the lifetime is elided 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] 49 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection<'_>> {
[INFO] [stdout]    |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:14:47
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> {
[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] 14 |     pub fn new<'b>(distance: f64, object: &'b dyn Object) -> Intersection<'b> {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/scene.rs:100:87
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color {
[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 shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &dyn Object) -> Color {
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection> {
[INFO] [stdout]    |                  ^^^^^                       ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  the lifetime is elided 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] 49 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection<'_>> {
[INFO] [stdout]    |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.57s
[INFO] running `Command { std: "docker" "inspect" "0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7", kill_on_drop: false }`
[INFO] [stdout] 0bdd4c7fc06f9eaa9756484a37f6cb3783d0bda23828a3e0267daab1d3195bc7
