[INFO] cloning repository https://github.com/joshmoody24/RustRayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshmoody24/RustRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmoody24%2FRustRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmoody24%2FRustRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b95397ef372584a4059bf2cdaee29b2e2a55568 [INFO] testing joshmoody24/RustRayTracer against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmoody24%2FRustRayTracer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joshmoody24/RustRayTracer [INFO] finished tweaking git repo https://github.com/joshmoody24/RustRayTracer [INFO] tweaked toml for git repo https://github.com/joshmoody24/RustRayTracer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joshmoody24/RustRayTracer on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joshmoody24/RustRayTracer 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f0c393e091db53dea49c0c647aa95c5964dee915c94e76d11a9bfdb60570afc [INFO] running `Command { std: "docker" "start" "-a" "3f0c393e091db53dea49c0c647aa95c5964dee915c94e76d11a9bfdb60570afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f0c393e091db53dea49c0c647aa95c5964dee915c94e76d11a9bfdb60570afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0c393e091db53dea49c0c647aa95c5964dee915c94e76d11a9bfdb60570afc", kill_on_drop: false }` [INFO] [stdout] 3f0c393e091db53dea49c0c647aa95c5964dee915c94e76d11a9bfdb60570afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cfe60154ef1be82fd2e501667a1a2d39bedea1ef844bb785145368134d73a63 [INFO] running `Command { std: "docker" "start" "-a" "3cfe60154ef1be82fd2e501667a1a2d39bedea1ef844bb785145368134d73a63", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambert`, `Metal`, and `Sphere` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::surface::{Sphere, Lambert, Metal, Dielectric}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/scene.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | let scene = Vec::>::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/surface.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/surface.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.99s [INFO] running `Command { std: "docker" "inspect" "3cfe60154ef1be82fd2e501667a1a2d39bedea1ef844bb785145368134d73a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfe60154ef1be82fd2e501667a1a2d39bedea1ef844bb785145368134d73a63", kill_on_drop: false }` [INFO] [stdout] 3cfe60154ef1be82fd2e501667a1a2d39bedea1ef844bb785145368134d73a63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cecc673cf94aa24ced40001175f884a46f67ee026179ab987103ac38a3a7d1b7 [INFO] running `Command { std: "docker" "start" "-a" "cecc673cf94aa24ced40001175f884a46f67ee026179ab987103ac38a3a7d1b7", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambert`, `Metal`, and `Sphere` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::surface::{Sphere, Lambert, Metal, Dielectric}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/scene.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | let scene = Vec::>::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/surface.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/surface.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "cecc673cf94aa24ced40001175f884a46f67ee026179ab987103ac38a3a7d1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cecc673cf94aa24ced40001175f884a46f67ee026179ab987103ac38a3a7d1b7", kill_on_drop: false }` [INFO] [stdout] cecc673cf94aa24ced40001175f884a46f67ee026179ab987103ac38a3a7d1b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72d16591d86315efad169025bb2622cec144e225ac5c96ba6abe95cfa5a6fb70 [INFO] running `Command { std: "docker" "start" "-a" "72d16591d86315efad169025bb2622cec144e225ac5c96ba6abe95cfa5a6fb70", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Dielectric`, `Lambert`, `Metal`, and `Sphere` [INFO] [stderr] --> src/main.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::surface::{Sphere, Lambert, Metal, Dielectric}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scene` [INFO] [stderr] --> src/scene.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | let scene = Vec::>::new(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/camera.rs:12:2 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/surface.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 30 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/surface.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 40 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scene.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 12 | pub fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 6 warnings (run `cargo fix --bin "raytracer" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-0ec4863780825860) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "72d16591d86315efad169025bb2622cec144e225ac5c96ba6abe95cfa5a6fb70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72d16591d86315efad169025bb2622cec144e225ac5c96ba6abe95cfa5a6fb70", kill_on_drop: false }` [INFO] [stdout] 72d16591d86315efad169025bb2622cec144e225ac5c96ba6abe95cfa5a6fb70