[INFO] cloning repository https://github.com/daniel5151/ray-tracing-in-1-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daniel5151/ray-tracing-in-1-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel5151%2Fray-tracing-in-1-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel5151%2Fray-tracing-in-1-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 893a0d66a917beec69d6c33ca7230a82a5d92cac [INFO] checking daniel5151/ray-tracing-in-1-weekend against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel5151%2Fray-tracing-in-1-weekend" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/daniel5151/ray-tracing-in-1-weekend [INFO] finished tweaking git repo https://github.com/daniel5151/ray-tracing-in-1-weekend [INFO] tweaked toml for git repo https://github.com/daniel5151/ray-tracing-in-1-weekend written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/daniel5151/ray-tracing-in-1-weekend on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/daniel5151/ray-tracing-in-1-weekend 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded minifb v0.12.0 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded getrandom v0.1.7 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded orbclient v0.3.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e1f32b157d17aa0f225bfdce834266993659c389c21518b383e6771d914013c [INFO] running `Command { std: "docker" "start" "-a" "4e1f32b157d17aa0f225bfdce834266993659c389c21518b383e6771d914013c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e1f32b157d17aa0f225bfdce834266993659c389c21518b383e6771d914013c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1f32b157d17aa0f225bfdce834266993659c389c21518b383e6771d914013c", kill_on_drop: false }` [INFO] [stdout] 4e1f32b157d17aa0f225bfdce834266993659c389c21518b383e6771d914013c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ae962b77610b16cb028ba303af921d3a92b64f6518cb2e2ea64fd452cd8a0dd [INFO] running `Command { std: "docker" "start" "-a" "4ae962b77610b16cb028ba303af921d3a92b64f6518cb2e2ea64fd452cd8a0dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.7 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling minifb v0.12.0 [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 vrai-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scenes/random.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | _ => (material::Dielectric::new_material(1.5)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - _ => (material::Dielectric::new_material(1.5)), [INFO] [stdout] 67 + _ => material::Dielectric::new_material(1.5), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/scenes/random.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | (material::Lambertian::new_material(Vec3::new( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | ))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 ~ material::Lambertian::new_material(Vec3::new( [INFO] [stdout] 52 | rng.gen::() * rng.gen::(), [INFO] [stdout] 53 | rng.gen::() * rng.gen::(), [INFO] [stdout] 54 | rng.gen::() * rng.gen::(), [INFO] [stdout] 55 ~ )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/scenes/random.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | (material::Metal::new_material( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | )) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 ~ material::Metal::new_material( [INFO] [stdout] 59 | 0.5 * Vec3::new( [INFO] [stdout] ... [INFO] [stdout] 64 | 0.5 * rng.gen::(), [INFO] [stdout] 65 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scenes/random.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | _ => (material::Dielectric::new_material(1.5)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - _ => (material::Dielectric::new_material(1.5)), [INFO] [stdout] 67 + _ => material::Dielectric::new_material(1.5), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/scenes/random.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | (material::Lambertian::new_material(Vec3::new( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | ))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 ~ material::Lambertian::new_material(Vec3::new( [INFO] [stdout] 52 | rng.gen::() * rng.gen::(), [INFO] [stdout] 53 | rng.gen::() * rng.gen::(), [INFO] [stdout] 54 | rng.gen::() * rng.gen::(), [INFO] [stdout] 55 ~ )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/scenes/random.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | (material::Metal::new_material( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | )) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 ~ material::Metal::new_material( [INFO] [stdout] 59 | 0.5 * Vec3::new( [INFO] [stdout] ... [INFO] [stdout] 64 | 0.5 * rng.gen::(), [INFO] [stdout] 65 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 38 | fn hit(&self, r: &Ray, t_range: Range) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 118 | / hittables! { [INFO] [stdout] 119 | | #[derive(Debug)] [INFO] [stdout] 120 | | pub enum Hittables { [INFO] [stdout] 121 | | Sphere(Sphere), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ref` which comes from the expansion of the macro `hittables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 118 | / hittables! { [INFO] [stdout] 119 | | #[derive(Debug)] [INFO] [stdout] 120 | | pub enum Hittables { [INFO] [stdout] 121 | | Sphere(Sphere), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ref` which comes from the expansion of the macro `hittables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 118 | / hittables! { [INFO] [stdout] 119 | | #[derive(Debug)] [INFO] [stdout] 120 | | pub enum Hittables { [INFO] [stdout] 121 | | Sphere(Sphere), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ref` which comes from the expansion of the macro `hittables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 131 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 148 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/infplane.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 30 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/sphere.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 30 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 38 | fn hit(&self, r: &Ray, t_range: Range) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 118 | / hittables! { [INFO] [stdout] 119 | | #[derive(Debug)] [INFO] [stdout] 120 | | pub enum Hittables { [INFO] [stdout] 121 | | Sphere(Sphere), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ref` which comes from the expansion of the macro `hittables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 118 | / hittables! { [INFO] [stdout] 119 | | #[derive(Debug)] [INFO] [stdout] 120 | | pub enum Hittables { [INFO] [stdout] 121 | | Sphere(Sphere), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ref` which comes from the expansion of the macro `hittables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 118 | / hittables! { [INFO] [stdout] 119 | | #[derive(Debug)] [INFO] [stdout] 120 | | pub enum Hittables { [INFO] [stdout] 121 | | Sphere(Sphere), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ref` which comes from the expansion of the macro `hittables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 131 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 148 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/infplane.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 30 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable/sphere.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, r: &Ray, t_range: Range) -> 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] 30 | fn hit(&self, r: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "4ae962b77610b16cb028ba303af921d3a92b64f6518cb2e2ea64fd452cd8a0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae962b77610b16cb028ba303af921d3a92b64f6518cb2e2ea64fd452cd8a0dd", kill_on_drop: false }` [INFO] [stdout] 4ae962b77610b16cb028ba303af921d3a92b64f6518cb2e2ea64fd452cd8a0dd