[INFO] cloning repository https://github.com/IDragnev/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IDragnev/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIDragnev%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIDragnev%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6364452255d243ea796bea99bb21292f5ac32bfc [INFO] checking IDragnev/ray-tracer against master#029c9e18dd1f4668e1d42bb187c1c263dfe20093 for pr-157562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIDragnev%2Fray-tracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IDragnev/ray-tracer [INFO] finished tweaking git repo https://github.com/IDragnev/ray-tracer [INFO] tweaked toml for git repo https://github.com/IDragnev/ray-tracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IDragnev/ray-tracer on toolchain 029c9e18dd1f4668e1d42bb187c1c263dfe20093 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IDragnev/ray-tracer 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" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded approx v0.3.2 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded clap v2.27.1 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78 [INFO] running `Command { std: "docker" "start" "266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::VectorSpace` [INFO] [stdout] --> src/math/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | prelude::VectorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_medium::ConstantMedium` [INFO] [stdout] --> src/volumes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use constant_medium::ConstantMedium; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::VectorSpace` [INFO] [stdout] --> src/math/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | prelude::VectorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_medium::ConstantMedium` [INFO] [stdout] --> src/volumes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use constant_medium::ConstantMedium; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Isotropic` is never constructed [INFO] [stdout] --> src/materials/isotropic.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Isotropic { [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 function `new` is never used [INFO] [stdout] --> src/materials/isotropic.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(albedo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `u` and `v` are never read [INFO] [stdout] --> src/textures/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TextureCoordinates { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 18 | pub u: f32, [INFO] [stdout] | ^ [INFO] [stdout] 19 | pub v: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureCoordinates` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures/noise_texture.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl PerlinData { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_255_unit_vectors` is never used [INFO] [stdout] --> src/textures/noise_texture.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn random_255_unit_vectors() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_permutation_0_to_255` is never used [INFO] [stdout] --> src/textures/noise_texture.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn random_permutation_0_to_255() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/textures/noise_texture.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn permute(vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstantMedium` is never constructed [INFO] [stdout] --> src/volumes/constant_medium.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ConstantMedium { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volumes/constant_medium.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(density: f32, boundary: Box, texture: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, ray: &Ray, hit_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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, ray: &Ray, hit_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/xy_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_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] 46 | fn hit(&self, ray: &Ray, hit_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/xz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_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] 46 | fn hit(&self, ray: &Ray, hit_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/yz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_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] 46 | fn hit(&self, ray: &Ray, hit_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/flip_normals.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, hit_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, hit_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/parallelepiped.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, hit_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] 32 | fn hit(&self, ray: &Ray, hit_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/moving_sphere.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: &Ray, hit_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] 62 | fn hit(&self, ray: &Ray, hit_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:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn hit(&self, ray: &Ray, hit_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] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/hittable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, hit_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] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn hit(&self, ray: &Ray, hit_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] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transformations/translation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, hit_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, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transformations/y_rotation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, hit_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] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volumes/constant_medium.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, hit_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] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Isotropic` is never constructed [INFO] [stdout] --> src/materials/isotropic.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Isotropic { [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 function `new` is never used [INFO] [stdout] --> src/materials/isotropic.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(albedo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `u` and `v` are never read [INFO] [stdout] --> src/textures/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TextureCoordinates { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 18 | pub u: f32, [INFO] [stdout] | ^ [INFO] [stdout] 19 | pub v: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureCoordinates` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstantMedium` is never constructed [INFO] [stdout] --> src/volumes/constant_medium.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ConstantMedium { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volumes/constant_medium.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(density: f32, boundary: Box, texture: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, ray: &Ray, hit_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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, ray: &Ray, hit_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/xy_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_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] 46 | fn hit(&self, ray: &Ray, hit_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/xz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_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] 46 | fn hit(&self, ray: &Ray, hit_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/yz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_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] 46 | fn hit(&self, ray: &Ray, hit_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/flip_normals.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, hit_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, hit_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/parallelepiped.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, hit_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] 32 | fn hit(&self, ray: &Ray, hit_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/moving_sphere.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: &Ray, hit_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] 62 | fn hit(&self, ray: &Ray, hit_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:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn hit(&self, ray: &Ray, hit_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] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/hittable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, hit_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] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn hit(&self, ray: &Ray, hit_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] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transformations/translation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, hit_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, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transformations/y_rotation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, hit_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] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volumes/constant_medium.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, hit_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] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.64s [INFO] running `Command { std: "docker" "inspect" "266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78", kill_on_drop: false }` [INFO] [stdout] 266021b7948f30294c33086be8f7027df5037f3f7d8ae6c3051b0272a9056b78