[INFO] cloning repository https://github.com/jlingohr/ray_trace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlingohr/ray_trace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlingohr%2Fray_trace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlingohr%2Fray_trace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5aa4f9ad7d8b15de215a7c4456082a29080f458e [INFO] checking jlingohr/ray_trace against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlingohr%2Fray_trace" "/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/jlingohr/ray_trace [INFO] finished tweaking git repo https://github.com/jlingohr/ray_trace [INFO] tweaked toml for git repo https://github.com/jlingohr/ray_trace written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlingohr/ray_trace on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jlingohr/ray_trace 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.16.6 [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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d728e6a97b59a6f099678b236aa599dd269a9077519726fb2cc756dac7300db2 [INFO] running `Command { std: "docker" "start" "-a" "d728e6a97b59a6f099678b236aa599dd269a9077519726fb2cc756dac7300db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d728e6a97b59a6f099678b236aa599dd269a9077519726fb2cc756dac7300db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d728e6a97b59a6f099678b236aa599dd269a9077519726fb2cc756dac7300db2", kill_on_drop: false }` [INFO] [stdout] d728e6a97b59a6f099678b236aa599dd269a9077519726fb2cc756dac7300db2 [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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02aefd4b1cf897278f6d110ba8f97c070af9c8e0b1ea5a000d922af3b1f5d6f6 [INFO] running `Command { std: "docker" "start" "-a" "02aefd4b1cf897278f6d110ba8f97c070af9c8e0b1ea5a000d922af3b1f5d6f6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.6 [INFO] [stderr] Checking ray_trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::pdf` [INFO] [stdout] --> src/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::pdf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::bvh::BVH` [INFO] [stdout] --> src/scenes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::bvh::BVH; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::medium::ConstantMedium` [INFO] [stdout] --> src/scenes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::medium::ConstantMedium; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MovingSphere` [INFO] [stdout] --> src/scenes.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::sphere::{MovingSphere, Sphere}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Checkered`, `ImageTexture`, and `NoiseTexture` [INFO] [stdout] --> src/scenes.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use super::texture::{Checkered, ImageTexture, NoiseTexture, SolidColor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils` [INFO] [stdout] --> src/scenes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image` [INFO] [stdout] --> src/scenes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scenes::Scene` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::scenes::Scene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::pdf` [INFO] [stdout] --> src/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::pdf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::bvh::BVH` [INFO] [stdout] --> src/scenes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::bvh::BVH; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::medium::ConstantMedium` [INFO] [stdout] --> src/scenes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::medium::ConstantMedium; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MovingSphere` [INFO] [stdout] --> src/scenes.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::sphere::{MovingSphere, Sphere}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Checkered`, `ImageTexture`, and `NoiseTexture` [INFO] [stdout] --> src/scenes.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use super::texture::{Checkered, ImageTexture, NoiseTexture, SolidColor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils` [INFO] [stdout] --> src/scenes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image` [INFO] [stdout] --> src/scenes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scenes::Scene` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::scenes::Scene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn pdf_value(&self, o: Point, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/hittable.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn pdf_value(&self, o: Point, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn random(&self, o: Point) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/material.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/material.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | fn emitted(&self, ray: Ray, rec: &HitRecord) -> Color { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/sphere.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(hit) = self.hit(&Ray::new(o, v, 0.0), 0.001, std::f64::INFINITY) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | fn value(&self, u: f64, v: f64, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | fn value(&self, u: f64, v: f64, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | fn value(&self, u: f64, v: f64, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn pdf_value(&self, o: Point, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/hittable.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn pdf_value(&self, o: Point, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn random(&self, o: Point) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/material.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pdf_value` and `random` are never used [INFO] [stdout] --> src/hittable.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl HittableList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn pdf_value(&self, o: Point, v: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn random(&self, o: Point) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/material.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn scattering_pdf(&self, ray: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | fn emitted(&self, ray: Ray, rec: &HitRecord) -> Color { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/aarect.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 51 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn hit(&self, ray: &Ray, t_min: f64, mut t_max: f64) -> 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] 94 | fn hit(&self, ray: &Ray, t_min: f64, mut t_max: f64) -> 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/cube.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 9 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | material: &'a dyn Material, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 39 | ) -> HitRecord { [INFO] [stdout] | --------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> HitRecord<'a> { [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:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 136 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 160 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 17 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 64 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 100 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | fn scatter(&self, _ray: Ray, _rec: &HitRecord, _rng: &mut ThreadRng) -> 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] 145 | fn scatter(&self, _ray: Ray, _rec: &HitRecord, _rng: &mut ThreadRng) -> 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:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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 scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 28 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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/rotate.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 74 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 36 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 140 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/sphere.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(hit) = self.hit(&Ray::new(o, v, 0.0), 0.001, std::f64::INFINITY) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | fn value(&self, u: f64, v: f64, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | fn value(&self, u: f64, v: f64, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | fn value(&self, u: f64, v: f64, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pdf_value` and `random` are never used [INFO] [stdout] --> src/hittable.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl HittableList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn pdf_value(&self, o: Point, v: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn random(&self, o: Point) -> 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/aarect.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 51 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn hit(&self, ray: &Ray, t_min: f64, mut t_max: f64) -> 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] 94 | fn hit(&self, ray: &Ray, t_min: f64, mut t_max: f64) -> 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/cube.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 9 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | material: &'a dyn Material, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 39 | ) -> HitRecord { [INFO] [stdout] | --------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> HitRecord<'a> { [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:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 136 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 160 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 17 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 38 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 64 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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] 100 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | fn scatter(&self, _ray: Ray, _rec: &HitRecord, _rng: &mut ThreadRng) -> 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] 145 | fn scatter(&self, _ray: Ray, _rec: &HitRecord, _rng: &mut ThreadRng) -> 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:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | fn scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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 scatter(&self, ray: Ray, rec: &HitRecord, rng: &mut ThreadRng) -> 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/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 28 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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/rotate.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 74 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 36 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 140 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.30s [INFO] running `Command { std: "docker" "inspect" "02aefd4b1cf897278f6d110ba8f97c070af9c8e0b1ea5a000d922af3b1f5d6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02aefd4b1cf897278f6d110ba8f97c070af9c8e0b1ea5a000d922af3b1f5d6f6", kill_on_drop: false }` [INFO] [stdout] 02aefd4b1cf897278f6d110ba8f97c070af9c8e0b1ea5a000d922af3b1f5d6f6