[INFO] cloning repository https://github.com/sansumbrella/path-tracer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sansumbrella/path-tracer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsansumbrella%2Fpath-tracer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsansumbrella%2Fpath-tracer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9de8797bfa957b82393d1757b84c24357ddc0f02 [INFO] testing sansumbrella/path-tracer-rs 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%2Fsansumbrella%2Fpath-tracer-rs" "/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/sansumbrella/path-tracer-rs [INFO] finished tweaking git repo https://github.com/sansumbrella/path-tracer-rs [INFO] tweaked toml for git repo https://github.com/sansumbrella/path-tracer-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sansumbrella/path-tracer-rs 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/sansumbrella/path-tracer-rs 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 autocfg v0.1.1 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded rand_os v0.1.0 [INFO] [stderr] Downloaded num-derive v0.2.3 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded num-rational v0.2.1 [INFO] [stderr] Downloaded inflate v0.4.4 [INFO] [stderr] Downloaded gif v0.10.1 [INFO] [stderr] Downloaded rayon-core v1.4.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.15 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded approx v0.3.1 [INFO] [stderr] Downloaded rand v0.6.3 [INFO] [stderr] Downloaded deflate v0.7.19 [INFO] [stderr] Downloaded image v0.20.1 [INFO] [stderr] Downloaded syn v0.15.23 [INFO] [stderr] Downloaded rayon v1.0.3 [INFO] [stderr] Downloaded libc v0.2.46 [INFO] [stderr] Downloaded tiff v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bac77552f70625f10de0128eadc6f41eebbc3b0599001027705a782f5c8e0323 [INFO] running `Command { std: "docker" "start" "-a" "bac77552f70625f10de0128eadc6f41eebbc3b0599001027705a782f5c8e0323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bac77552f70625f10de0128eadc6f41eebbc3b0599001027705a782f5c8e0323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac77552f70625f10de0128eadc6f41eebbc3b0599001027705a782f5c8e0323", kill_on_drop: false }` [INFO] [stdout] bac77552f70625f10de0128eadc6f41eebbc3b0599001027705a782f5c8e0323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6b2e93663c8ca502144ecc9c02dc891df5d468e43ab8a9a53178fa26f2922fad [INFO] running `Command { std: "docker" "start" "-a" "6b2e93663c8ca502144ecc9c02dc891df5d468e43ab8a9a53178fa26f2922fad", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling rand_os v0.1.0 [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 color_quant v1.0.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling path_tracing v0.1.0 (/opt/rustwide/workdir/path_tracing) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> path_tracing/src/hitable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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] = 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] 26 | 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] --> path_tracing/src/sphere.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | 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] --> path_tracing/src/world.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tiff v0.2.1 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling path-tracer v0.1.0 (/opt/rustwide/workdir/path-tracer) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.90s [INFO] running `Command { std: "docker" "inspect" "6b2e93663c8ca502144ecc9c02dc891df5d468e43ab8a9a53178fa26f2922fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2e93663c8ca502144ecc9c02dc891df5d468e43ab8a9a53178fa26f2922fad", kill_on_drop: false }` [INFO] [stdout] 6b2e93663c8ca502144ecc9c02dc891df5d468e43ab8a9a53178fa26f2922fad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7ad4785cd612250e3fc8eb846eedc7d751e5b87a6c19296d1c43ab2e77eedb70 [INFO] running `Command { std: "docker" "start" "-a" "7ad4785cd612250e3fc8eb846eedc7d751e5b87a6c19296d1c43ab2e77eedb70", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> path_tracing/src/hitable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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] = 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] 26 | 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] --> path_tracing/src/sphere.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | 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] --> path_tracing/src/world.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling path_tracing v0.1.0 (/opt/rustwide/workdir/path_tracing) [INFO] [stderr] Compiling path-tracer v0.1.0 (/opt/rustwide/workdir/path-tracer) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> path_tracing/src/hitable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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] = 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] 26 | 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] --> path_tracing/src/sphere.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | 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] --> path_tracing/src/world.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | 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 1.23s [INFO] running `Command { std: "docker" "inspect" "7ad4785cd612250e3fc8eb846eedc7d751e5b87a6c19296d1c43ab2e77eedb70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad4785cd612250e3fc8eb846eedc7d751e5b87a6c19296d1c43ab2e77eedb70", kill_on_drop: false }` [INFO] [stdout] 7ad4785cd612250e3fc8eb846eedc7d751e5b87a6c19296d1c43ab2e77eedb70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c83dd09cedd81a85a989b19f5bb17d882f5f860152f0c92fd93351ae7c19f452 [INFO] running `Command { std: "docker" "start" "-a" "c83dd09cedd81a85a989b19f5bb17d882f5f860152f0c92fd93351ae7c19f452", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> path_tracing/src/hitable.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | 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] = 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] 26 | 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] --> path_tracing/src/sphere.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | 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] 12 | 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] [stdout] [INFO] [stderr] --> path_tracing/src/world.rs:7:12 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 7 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] [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] 7 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `path_tracing` (lib) generated 3 warnings (run `cargo fix --lib -p path_tracing` to apply 3 suggestions) [INFO] [stderr] warning: `path_tracing` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/path_tracer-dc840bbb5601e323) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/path_tracing-1e46816c7a808535) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test utilities::tests::mixing_built_in_types ... ok [INFO] [stdout] test ray::tests::point_along_ray ... ok [INFO] [stdout] test utilities::tests::mixing_vector_types ... ok [INFO] [stdout] test sphere::tests::sphere_at_origin ... ok [INFO] [stdout] test utilities::tests::cross_product ... ok [INFO] [stdout] test utilities::tests::dot_product ... ok [INFO] [stdout] test utilities::tests::normalize_vectors ... ok [INFO] [stdout] test utilities::tests::sphere_random ... ok [INFO] [stdout] test utilities::tests::trigonometry_functions ... ok [INFO] [stdout] test vector::tests::division ... ok [INFO] [stdout] test vector::tests::addition ... ok [INFO] [stdout] test vector::tests::multiplication ... ok [INFO] [stdout] test vector::tests::subtraction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c83dd09cedd81a85a989b19f5bb17d882f5f860152f0c92fd93351ae7c19f452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83dd09cedd81a85a989b19f5bb17d882f5f860152f0c92fd93351ae7c19f452", kill_on_drop: false }` [INFO] [stdout] c83dd09cedd81a85a989b19f5bb17d882f5f860152f0c92fd93351ae7c19f452