[INFO] cloning repository https://github.com/charliehpearce/rust-ray-tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charliehpearce/rust-ray-tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliehpearce%2Frust-ray-tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliehpearce%2Frust-ray-tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1afcb7caa90e01c3cc30c5762a58423624e20fb3 [INFO] testing charliehpearce/rust-ray-tracing against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliehpearce%2Frust-ray-tracing" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/charliehpearce/rust-ray-tracing [INFO] finished tweaking git repo https://github.com/charliehpearce/rust-ray-tracing [INFO] tweaked toml for git repo https://github.com/charliehpearce/rust-ray-tracing written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/charliehpearce/rust-ray-tracing 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/charliehpearce/rust-ray-tracing 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simba v0.7.1 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded weezl v0.1.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded wide v0.7.4 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded num-complex v0.4.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded safe_arch v0.6.0 [INFO] [stderr] Downloaded nalgebra v0.31.0 [INFO] [stderr] Downloaded paste v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 341c5ef001e1f03ae5038f883ce1953679b28f4b18e97a10f212cac2d4d4cf74 [INFO] running `Command { std: "docker" "start" "-a" "341c5ef001e1f03ae5038f883ce1953679b28f4b18e97a10f212cac2d4d4cf74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "341c5ef001e1f03ae5038f883ce1953679b28f4b18e97a10f212cac2d4d4cf74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341c5ef001e1f03ae5038f883ce1953679b28f4b18e97a10f212cac2d4d4cf74", kill_on_drop: false }` [INFO] [stdout] 341c5ef001e1f03ae5038f883ce1953679b28f4b18e97a10f212cac2d4d4cf74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 36b40929575899a98916a2dc13e26246ada3932807454b4805634ea283492fa4 [INFO] running `Command { std: "docker" "start" "-a" "36b40929575899a98916a2dc13e26246ada3932807454b4805634ea283492fa4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling num-complex v0.4.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra v0.31.0 [INFO] [stderr] Compiling ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Metal` [INFO] [stdout] --> src/main.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::materials::{Lambertian, Metal}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables/lib.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(p: Point3, normal: Vec3, t: f64, matierial: &'a dyn Material) -> HitRecord { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(p: Point3, normal: Vec3, t: f64, matierial: &'a dyn Material) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 41 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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/hittables/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 61 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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/hittables/sphere.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 23 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.08s [INFO] running `Command { std: "docker" "inspect" "36b40929575899a98916a2dc13e26246ada3932807454b4805634ea283492fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b40929575899a98916a2dc13e26246ada3932807454b4805634ea283492fa4", kill_on_drop: false }` [INFO] [stdout] 36b40929575899a98916a2dc13e26246ada3932807454b4805634ea283492fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cc3c6acc1c763ca5f9e339f295e7dafe7de7a902e4ba99b4c22a66d86c949cab [INFO] running `Command { std: "docker" "start" "-a" "cc3c6acc1c763ca5f9e339f295e7dafe7de7a902e4ba99b4c22a66d86c949cab", kill_on_drop: false }` [INFO] [stderr] Compiling ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Metal` [INFO] [stdout] --> src/main.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::materials::{Lambertian, Metal}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables/lib.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(p: Point3, normal: Vec3, t: f64, matierial: &'a dyn Material) -> HitRecord { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(p: Point3, normal: Vec3, t: f64, matierial: &'a dyn Material) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 41 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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/hittables/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 61 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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/hittables/sphere.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 23 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "cc3c6acc1c763ca5f9e339f295e7dafe7de7a902e4ba99b4c22a66d86c949cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3c6acc1c763ca5f9e339f295e7dafe7de7a902e4ba99b4c22a66d86c949cab", kill_on_drop: false }` [INFO] [stdout] cc3c6acc1c763ca5f9e339f295e7dafe7de7a902e4ba99b4c22a66d86c949cab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6500fc4880ce125fda22bb3c24e10f58483f111a2ea9a1ff1d238cc5da10e5ed [INFO] running `Command { std: "docker" "start" "-a" "6500fc4880ce125fda22bb3c24e10f58483f111a2ea9a1ff1d238cc5da10e5ed", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Metal` [INFO] [stderr] --> src/main.rs:18:36 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::materials::{Lambertian, Metal}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables/lib.rs:15:61 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(p: Point3, normal: Vec3, t: f64, matierial: &'a dyn Material) -> HitRecord { [INFO] [stderr] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(p: Point3, normal: Vec3, t: f64, matierial: &'a dyn Material) -> HitRecord<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables/lib.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 41 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables/lib.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 61 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables/sphere.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> 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] 23 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ray_tracing` (bin "ray_tracing" test) generated 5 warnings (run `cargo fix --bin "ray_tracing" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ray_tracing-4cf4be9ccc4abb9e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6500fc4880ce125fda22bb3c24e10f58483f111a2ea9a1ff1d238cc5da10e5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6500fc4880ce125fda22bb3c24e10f58483f111a2ea9a1ff1d238cc5da10e5ed", kill_on_drop: false }` [INFO] [stdout] 6500fc4880ce125fda22bb3c24e10f58483f111a2ea9a1ff1d238cc5da10e5ed