[INFO] cloning repository https://github.com/stevebest/rust-raytracer-in-one-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevebest/rust-raytracer-in-one-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebest%2Frust-raytracer-in-one-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebest%2Frust-raytracer-in-one-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f63844b8e7d1585da583cc434391e3b2203aabe0 [INFO] testing stevebest/rust-raytracer-in-one-weekend against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebest%2Frust-raytracer-in-one-weekend" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stevebest/rust-raytracer-in-one-weekend [INFO] finished tweaking git repo https://github.com/stevebest/rust-raytracer-in-one-weekend [INFO] tweaked toml for git repo https://github.com/stevebest/rust-raytracer-in-one-weekend written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stevebest/rust-raytracer-in-one-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/stevebest/rust-raytracer-in-one-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 714a5d89a8f2ab7e20833269d3684f611269da960079cd32f48993b0ffa4c931 [INFO] running `Command { std: "docker" "start" "-a" "714a5d89a8f2ab7e20833269d3684f611269da960079cd32f48993b0ffa4c931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "714a5d89a8f2ab7e20833269d3684f611269da960079cd32f48993b0ffa4c931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714a5d89a8f2ab7e20833269d3684f611269da960079cd32f48993b0ffa4c931", kill_on_drop: false }` [INFO] [stdout] 714a5d89a8f2ab7e20833269d3684f611269da960079cd32f48993b0ffa4c931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 97912bc6cd2b731d2dbabe787642e173a7072fc2505528113549d579c0be4881 [INFO] running `Command { std: "docker" "start" "-a" "97912bc6cd2b731d2dbabe787642e173a7072fc2505528113549d579c0be4881", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.8.3 [INFO] [stderr] Compiling png v0.16.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pbrt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `uv` is never read [INFO] [stdout] --> src/shape/triangle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | uv: (Float, Float), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scene` is never used [INFO] [stdout] --> src/scene.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait Node: std::marker::Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 2 | /// Returns a `Scene` that it belongs to. [INFO] [stdout] 3 | fn scene(&self) -> &Scene; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/scene.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | nodes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hit.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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/shape/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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/bin/main.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 91 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "97912bc6cd2b731d2dbabe787642e173a7072fc2505528113549d579c0be4881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97912bc6cd2b731d2dbabe787642e173a7072fc2505528113549d579c0be4881", kill_on_drop: false }` [INFO] [stdout] 97912bc6cd2b731d2dbabe787642e173a7072fc2505528113549d579c0be4881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 75db432b373045ec26045371518b53e3af4abfeb7bbf2104cc211aa1fc94e911 [INFO] running `Command { std: "docker" "start" "-a" "75db432b373045ec26045371518b53e3af4abfeb7bbf2104cc211aa1fc94e911", kill_on_drop: false }` [INFO] [stderr] Compiling pbrt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `uv` is never read [INFO] [stdout] --> src/shape/triangle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | uv: (Float, Float), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scene` is never used [INFO] [stdout] --> src/scene.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait Node: std::marker::Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 2 | /// Returns a `Scene` that it belongs to. [INFO] [stdout] 3 | fn scene(&self) -> &Scene; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/scene.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | nodes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hit.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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/shape/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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/bin/main.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 91 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uv` is never read [INFO] [stdout] --> src/shape/triangle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | uv: (Float, Float), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scene` is never used [INFO] [stdout] --> src/scene.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait Node: std::marker::Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 2 | /// Returns a `Scene` that it belongs to. [INFO] [stdout] 3 | fn scene(&self) -> &Scene; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/scene.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | nodes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hit.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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/shape/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "75db432b373045ec26045371518b53e3af4abfeb7bbf2104cc211aa1fc94e911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75db432b373045ec26045371518b53e3af4abfeb7bbf2104cc211aa1fc94e911", kill_on_drop: false }` [INFO] [stdout] 75db432b373045ec26045371518b53e3af4abfeb7bbf2104cc211aa1fc94e911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f6a898207e3749d8130d13c2952be7ff8d9c36b2991a003e89f7b472745d0ef1 [INFO] running `Command { std: "docker" "start" "-a" "f6a898207e3749d8130d13c2952be7ff8d9c36b2991a003e89f7b472745d0ef1", kill_on_drop: false }` [INFO] [stderr] warning: field `uv` is never read [INFO] [stderr] --> src/shape/triangle.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 34 | struct Intersection { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 42 | uv: (Float, Float), [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `scene` is never used [INFO] [stderr] --> src/scene.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 1 | trait Node: std::marker::Sync { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] 2 | /// Returns a `Scene` that it belongs to. [INFO] [stderr] 3 | fn scene(&self) -> &Scene; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `nodes` is never read [INFO] [stderr] --> src/scene.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Scene { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 7 | nodes: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hit.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 8 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shape/sphere.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 14 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pbrt` (lib) generated 5 warnings (run `cargo fix --lib -p pbrt` to apply 2 suggestions) [INFO] [stderr] warning: `pbrt` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bin/main.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> 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] 91 | fn hit(&self, ray: &Ray, t_min: Float, t_max: Float) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pbrt` (bin "pbrt" test) generated 1 warning (run `cargo fix --bin "pbrt" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pbrt-7fc6abb86d290c9a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test material::dielectric::tests::test_refract_front ... ok [INFO] [stdout] test shape::triangle::test::triangle_ray_intersection ... ok [INFO] [stdout] test geo::vec3::test::test_cross ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pbrt-b2b62e6512b0ba9a) [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" "f6a898207e3749d8130d13c2952be7ff8d9c36b2991a003e89f7b472745d0ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a898207e3749d8130d13c2952be7ff8d9c36b2991a003e89f7b472745d0ef1", kill_on_drop: false }` [INFO] [stdout] f6a898207e3749d8130d13c2952be7ff8d9c36b2991a003e89f7b472745d0ef1