[INFO] cloning repository https://github.com/tlinford/raytracer-challenge-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlinford/raytracer-challenge-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlinford%2Fraytracer-challenge-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlinford%2Fraytracer-challenge-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e5b0eebebb741097e1c92d045c9159f5639cdc6 [INFO] checking tlinford/raytracer-challenge-rs against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlinford%2Fraytracer-challenge-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tlinford/raytracer-challenge-rs [INFO] finished tweaking git repo https://github.com/tlinford/raytracer-challenge-rs [INFO] tweaked toml for git repo https://github.com/tlinford/raytracer-challenge-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tlinford/raytracer-challenge-rs on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tlinford/raytracer-challenge-rs 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generator v0.6.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 028ce124dbdd74349115da0b4e1ac3748ecbd95e5238a0846b977c097d46ccfb [INFO] running `Command { std: "docker" "start" "-a" "028ce124dbdd74349115da0b4e1ac3748ecbd95e5238a0846b977c097d46ccfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "028ce124dbdd74349115da0b4e1ac3748ecbd95e5238a0846b977c097d46ccfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028ce124dbdd74349115da0b4e1ac3748ecbd95e5238a0846b977c097d46ccfb", kill_on_drop: false }` [INFO] [stdout] 028ce124dbdd74349115da0b4e1ac3748ecbd95e5238a0846b977c097d46ccfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89427ba03b37659bf2ba866c411c3bd34abb27c1c63c2a18734ff73d69da4d4 [INFO] running `Command { std: "docker" "start" "-a" "c89427ba03b37659bf2ba866c411c3bd34abb27c1c63c2a18734ff73d69da4d4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir/raytracer) [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> raytracer/src/world.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/mod.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn local_intersect(&self, ray: &Ray) -> Vec; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 41 | fn local_intersect(&self, ray: &Ray) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | fn intersect(&self, ray: &Ray) -> Vec { [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] 46 | fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/intersection.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn prepare_computations(&self, ray: &Ray, xs: &[Intersection]) -> Computations { [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] 53 | pub fn prepare_computations(&self, ray: &Ray, xs: &[Intersection]) -> Computations<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cone.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec { [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] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cone.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 94 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/csg.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 115 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cube.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 71 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cylinder.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec { [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] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cylinder.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 88 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/group.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn intersect(&self, ray: &Ray) -> Vec { [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] 49 | fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/group.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 60 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/plane.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 53 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/smooth_triangle.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 73 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/sphere.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 47 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/test_shape.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 46 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/triangle.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 67 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/world.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn intersect<'a, 'b>(&'a self, ray: &'b Ray) -> Vec { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn intersect<'a, 'b>(&'a self, ray: &'b Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking scene-parser v0.1.0 (/opt/rustwide/workdir/scene-parser) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/mod.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn local_intersect(&self, ray: &Ray) -> Vec; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 41 | fn local_intersect(&self, ray: &Ray) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | fn intersect(&self, ray: &Ray) -> Vec { [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] 46 | fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/intersection.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn prepare_computations(&self, ray: &Ray, xs: &[Intersection]) -> Computations { [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] 53 | pub fn prepare_computations(&self, ray: &Ray, xs: &[Intersection]) -> Computations<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cone.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec { [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] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cone.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 94 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/csg.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 115 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cube.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 71 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cylinder.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec { [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] 48 | fn intersect_caps(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/cylinder.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 88 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/group.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn intersect(&self, ray: &Ray) -> Vec { [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] 49 | fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/group.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 60 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/plane.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 53 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/smooth_triangle.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 73 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/sphere.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 47 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/test_shape.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 46 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/geometry/shape/triangle.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn local_intersect(&self, ray: &Ray) -> Vec { [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] 67 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> raytracer/src/world.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn intersect<'a, 'b>(&'a self, ray: &'b Ray) -> Vec { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn intersect<'a, 'b>(&'a self, ray: &'b Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.43s [INFO] running `Command { std: "docker" "inspect" "c89427ba03b37659bf2ba866c411c3bd34abb27c1c63c2a18734ff73d69da4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89427ba03b37659bf2ba866c411c3bd34abb27c1c63c2a18734ff73d69da4d4", kill_on_drop: false }` [INFO] [stdout] c89427ba03b37659bf2ba866c411c3bd34abb27c1c63c2a18734ff73d69da4d4