[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] testing IDragnev/ray-tracer against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIDragnev%2Fray-tracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IDragnev/ray-tracer on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a913a2db20899bb5387ca5524ee500676339676c5cccb92550a6f335a420b43a [INFO] running `Command { std: "docker" "start" "-a" "a913a2db20899bb5387ca5524ee500676339676c5cccb92550a6f335a420b43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a913a2db20899bb5387ca5524ee500676339676c5cccb92550a6f335a420b43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a913a2db20899bb5387ca5524ee500676339676c5cccb92550a6f335a420b43a", kill_on_drop: false }` [INFO] [stdout] a913a2db20899bb5387ca5524ee500676339676c5cccb92550a6f335a420b43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9e6d5c53cfab81cafad1d19192b0ca9a8608ee48ea8c35247969ffc40ff6eee9 [INFO] running `Command { std: "docker" "start" "-a" "9e6d5c53cfab81cafad1d19192b0ca9a8608ee48ea8c35247969ffc40ff6eee9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling 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)]` 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)]` 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/xy_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/xz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/yz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/flip_normals.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/parallelepiped.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/moving_sphere.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transformations/translation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transformations/y_rotation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volumes/constant_medium.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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 3.72s [INFO] running `Command { std: "docker" "inspect" "9e6d5c53cfab81cafad1d19192b0ca9a8608ee48ea8c35247969ffc40ff6eee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6d5c53cfab81cafad1d19192b0ca9a8608ee48ea8c35247969ffc40ff6eee9", kill_on_drop: false }` [INFO] [stdout] 9e6d5c53cfab81cafad1d19192b0ca9a8608ee48ea8c35247969ffc40ff6eee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9068df8a3849be99956be1cdb0cc23d4502bedaec133e0561d4f5a8023d72e6e [INFO] running `Command { std: "docker" "start" "-a" "9068df8a3849be99956be1cdb0cc23d4502bedaec133e0561d4f5a8023d72e6e", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/xy_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/xz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/yz_rectangle.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/flip_normals.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/parallelepiped.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shapes/moving_sphere.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transformations/translation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transformations/y_rotation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/volumes/constant_medium.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "9068df8a3849be99956be1cdb0cc23d4502bedaec133e0561d4f5a8023d72e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9068df8a3849be99956be1cdb0cc23d4502bedaec133e0561d4f5a8023d72e6e", kill_on_drop: false }` [INFO] [stdout] 9068df8a3849be99956be1cdb0cc23d4502bedaec133e0561d4f5a8023d72e6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f63e6d09283d2c33e6efba8009c79b2f64b25e0c0e01609c66ddb56a1c48c9c [INFO] running `Command { std: "docker" "start" "-a" "7f63e6d09283d2c33e6efba8009c79b2f64b25e0c0e01609c66ddb56a1c48c9c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `prelude::VectorSpace` [INFO] [stderr] --> src/math/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | prelude::VectorSpace, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `constant_medium::ConstantMedium` [INFO] [stderr] --> src/volumes/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use constant_medium::ConstantMedium; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Isotropic` is never constructed [INFO] [stderr] --> src/materials/isotropic.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Isotropic { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/materials/isotropic.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Isotropic { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 21 | pub fn new(albedo: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `u` and `v` are never read [INFO] [stderr] --> src/textures/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct TextureCoordinates { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 18 | pub u: f32, [INFO] [stderr] | ^ [INFO] [stderr] 19 | pub v: f32, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `TextureCoordinates` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ConstantMedium` is never constructed [INFO] [stderr] --> src/volumes/constant_medium.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct ConstantMedium { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/volumes/constant_medium.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl ConstantMedium { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 32 | pub fn new(density: f32, boundary: Box, texture: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/sphere.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 40 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/xy_rectangle.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/xz_rectangle.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/yz_rectangle.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/flip_normals.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 28 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/parallelepiped.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 32 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shapes/moving_sphere.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 62 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scene.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 29 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/hittable.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 15 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bvh/mod.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transformations/translation.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 31 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transformations/y_rotation.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 71 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/volumes/constant_medium.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 42 | fn hit(&self, ray: &Ray, hit_interval: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ray-tracer` (bin "ray-tracer" test) generated 20 warnings (run `cargo fix --bin "ray-tracer" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ray_tracer-92f692cd709de678) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test aabb::tests::ray_outside_of_aabb_does_not_hit_it ... ok [INFO] [stdout] test aabb::tests::ray_parallel_to_aabb_does_not_hit_it ... ok [INFO] [stdout] test aabb::tests::surrounding_box_test ... ok [INFO] [stdout] test aabb::tests::ray_through_aabb_hits_it ... ok [INFO] [stdout] test math::interval::tests::interval_models_open_intervals ... ok [INFO] [stdout] test math::interval::tests::overlap_with_non_overlapping_intervals ... ok [INFO] [stdout] test math::interval::tests::overlap_with_overlapping_intervals ... ok [INFO] [stdout] test shapes::moving_sphere::tests::ray_outside_a_moving_sphere_at_cast_time_does_not_hit_it ... ok [INFO] [stdout] test shapes::moving_sphere::tests::ray_through_a_moving_sphere_at_cast_time_hits_it ... ok [INFO] [stdout] test shapes::parallelepiped::tests::ray_outside_the_parallelepiped_does_not_hit_it ... ok [INFO] [stdout] test shapes::parallelepiped::tests::ray_through_the_parallelepiped_hits_it ... ok [INFO] [stdout] test shapes::sphere::tests::ray_outside_a_sphere_does_not_hit_it ... ok [INFO] [stdout] test shapes::sphere::tests::ray_through_a_sphere_hits_it ... ok [INFO] [stdout] test shapes::xy_rectangle::tests::ray_outside_the_rectangle_does_not_hit_it ... ok [INFO] [stdout] test shapes::xy_rectangle::tests::ray_through_the_rectangle_hits_it ... ok [INFO] [stdout] test shapes::xz_rectangle::tests::ray_outside_the_rectangle_does_not_hit_it ... ok [INFO] [stdout] test shapes::xz_rectangle::tests::ray_through_the_rectangle_hits_it ... ok [INFO] [stdout] test shapes::yz_rectangle::tests::ray_outside_the_rectangle_does_not_hit_it ... ok [INFO] [stdout] test shapes::yz_rectangle::tests::ray_through_the_rectangle_hits_it ... ok [INFO] [stdout] test transformations::translation::tests::ray_outside_a_translated_rectangle_does_not_hit_it ... ok [INFO] [stdout] test transformations::translation::tests::ray_through_a_translated_rectangle_hits_it ... ok [INFO] [stdout] test transformations::y_rotation::tests::ray_outside_a_rotated_parallelepiped_does_not_hit_it ... ok [INFO] [stdout] test transformations::y_rotation::tests::ray_through_a_rotated_parallelepiped_hits_it ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f63e6d09283d2c33e6efba8009c79b2f64b25e0c0e01609c66ddb56a1c48c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f63e6d09283d2c33e6efba8009c79b2f64b25e0c0e01609c66ddb56a1c48c9c", kill_on_drop: false }` [INFO] [stdout] 7f63e6d09283d2c33e6efba8009c79b2f64b25e0c0e01609c66ddb56a1c48c9c