[INFO] cloning repository https://github.com/julioolvr/raytracing-in-a-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julioolvr/raytracing-in-a-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulioolvr%2Fraytracing-in-a-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulioolvr%2Fraytracing-in-a-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 330bf0913feecd6a6e1e30d8d5331d04636f9c8d [INFO] testing julioolvr/raytracing-in-a-weekend 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%2Fjulioolvr%2Fraytracing-in-a-weekend" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/julioolvr/raytracing-in-a-weekend [INFO] finished tweaking git repo https://github.com/julioolvr/raytracing-in-a-weekend [INFO] tweaked toml for git repo https://github.com/julioolvr/raytracing-in-a-weekend written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/julioolvr/raytracing-in-a-weekend 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/julioolvr/raytracing-in-a-weekend 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 bitflags v1.2.0 [INFO] [stderr] Downloaded crossbeam v0.6.0 [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 17457bdecb6ed45838058ff1003b36d5f1bb89abff5921f7ba0c081d8809e37d [INFO] running `Command { std: "docker" "start" "-a" "17457bdecb6ed45838058ff1003b36d5f1bb89abff5921f7ba0c081d8809e37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17457bdecb6ed45838058ff1003b36d5f1bb89abff5921f7ba0c081d8809e37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17457bdecb6ed45838058ff1003b36d5f1bb89abff5921f7ba0c081d8809e37d", kill_on_drop: false }` [INFO] [stdout] 17457bdecb6ed45838058ff1003b36d5f1bb89abff5921f7ba0c081d8809e37d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0d12c5b04f07c285622bd2ee8a497ab56963e5e938625335029263b1c829ec1d [INFO] running `Command { std: "docker" "start" "-a" "0d12c5b04f07c285622bd2ee8a497ab56963e5e938625335029263b1c829ec1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling raytracing-in-a-weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/raytracer/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | w: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `water` and `diamond` are never used [INFO] [stdout] --> src/raytracer/material/dielectric.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn water() -> Dielectric { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn diamond() -> Dielectric { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/raytracer/hit.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(t: f64, p: Vector3, normal: Vector3, material: &'a dyn Material) -> Hit { [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] 12 | pub fn new(t: f64, p: Vector3, normal: Vector3, material: &'a dyn Material) -> Hit<'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/raytracer/hit.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn check_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] 18 | fn check_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/raytracer/hit.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | fn check_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] 22 | fn check_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/raytracer/sphere.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn check_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] 17 | fn check_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 11.70s [INFO] running `Command { std: "docker" "inspect" "0d12c5b04f07c285622bd2ee8a497ab56963e5e938625335029263b1c829ec1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d12c5b04f07c285622bd2ee8a497ab56963e5e938625335029263b1c829ec1d", kill_on_drop: false }` [INFO] [stdout] 0d12c5b04f07c285622bd2ee8a497ab56963e5e938625335029263b1c829ec1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 02a5febf1f0bbcd958f21e45dfc058fa418aa28105e8bf88d586d83a5eca88d9 [INFO] running `Command { std: "docker" "start" "-a" "02a5febf1f0bbcd958f21e45dfc058fa418aa28105e8bf88d586d83a5eca88d9", kill_on_drop: false }` [INFO] [stderr] Compiling raytracing-in-a-weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/raytracer/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | w: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `water` and `diamond` are never used [INFO] [stdout] --> src/raytracer/material/dielectric.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn water() -> Dielectric { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn diamond() -> Dielectric { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/raytracer/hit.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(t: f64, p: Vector3, normal: Vector3, material: &'a dyn Material) -> Hit { [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] 12 | pub fn new(t: f64, p: Vector3, normal: Vector3, material: &'a dyn Material) -> Hit<'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/raytracer/hit.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn check_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] 18 | fn check_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/raytracer/hit.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | fn check_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] 22 | fn check_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/raytracer/sphere.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn check_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] 17 | fn check_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.72s [INFO] running `Command { std: "docker" "inspect" "02a5febf1f0bbcd958f21e45dfc058fa418aa28105e8bf88d586d83a5eca88d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a5febf1f0bbcd958f21e45dfc058fa418aa28105e8bf88d586d83a5eca88d9", kill_on_drop: false }` [INFO] [stdout] 02a5febf1f0bbcd958f21e45dfc058fa418aa28105e8bf88d586d83a5eca88d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3777bd3770e45a94f2b6332063f8a6341e7dbe9fe72c03bf4d335ffc47ac012e [INFO] running `Command { std: "docker" "start" "-a" "3777bd3770e45a94f2b6332063f8a6341e7dbe9fe72c03bf4d335ffc47ac012e", kill_on_drop: false }` [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/raytracer/camera.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | w: Vector3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `water` and `diamond` are never used [INFO] [stderr] --> src/raytracer/material/dielectric.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Dielectric { [INFO] [stderr] | --------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn water() -> Dielectric { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn diamond() -> Dielectric { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/raytracer/hit.rs:12:64 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(t: f64, p: Vector3, normal: Vector3, material: &'a dyn Material) -> Hit { [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] 12 | pub fn new(t: f64, p: Vector3, normal: Vector3, material: &'a dyn Material) -> Hit<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/raytracer/hit.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | fn check_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] 18 | fn check_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/raytracer/hit.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | fn check_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] 22 | fn check_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/raytracer/sphere.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | fn check_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] 17 | fn check_hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `raytracing-in-a-weekend` (bin "raytracing-in-a-weekend" test) generated 6 warnings (run `cargo fix --bin "raytracing-in-a-weekend" --tests` to apply 4 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/raytracing_in_a_weekend-cd7fe83e0b3fbe07) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test raytracer::material::dielectric::tests::refract_45_degree_angle ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3777bd3770e45a94f2b6332063f8a6341e7dbe9fe72c03bf4d335ffc47ac012e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3777bd3770e45a94f2b6332063f8a6341e7dbe9fe72c03bf4d335ffc47ac012e", kill_on_drop: false }` [INFO] [stdout] 3777bd3770e45a94f2b6332063f8a6341e7dbe9fe72c03bf4d335ffc47ac012e