[INFO] cloning repository https://github.com/PaulOlteanu/TayRacer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PaulOlteanu/TayRacer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulOlteanu%2FTayRacer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulOlteanu%2FTayRacer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12456b317c6f5588e0bf0becfbd9b0b37aceb4b8
[INFO] checking PaulOlteanu/TayRacer against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulOlteanu%2FTayRacer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/PaulOlteanu/TayRacer
[INFO] finished tweaking git repo https://github.com/PaulOlteanu/TayRacer
[INFO] tweaked toml for git repo https://github.com/PaulOlteanu/TayRacer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PaulOlteanu/TayRacer on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PaulOlteanu/TayRacer 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-complex v0.2.1
[INFO] [stderr]   Downloaded cgmath v0.16.1
[INFO] [stderr]   Downloaded approx v0.1.1
[INFO] [stderr]   Downloaded libc v0.2.45
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782
[INFO] running `Command { std: "docker" "start" "aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782", 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" "aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782", 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" "aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling autocfg v0.1.1
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking arrayvec v0.4.8
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking rayon-core v1.4.1
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking num-iter v0.1.37
[INFO] [stderr]     Checking num-rational v0.2.1
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking tiff v0.2.1
[INFO] [stderr]     Checking image v0.20.1
[INFO] [stderr]     Checking tay_racer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::util`
[INFO] [stdout]  --> src/canvas.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::util;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util`
[INFO] [stdout]  --> src/shading/metal.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::util;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/collision.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub shading_data: &'a Box<Shader>,
[INFO] [stdout]   |                               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub shading_data: &'a Box<dyn Shader>,
[INFO] [stdout]   |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     shader: Box<Shader>,
[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] 12 |     shader: Box<dyn Shader>,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     scene_objects: Vec<Box<SceneObject>>,
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     scene_objects: Vec<Box<dyn SceneObject>>,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/scene.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn get_shading_data(&self) -> &Box<Shader>;
[INFO] [stdout]   |                                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn get_shading_data(&self) -> &Box<dyn Shader>;
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:62:40
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn get_shading_data(&self) -> &Box<Shader> {
[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] 62 |     fn get_shading_data(&self) -> &Box<dyn Shader> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:16:63
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new(origin: Vector3<f64>, radius: f64, shader: Box<Shader>) -> Self {
[INFO] [stdout]    |                                                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new(origin: Vector3<f64>, radius: f64, shader: Box<dyn Shader>) -> Self {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/scene.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn collision(&self, ray: &Ray) -> Option<Collision>;
[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] 8 |     fn collision(&self, ray: &Ray) -> Option<Collision<'_>>;
[INFO] [stdout]   |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn get_collisions(&self, ray: &Ray) -> Vec<Collision> {
[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] 27 |     pub fn get_collisions(&self, ray: &Ray) -> Vec<Collision<'_>> {
[INFO] [stdout]    |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn collision(&self, ray: &Ray) -> Option<Collision> {
[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] 27 |     fn collision(&self, ray: &Ray) -> Option<Collision<'_>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util`
[INFO] [stdout]  --> src/canvas.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::util;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util`
[INFO] [stdout]  --> src/shading/metal.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::util;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/collision.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub shading_data: &'a Box<Shader>,
[INFO] [stdout]   |                               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub shading_data: &'a Box<dyn Shader>,
[INFO] [stdout]   |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     shader: Box<Shader>,
[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] 12 |     shader: Box<dyn Shader>,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     scene_objects: Vec<Box<SceneObject>>,
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     scene_objects: Vec<Box<dyn SceneObject>>,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/scene.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn get_shading_data(&self) -> &Box<Shader>;
[INFO] [stdout]   |                                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn get_shading_data(&self) -> &Box<dyn Shader>;
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:62:40
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn get_shading_data(&self) -> &Box<Shader> {
[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] 62 |     fn get_shading_data(&self) -> &Box<dyn Shader> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:16:63
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new(origin: Vector3<f64>, radius: f64, shader: Box<Shader>) -> Self {
[INFO] [stdout]    |                                                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new(origin: Vector3<f64>, radius: f64, shader: Box<dyn Shader>) -> Self {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/scene.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn collision(&self, ray: &Ray) -> Option<Collision>;
[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] 8 |     fn collision(&self, ray: &Ray) -> Option<Collision<'_>>;
[INFO] [stdout]   |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn get_collisions(&self, ray: &Ray) -> Vec<Collision> {
[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] 27 |     pub fn get_collisions(&self, ray: &Ray) -> Vec<Collision<'_>> {
[INFO] [stdout]    |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene/scene_objects/sphere.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn collision(&self, ray: &Ray) -> Option<Collision> {
[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] 27 |     fn collision(&self, ray: &Ray) -> Option<Collision<'_>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.44s
[INFO] running `Command { std: "docker" "inspect" "aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782", kill_on_drop: false }`
[INFO] [stdout] aac2ac739a7e6e286065bd32f7b3f94e6d24d57a5bbbc84f4188188c7a18a782
