[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 try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer" "/workspace/builds/worker-39/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tandalesc/rust-ray-tracer on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-39/source/Cargo.toml
[INFO] crate git repo https://github.com/tandalesc/rust-ray-tracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c69c23ac0198f0944ed2b2b5a2a6bf11a89ed2cdae1da4f69918bdfb0b99d36c
[INFO] running `Command { std: "docker" "start" "-a" "c69c23ac0198f0944ed2b2b5a2a6bf11a89ed2cdae1da4f69918bdfb0b99d36c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c69c23ac0198f0944ed2b2b5a2a6bf11a89ed2cdae1da4f69918bdfb0b99d36c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c69c23ac0198f0944ed2b2b5a2a6bf11a89ed2cdae1da4f69918bdfb0b99d36c", kill_on_drop: false }`
[INFO] [stdout] c69c23ac0198f0944ed2b2b5a2a6bf11a89ed2cdae1da4f69918bdfb0b99d36c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 32907fee7c3c6de1f1c3d01dd958bd2117ae2ee20ce713ca3804ee61431d2d72
[INFO] running `Command { std: "docker" "start" "-a" "32907fee7c3c6de1f1c3d01dd958bd2117ae2ee20ce713ca3804ee61431d2d72", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking rand_pcg v0.1.1
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling num-derive v0.2.4
[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]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 -     pub object: &'a Object,
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 -     pub objects: Vec<&'a Object>,
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 -     pub lights: Vec<&'a Light>,
[INFO] [stdout] 27 +     pub lights: Vec<&'a dyn Light>,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime parameter `'b` never used
[INFO] [stdout]   --> src/scene.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn render<'b>(&self) -> DynamicImage {
[INFO] [stdout]    |                  -^^- help: elide the unused lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_lifetimes)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 - fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color {
[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: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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> {
[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:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub object: &'a Object,
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 -     pub object: &'a Object,
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 -     pub objects: Vec<&'a Object>,
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 -     pub lights: Vec<&'a Light>,
[INFO] [stdout] 27 +     pub lights: Vec<&'a dyn Light>,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime parameter `'b` never used
[INFO] [stdout]   --> src/scene.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn render<'b>(&self) -> DynamicImage {
[INFO] [stdout]    |                  -^^- help: elide the unused lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_lifetimes)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 - fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color {
[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: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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> {
[INFO] [stdout] 14 +     pub fn new<'b>(distance: f64, object: &'b dyn Object) -> Intersection<'b> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Diffuse`
[INFO] [stdout]   --> src/primitives.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Diffuse,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Reflective`
[INFO] [stdout]   --> src/primitives.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | /     Reflective {
[INFO] [stdout] 34 | |         reflectivity: f64,
[INFO] [stdout] 35 | |         specular_color: Color,
[INFO] [stdout] 36 | |     },
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Refractive`
[INFO] [stdout]   --> src/primitives.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     Refractive {
[INFO] [stdout] 38 | |         index: f64,
[INFO] [stdout] 39 | |         transparency: f64,
[INFO] [stdout] 40 | |         reflectivity: f64,
[INFO] [stdout] 41 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `create_prime`
[INFO] [stdout]   --> src/ray.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn create_prime(x: u32, y: u32, scene: &Scene) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `create_reflection`
[INFO] [stdout]   --> src/ray.rs:27:12
[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] 
[INFO] [stdout] warning: associated function is never used: `create_transmission`
[INFO] [stdout]   --> src/ray.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn create_transmission(surface_normal: Direction, direction: Direction, hit_point: Point, bias: f64, index: f64) -> Option<Ray> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Intersection`
[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 is never used: `new`
[INFO] [stdout]   --> src/scene.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Scene`
[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: associated function is never used: `render`
[INFO] [stdout]   --> src/scene.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn render<'b>(&self) -> DynamicImage {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `trace`
[INFO] [stdout]   --> src/scene.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_color`
[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 is never used: `cast_ray`
[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 is never used: `shade_diffuse`
[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 is never used: `fresnel`
[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] error: aborting due to previous error; 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-ray-tracer` due to 2 previous errors; 20 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "32907fee7c3c6de1f1c3d01dd958bd2117ae2ee20ce713ca3804ee61431d2d72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32907fee7c3c6de1f1c3d01dd958bd2117ae2ee20ce713ca3804ee61431d2d72", kill_on_drop: false }`
[INFO] [stdout] 32907fee7c3c6de1f1c3d01dd958bd2117ae2ee20ce713ca3804ee61431d2d72