[INFO] cloning repository https://github.com/SnowWalkerJ/RustRayTrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SnowWalkerJ/RustRayTrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnowWalkerJ%2FRustRayTrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnowWalkerJ%2FRustRayTrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75956e5ee60396a680c941e5856764c5d7219075 [INFO] building SnowWalkerJ/RustRayTrace against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnowWalkerJ%2FRustRayTrace" "/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/SnowWalkerJ/RustRayTrace [INFO] finished tweaking git repo https://github.com/SnowWalkerJ/RustRayTrace [INFO] tweaked toml for git repo https://github.com/SnowWalkerJ/RustRayTrace written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SnowWalkerJ/RustRayTrace on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SnowWalkerJ/RustRayTrace 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.90 [INFO] [stderr] Downloaded libc v0.2.160 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70c4534f3220a9b2679afe464495ea5eb896fc586fbcc1284bb97db15b8ed1e6 [INFO] running `Command { std: "docker" "start" "-a" "70c4534f3220a9b2679afe464495ea5eb896fc586fbcc1284bb97db15b8ed1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c4534f3220a9b2679afe464495ea5eb896fc586fbcc1284bb97db15b8ed1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c4534f3220a9b2679afe464495ea5eb896fc586fbcc1284bb97db15b8ed1e6", kill_on_drop: false }` [INFO] [stdout] 70c4534f3220a9b2679afe464495ea5eb896fc586fbcc1284bb97db15b8ed1e6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5fabad14e9f3644d4b17c7830996a6595480812e1f32c9f0b06284d2bea67c [INFO] running `Command { std: "docker" "start" "-a" "de5fabad14e9f3644d4b17c7830996a6595480812e1f32c9f0b06284d2bea67c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling libc v0.2.160 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.4 [INFO] [stderr] Compiling RayTrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Medium` is never constructed [INFO] [stdout] --> src/shapes/medium.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Medium { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_hit` are never used [INFO] [stdout] --> src/shapes/medium.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Medium { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/materials/dielectric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflectance` is never used [INFO] [stdout] --> src/materials/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/misc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn random() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTrace` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ray_trace` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [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] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/quard.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> 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] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> 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] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shape.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> 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 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.70s [INFO] running `Command { std: "docker" "inspect" "de5fabad14e9f3644d4b17c7830996a6595480812e1f32c9f0b06284d2bea67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5fabad14e9f3644d4b17c7830996a6595480812e1f32c9f0b06284d2bea67c", kill_on_drop: false }` [INFO] [stdout] de5fabad14e9f3644d4b17c7830996a6595480812e1f32c9f0b06284d2bea67c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f415207769384aa1a559cfad10a35d5c74fba81fd15d05a682ed76542061d7d [INFO] running `Command { std: "docker" "start" "-a" "9f415207769384aa1a559cfad10a35d5c74fba81fd15d05a682ed76542061d7d", kill_on_drop: false }` [INFO] [stdout] warning: struct `Medium` is never constructed [INFO] [stdout] --> src/shapes/medium.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Medium { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_hit` are never used [INFO] [stdout] --> src/shapes/medium.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Medium { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling RayTrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/materials/dielectric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflectance` is never used [INFO] [stdout] --> src/materials/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/misc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn random() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTrace` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ray_trace` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [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] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/quard.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> 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] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> 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] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shape.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> 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 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Medium` is never constructed [INFO] [stdout] --> src/shapes/medium.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Medium { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_hit` are never used [INFO] [stdout] --> src/shapes/medium.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Medium { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/materials/dielectric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflectance` is never used [INFO] [stdout] --> src/materials/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/misc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn random() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [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] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/quard.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> 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] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> 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] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shape.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> 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] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> 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 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "9f415207769384aa1a559cfad10a35d5c74fba81fd15d05a682ed76542061d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f415207769384aa1a559cfad10a35d5c74fba81fd15d05a682ed76542061d7d", kill_on_drop: false }` [INFO] [stdout] 9f415207769384aa1a559cfad10a35d5c74fba81fd15d05a682ed76542061d7d