[INFO] cloning repository https://github.com/hjbyt/rust_renderer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjbyt/rust_renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjbyt%2Frust_renderer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjbyt%2Frust_renderer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e31ed2c398c59cdd0661743a520c5f62ff10f2a
[INFO] checking hjbyt/rust_renderer against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjbyt%2Frust_renderer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hjbyt/rust_renderer
[INFO] finished tweaking git repo https://github.com/hjbyt/rust_renderer
[INFO] tweaked toml for git repo https://github.com/hjbyt/rust_renderer written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hjbyt/rust_renderer on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hjbyt/rust_renderer 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 728050ed2303a66a220f8ccd7fd4093716fd0c47ca2dbdaa56a4fef5834a1822
[INFO] running `Command { std: "docker" "start" "-a" "728050ed2303a66a220f8ccd7fd4093716fd0c47ca2dbdaa56a4fef5834a1822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "728050ed2303a66a220f8ccd7fd4093716fd0c47ca2dbdaa56a4fef5834a1822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "728050ed2303a66a220f8ccd7fd4093716fd0c47ca2dbdaa56a4fef5834a1822", kill_on_drop: false }`
[INFO] [stdout] 728050ed2303a66a220f8ccd7fd4093716fd0c47ca2dbdaa56a4fef5834a1822
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 719ac36d49aae8704ef873919bdf23608a2146b538bf99d15db2dd509f7f599d
[INFO] running `Command { std: "docker" "start" "-a" "719ac36d49aae8704ef873919bdf23608a2146b538bf99d15db2dd509f7f599d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.24
[INFO] [stderr]     Checking num-traits v0.1.39
[INFO] [stderr]    Compiling rayon-core v1.2.1
[INFO] [stderr]     Checking either v1.1.0
[INFO] [stderr]     Checking scopeguard v0.3.2
[INFO] [stderr]     Checking futures v0.1.14
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking byteorder v1.0.0
[INFO] [stderr]     Checking adler32 v1.0.0
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.7
[INFO] [stderr]     Checking threadpool v1.4.0
[INFO] [stderr]     Checking coco v0.1.1
[INFO] [stderr]     Checking deflate v0.7.11
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking num_cpus v1.6.2
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.33
[INFO] [stderr]     Checking num-rational v0.1.38
[INFO] [stderr]     Checking png v0.8.0
[INFO] [stderr]     Checking rayon v0.8.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.13
[INFO] [stderr]     Checking image v0.14.0
[INFO] [stderr]     Checking rust_renderer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `print_value`
[INFO] [stdout]  --> src/utils.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! print_value {
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/color_image.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |         &self.pixels[(y * self.width as usize + x)]
[INFO] [stdout]    |                      ^                           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 34 -         &self.pixels[(y * self.width as usize + x)]
[INFO] [stdout] 34 +         &self.pixels[y * self.width as usize + x ]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/color_image.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |         &mut self.pixels[(y * self.width as usize + x)]
[INFO] [stdout]    |                          ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         &mut self.pixels[(y * self.width as usize + x)]
[INFO] [stdout] 41 +         &mut self.pixels[y * self.width as usize + x ]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/hit.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub object: &'a ModelObject,
[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/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 object: &'a dyn ModelObject,
[INFO] [stdout]   |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub objects: Vec<Box<ModelObject + Send + Sync>>,
[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/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] 28 |     pub objects: Vec<Box<dyn ModelObject + Send + Sync>>,
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `print_value`
[INFO] [stdout]  --> src/utils.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! print_value {
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/color_image.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |         &self.pixels[(y * self.width as usize + x)]
[INFO] [stdout]    |                      ^                           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 34 -         &self.pixels[(y * self.width as usize + x)]
[INFO] [stdout] 34 +         &self.pixels[y * self.width as usize + x ]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/color_image.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |         &mut self.pixels[(y * self.width as usize + x)]
[INFO] [stdout]    |                          ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         &mut self.pixels[(y * self.width as usize + x)]
[INFO] [stdout] 41 +         &mut self.pixels[y * self.width as usize + x ]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hit.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |                object: &'a ModelObject) -> Hit<'a> {
[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/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] 18 |                object: &'a dyn ModelObject) -> Hit<'a> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/hit.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub object: &'a ModelObject,
[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/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 object: &'a dyn ModelObject,
[INFO] [stdout]   |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub objects: Vec<Box<ModelObject + Send + Sync>>,
[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/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] 28 |     pub objects: Vec<Box<dyn ModelObject + Send + Sync>>,
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut objects: Vec<Box<ModelObject + Send + Sync>> = Vec::new();
[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/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] 43 |         let mut objects: Vec<Box<dyn ModelObject + Send + Sync>> = Vec::new();
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hit.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |                object: &'a ModelObject) -> Hit<'a> {
[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/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] 18 |                object: &'a dyn ModelObject) -> Hit<'a> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut objects: Vec<Box<ModelObject + Send + Sync>> = Vec::new();
[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/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] 43 |         let mut objects: Vec<Box<dyn ModelObject + Send + Sync>> = Vec::new();
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/scene.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let mut parts = &mut line.split_whitespace();
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `direction` and `screen_distance` are never read
[INFO] [stdout]   --> src/camera.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  6 |     pub position: Vector,
[INFO] [stdout]  7 |     pub direction: Vector,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub screen_distance: 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: field `super_sampling_n` is never read
[INFO] [stdout]   --> src/scene.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Scene {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub super_sampling_n: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sphere.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn try_hit(&self, ray: &Ray) -> Option<Hit> {
[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] 20 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/plane.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn try_hit(&self, ray: &Ray) -> Option<Hit> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/triangle.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn try_hit(&self, ray: &Ray) -> Option<Hit> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/model_object.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn try_hit(&self, ray: &Ray) -> Option<Hit>;
[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] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>>;
[INFO] [stdout]   |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/camera.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn construct_rays_through_pixel(&self, x: u32, y: u32) -> SubPixelRayIterator {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn construct_rays_through_pixel(&self, x: u32, y: u32) -> SubPixelRayIterator<'_> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/scene.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             &color_image.pixels[(y * width) as usize..((y + 1) * width) as usize].copy_from_slice(&row);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let _ = &color_image.pixels[(y * width) as usize..((y + 1) * width) as usize].copy_from_slice(&row);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scene.rs:181:22
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn find_hits(&self, ray: &Ray) -> Vec<Hit> {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn find_hits(&self, ray: &Ray) -> Vec<Hit<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout]    --> src/scene.rs:298:33
[INFO] [stdout]     |
[INFO] [stdout] 298 |             let objects_equal = ray_hit.object as *const _ == hit.object as *const _;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default
[INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
[INFO] [stdout]     |
[INFO] [stdout] 298 -             let objects_equal = ray_hit.object as *const _ == hit.object as *const _;
[INFO] [stdout] 298 +             let objects_equal = std::ptr::addr_eq(ray_hit.object as *const _, hit.object as *const _);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/scene.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let mut parts = &mut line.split_whitespace();
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `direction` and `screen_distance` are never read
[INFO] [stdout]   --> src/camera.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  6 |     pub position: Vector,
[INFO] [stdout]  7 |     pub direction: Vector,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub screen_distance: 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: field `super_sampling_n` is never read
[INFO] [stdout]   --> src/scene.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Scene {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub super_sampling_n: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sphere.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn try_hit(&self, ray: &Ray) -> Option<Hit> {
[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] 20 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/plane.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn try_hit(&self, ray: &Ray) -> Option<Hit> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/triangle.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn try_hit(&self, ray: &Ray) -> Option<Hit> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/model_object.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn try_hit(&self, ray: &Ray) -> Option<Hit>;
[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] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn try_hit(&self, ray: &Ray) -> Option<Hit<'_>>;
[INFO] [stdout]   |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/camera.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn construct_rays_through_pixel(&self, x: u32, y: u32) -> SubPixelRayIterator {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn construct_rays_through_pixel(&self, x: u32, y: u32) -> SubPixelRayIterator<'_> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/scene.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             &color_image.pixels[(y * width) as usize..((y + 1) * width) as usize].copy_from_slice(&row);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let _ = &color_image.pixels[(y * width) as usize..((y + 1) * width) as usize].copy_from_slice(&row);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scene.rs:181:22
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn find_hits(&self, ray: &Ray) -> Vec<Hit> {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn find_hits(&self, ray: &Ray) -> Vec<Hit<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout]    --> src/scene.rs:298:33
[INFO] [stdout]     |
[INFO] [stdout] 298 |             let objects_equal = ray_hit.object as *const _ == hit.object as *const _;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default
[INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
[INFO] [stdout]     |
[INFO] [stdout] 298 -             let objects_equal = ray_hit.object as *const _ == hit.object as *const _;
[INFO] [stdout] 298 +             let objects_equal = std::ptr::addr_eq(ray_hit.object as *const _, hit.object as *const _);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.78s
[INFO] running `Command { std: "docker" "inspect" "719ac36d49aae8704ef873919bdf23608a2146b538bf99d15db2dd509f7f599d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "719ac36d49aae8704ef873919bdf23608a2146b538bf99d15db2dd509f7f599d", kill_on_drop: false }`
[INFO] [stdout] 719ac36d49aae8704ef873919bdf23608a2146b538bf99d15db2dd509f7f599d
