[INFO] cloning repository https://github.com/throttle2k/ray-tracer-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/throttle2k/ray-tracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrottle2k%2Fray-tracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrottle2k%2Fray-tracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a85b08d7ef7e07a87da7de25ad0e20cb08514e8b [INFO] checking throttle2k/ray-tracer-challenge against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrottle2k%2Fray-tracer-challenge" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/throttle2k/ray-tracer-challenge [INFO] finished tweaking git repo https://github.com/throttle2k/ray-tracer-challenge [INFO] tweaked toml for git repo https://github.com/throttle2k/ray-tracer-challenge written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/throttle2k/ray-tracer-challenge on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/throttle2k/ray-tracer-challenge 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" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded perlin_noise v1.0.1 [INFO] [stderr] Downloaded yare v3.0.0 [INFO] [stderr] Downloaded yare-macro v3.0.0 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded libyml v0.0.5 [INFO] [stderr] Downloaded serde_yml v0.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58637ff73fd287e08baeb4e330276a4302103f2c2abb19d79dc6e21c8eda410c [INFO] running `Command { std: "docker" "start" "-a" "58637ff73fd287e08baeb4e330276a4302103f2c2abb19d79dc6e21c8eda410c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58637ff73fd287e08baeb4e330276a4302103f2c2abb19d79dc6e21c8eda410c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58637ff73fd287e08baeb4e330276a4302103f2c2abb19d79dc6e21c8eda410c", kill_on_drop: false }` [INFO] [stdout] 58637ff73fd287e08baeb4e330276a4302103f2c2abb19d79dc6e21c8eda410c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e730f0a8150b86c7d3f344529e133d9c21bb4442742358dcc027d892f76e009 [INFO] running `Command { std: "docker" "start" "-a" "1e730f0a8150b86c7d3f344529e133d9c21bb4442742358dcc027d892f76e009", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking approx-eq v0.1.0 (/opt/rustwide/workdir/approx-eq) [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking colo-rs v0.1.0 (/opt/rustwide/workdir/colo-rs) [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking perlin_noise v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling yare-macro v3.0.0 [INFO] [stderr] Checking yare v3.0.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir/ray-tracer) [INFO] [stdout] warning: unused import: `tuples::vectors::Vector` [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | tuples::vectors::Vector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_point` [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | local_point: crate::tuples::points::Point, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lines_skipped` is never read [INFO] [stdout] --> ray-tracer/src/obj_parser.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct OBJParser { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 82 | lines_skipped: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/intersections.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn prepare_computations(&self, r: Ray, xs: &Intersections) -> Computation { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 67 | pub fn prepare_computations(&self, r: Ray, xs: &Intersections) -> Computation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/intersections.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn hit(&self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 154 | pub fn hit(&self) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/octree.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn intersects(&self, r: &Ray) -> Intersections { [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] 36 | pub fn intersects(&self, r: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/shapes/mod.rs:625:23 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn intersects(&self, r: &Ray) -> Intersections { [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] 625 | pub fn intersects(&self, r: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn intersects(&self, _object: &Object, ray: &Ray) -> Intersections { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 62 | pub fn intersects(&self, _object: &Object, ray: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn filter_intersections<'a>(&'a self, xs: &Intersections<'a>) -> Intersections { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn filter_intersections<'a>(&'a self, xs: &Intersections<'a>) -> Intersections<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/world.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn intersect_world(&self, ray: Ray) -> Intersections { [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] 63 | pub fn intersect_world(&self, ray: Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking world-drawing v0.1.0 (/opt/rustwide/workdir/world-drawing) [INFO] [stderr] Checking analog-clock v0.1.0 (/opt/rustwide/workdir/analog-clock) [INFO] [stderr] Checking reflections-drawing v0.1.0 (/opt/rustwide/workdir/reflections-drawing) [INFO] [stderr] Checking hexagon-drawing v0.1.0 (/opt/rustwide/workdir/hexagon-drawing) [INFO] [stderr] Checking open-cylinders-drawing v0.1.0 (/opt/rustwide/workdir/open-cylinders-drawing) [INFO] [stderr] Checking virtual-cannon v0.1.0 (/opt/rustwide/workdir/virtual-cannon) [INFO] [stderr] Checking cubes-drawing v0.1.0 (/opt/rustwide/workdir/cubes-drawing) [INFO] [stderr] Checking scene-drawing v0.1.0 (/opt/rustwide/workdir/scene-drawing) [INFO] [stderr] Checking refractions-drawing v0.1.0 (/opt/rustwide/workdir/refractions-drawing) [INFO] [stderr] Checking sphere-drawing v0.1.0 (/opt/rustwide/workdir/sphere-drawing) [INFO] [stderr] Checking obj-drawing v0.1.0 (/opt/rustwide/workdir/obj-drawing) [INFO] [stderr] Checking cones-drawing v0.1.0 (/opt/rustwide/workdir/cones-drawing) [INFO] [stderr] Checking plane-drawing v0.1.0 (/opt/rustwide/workdir/plane-drawing) [INFO] [stderr] Checking yaml-drawing v0.1.0 (/opt/rustwide/workdir/yaml-drawing) [INFO] [stderr] Checking patterns-drawing v0.1.0 (/opt/rustwide/workdir/patterns-drawing) [INFO] [stderr] Checking csg-drawing v0.1.0 (/opt/rustwide/workdir/csg-drawing) [INFO] [stdout] warning: unused variable: `local_point` [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | local_point: crate::tuples::points::Point, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/intersections.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn prepare_computations(&self, r: Ray, xs: &Intersections) -> Computation { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 67 | pub fn prepare_computations(&self, r: Ray, xs: &Intersections) -> Computation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/intersections.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn hit(&self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 154 | pub fn hit(&self) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/octree.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn intersects(&self, r: &Ray) -> Intersections { [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] 36 | pub fn intersects(&self, r: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/shapes/mod.rs:625:23 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn intersects(&self, r: &Ray) -> Intersections { [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] 625 | pub fn intersects(&self, r: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn intersects(&self, _object: &Object, ray: &Ray) -> Intersections { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 62 | pub fn intersects(&self, _object: &Object, ray: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/shapes/csg.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn filter_intersections<'a>(&'a self, xs: &Intersections<'a>) -> Intersections { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn filter_intersections<'a>(&'a self, xs: &Intersections<'a>) -> Intersections<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ray-tracer/src/world.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn intersect_world(&self, ray: Ray) -> Intersections { [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] 63 | pub fn intersect_world(&self, ray: Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1e730f0a8150b86c7d3f344529e133d9c21bb4442742358dcc027d892f76e009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e730f0a8150b86c7d3f344529e133d9c21bb4442742358dcc027d892f76e009", kill_on_drop: false }` [INFO] [stdout] 1e730f0a8150b86c7d3f344529e133d9c21bb4442742358dcc027d892f76e009