[INFO] cloning repository https://github.com/hmaddocks/raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hmaddocks/raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmaddocks%2Fraytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmaddocks%2Fraytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26a518ac33f94b5480f0c69f49287fab456a045a [INFO] checking hmaddocks/raytracing against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhmaddocks%2Fraytracing" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hmaddocks/raytracing [INFO] finished tweaking git repo https://github.com/hmaddocks/raytracing [INFO] tweaked toml for git repo https://github.com/hmaddocks/raytracing written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hmaddocks/raytracing on toolchain 32cd9114712a24010b0583624dc52ac302194128 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hmaddocks/raytracing 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dcd84afd4442b4fff341c85faac7f384285b3eada5a18706e715dd654cc7f8f [INFO] running `Command { std: "docker" "start" "-a" "6dcd84afd4442b4fff341c85faac7f384285b3eada5a18706e715dd654cc7f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dcd84afd4442b4fff341c85faac7f384285b3eada5a18706e715dd654cc7f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcd84afd4442b4fff341c85faac7f384285b3eada5a18706e715dd654cc7f8f", kill_on_drop: false }` [INFO] [stdout] 6dcd84afd4442b4fff341c85faac7f384285b3eada5a18706e715dd654cc7f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aca6237b5485585a64c5dd22d05120ebb8f8d8b27fd695f6423f1455f04151b [INFO] running `Command { std: "docker" "start" "-a" "0aca6237b5485585a64c5dd22d05120ebb8f8d8b27fd695f6423f1455f04151b", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `bouncing_spheres` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn bouncing_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Metal`, `Dielectric`, and `Test` are never constructed [INFO] [stdout] --> src/material.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Material { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Metal(Metal), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// A transparent material with refraction [INFO] [stdout] 18 | Dielectric(Dielectric), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | /// A simple material for testing purposes [INFO] [stdout] 20 | Test(TestMaterial), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn new(albedo: Color, fuzz: f64) -> Material { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 122 | /// Creates a new dielectric material with the given refraction index. [INFO] [stdout] 123 | pub fn new(refraction_index: f64) -> Material { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl TestMaterial { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 168 | /// Creates a new test material. [INFO] [stdout] 169 | pub fn new() -> Material { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `center_end` and `time_range` are never used [INFO] [stdout] --> src/sphere.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SphereBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn center_end(mut self, center: Point3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn time_range(mut self, start: f64, end: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/aabb.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 50 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option { [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] 152 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option { [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] 170 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | fn hit(&self, _r: &Ray, _ray_t: Interval) -> Option { [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] 196 | fn hit(&self, _r: &Ray, _ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option; [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] 19 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 149 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 167 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 282 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bouncing_spheres` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn bouncing_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dielectric` is never constructed [INFO] [stdout] --> src/material.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Material { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Dielectric(Dielectric), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 122 | /// Creates a new dielectric material with the given refraction index. [INFO] [stdout] 123 | pub fn new(refraction_index: f64) -> Material { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `center_end` and `time_range` are never used [INFO] [stdout] --> src/sphere.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SphereBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn center_end(mut self, center: Point3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn time_range(mut self, start: f64, end: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/aabb.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 50 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option { [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] 152 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option { [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] 170 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | fn hit(&self, _r: &Ray, _ray_t: Interval) -> Option { [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] 196 | fn hit(&self, _r: &Ray, _ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option; [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] 19 | fn hit(&self, r: &Ray, ray_t: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/material.rs:190:75 [INFO] [stdout] | [INFO] [stdout] 190 | fn create_hit_record(position: Point3, normal: Vec3, material: Option<&Material>) -> HitRecord { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 190 | fn create_hit_record(position: Point3, normal: Vec3, material: Option<&Material>) -> 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/sphere.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 149 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 167 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option { [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] 282 | fn hit(&self, ray: &Ray, ray_t: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.83s [INFO] running `Command { std: "docker" "inspect" "0aca6237b5485585a64c5dd22d05120ebb8f8d8b27fd695f6423f1455f04151b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aca6237b5485585a64c5dd22d05120ebb8f8d8b27fd695f6423f1455f04151b", kill_on_drop: false }` [INFO] [stdout] 0aca6237b5485585a64c5dd22d05120ebb8f8d8b27fd695f6423f1455f04151b