[INFO] cloning repository https://github.com/codeworm96/hikari [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeworm96/hikari" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeworm96%2Fhikari", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeworm96%2Fhikari'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a5498f3593f19da2ded9507502096380f0d06fa [INFO] checking codeworm96/hikari/4a5498f3593f19da2ded9507502096380f0d06fa against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeworm96%2Fhikari" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codeworm96/hikari [INFO] finished tweaking git repo https://github.com/codeworm96/hikari [INFO] tweaked toml for git repo https://github.com/codeworm96/hikari written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codeworm96/hikari on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codeworm96/hikari 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded adler32 v1.0.3 [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded gif v0.10.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.15 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded libc v0.2.61 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded wasi v0.5.0 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded getrandom v0.1.9 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1b7ea7017901796ba4d58d90897ac103f5d28b91196cff140fbead8be68fa5 [INFO] running `Command { std: "docker" "start" "-a" "eb1b7ea7017901796ba4d58d90897ac103f5d28b91196cff140fbead8be68fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1b7ea7017901796ba4d58d90897ac103f5d28b91196cff140fbead8be68fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1b7ea7017901796ba4d58d90897ac103f5d28b91196cff140fbead8be68fa5", kill_on_drop: false }` [INFO] [stdout] eb1b7ea7017901796ba4d58d90897ac103f5d28b91196cff140fbead8be68fa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08a19507d5c39eeb48c091d4b3ceac051911f33cc9e0d1766305a0c56b5c609a [INFO] running `Command { std: "docker" "start" "-a" "08a19507d5c39eeb48c091d4b3ceac051911f33cc9e0d1766305a0c56b5c609a", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking hikari v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn two_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_perlin_spheres` is never used [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn two_perlin_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn earth() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn random_scene(rng: &mut ThreadRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn simple_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AABB` is never constructed [INFO] [stdout] --> src/aabb.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/aabb.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AABB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | pub fn hit(&self, r: &Ray, tmin: f64, tmax: f64) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `surrounding_box` is never used [INFO] [stdout] --> src/aabb.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn surrounding_box(box0: &AABB, box1: &AABB) -> AABB { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/bvh_node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/bvh_node.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/checker_texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/checker_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(odd: Box, even: Box) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/dielectric.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dielectric.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(ri: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/dielectric.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn refract(v: &Vec3, n: &Vec3, ni_over_nt: f64) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schlick` is never used [INFO] [stdout] --> src/dielectric.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_box` is never used [INFO] [stdout] --> src/hitable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Hitable { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] 17 | fn bounding_box(&self, t0: f64, t1: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [INFO] [stdout] --> src/image_texture.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/image_texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(image: RgbImage) -> ImageTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metal` is never constructed [INFO] [stdout] --> src/metal.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/metal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(a: Vec3, f: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/metal.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingSphere` is never constructed [INFO] [stdout] --> src/moving_sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `center` are never used [INFO] [stdout] --> src/moving_sphere.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MovingSphere { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn center(&self, time: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseTexture` is never constructed [INFO] [stdout] --> src/noise_texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/noise_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/perlin.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn generate() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/perlin.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn permute(p: &mut Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_perm` is never used [INFO] [stdout] --> src/perlin.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise` is never used [INFO] [stdout] --> src/perlin.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn noise(p: &Vec3) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turb` is never used [INFO] [stdout] --> src/perlin.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn turb(p: &Vec3, depth: u32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f64, mat: Box) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sphere_uv` is never used [INFO] [stdout] --> src/util.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_sphere_uv(p: &Vec3) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/vec3.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn dot(a: &Vec3, b: &Vec3) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh_node.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 44 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/flip_normals.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [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] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/moving_sphere.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 43 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 25 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xy_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/yz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn two_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_perlin_spheres` is never used [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn two_perlin_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn earth() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn random_scene(rng: &mut ThreadRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn simple_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AABB` is never constructed [INFO] [stdout] --> src/aabb.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/aabb.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AABB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | pub fn hit(&self, r: &Ray, tmin: f64, tmax: f64) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `surrounding_box` is never used [INFO] [stdout] --> src/aabb.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn surrounding_box(box0: &AABB, box1: &AABB) -> AABB { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/bvh_node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/bvh_node.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/checker_texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/checker_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(odd: Box, even: Box) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/dielectric.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dielectric.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(ri: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/dielectric.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn refract(v: &Vec3, n: &Vec3, ni_over_nt: f64) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schlick` is never used [INFO] [stdout] --> src/dielectric.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_box` is never used [INFO] [stdout] --> src/hitable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Hitable { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] 17 | fn bounding_box(&self, t0: f64, t1: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [INFO] [stdout] --> src/image_texture.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/image_texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(image: RgbImage) -> ImageTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metal` is never constructed [INFO] [stdout] --> src/metal.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/metal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(a: Vec3, f: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/metal.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingSphere` is never constructed [INFO] [stdout] --> src/moving_sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `center` are never used [INFO] [stdout] --> src/moving_sphere.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MovingSphere { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn center(&self, time: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseTexture` is never constructed [INFO] [stdout] --> src/noise_texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/noise_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/perlin.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn generate() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/perlin.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn permute(p: &mut Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_perm` is never used [INFO] [stdout] --> src/perlin.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise` is never used [INFO] [stdout] --> src/perlin.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn noise(p: &Vec3) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turb` is never used [INFO] [stdout] --> src/perlin.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn turb(p: &Vec3, depth: u32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f64, mat: Box) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sphere_uv` is never used [INFO] [stdout] --> src/util.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_sphere_uv(p: &Vec3) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/vec3.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn dot(a: &Vec3, b: &Vec3) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh_node.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 44 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/flip_normals.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [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] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/moving_sphere.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 43 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 25 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xy_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/yz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.60s [INFO] running `Command { std: "docker" "inspect" "08a19507d5c39eeb48c091d4b3ceac051911f33cc9e0d1766305a0c56b5c609a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a19507d5c39eeb48c091d4b3ceac051911f33cc9e0d1766305a0c56b5c609a", kill_on_drop: false }` [INFO] [stdout] 08a19507d5c39eeb48c091d4b3ceac051911f33cc9e0d1766305a0c56b5c609a