[INFO] cloning repository https://github.com/javogel/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/javogel/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavogel%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavogel%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c057fbcc42116aa2e84283f956c823e48e22b75f [INFO] testing javogel/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%2Fjavogel%2Fray_tracer" "/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/javogel/ray_tracer [INFO] finished tweaking git repo https://github.com/javogel/ray_tracer [INFO] tweaked toml for git repo https://github.com/javogel/ray_tracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/javogel/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/javogel/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] 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] 41f9c6cf6073896eebbd466cb5dd28a7a34dab9f499f7d5c023d63ae36f60849 [INFO] running `Command { std: "docker" "start" "-a" "41f9c6cf6073896eebbd466cb5dd28a7a34dab9f499f7d5c023d63ae36f60849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41f9c6cf6073896eebbd466cb5dd28a7a34dab9f499f7d5c023d63ae36f60849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f9c6cf6073896eebbd466cb5dd28a7a34dab9f499f7d5c023d63ae36f60849", kill_on_drop: false }` [INFO] [stdout] 41f9c6cf6073896eebbd466cb5dd28a7a34dab9f499f7d5c023d63ae36f60849 [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] 1963b4510e1245984bd0163a7876b85eb94d478882b72ed23ef4e446eaae34ef [INFO] running `Command { std: "docker" "start" "-a" "1963b4510e1245984bd0163a7876b85eb94d478882b72ed23ef4e446eaae34ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir/ray_tracer) [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> ray_tracer/src/shapes/sphere.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub center: Tuple, [INFO] [stdout] 11 | radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/ray.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hit(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hit(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/shapes/object.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 48 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/world.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.71s [INFO] running `Command { std: "docker" "inspect" "1963b4510e1245984bd0163a7876b85eb94d478882b72ed23ef4e446eaae34ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1963b4510e1245984bd0163a7876b85eb94d478882b72ed23ef4e446eaae34ef", kill_on_drop: false }` [INFO] [stdout] 1963b4510e1245984bd0163a7876b85eb94d478882b72ed23ef4e446eaae34ef [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] adfd241020690f25b469af6193b9792a22b082067ac2becadb5ecc0733e1de8d [INFO] running `Command { std: "docker" "start" "-a" "adfd241020690f25b469af6193b9792a22b082067ac2becadb5ecc0733e1de8d", kill_on_drop: false }` [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> ray_tracer/src/shapes/sphere.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub center: Tuple, [INFO] [stdout] 11 | radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/ray.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hit(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hit(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/shapes/object.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 48 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/world.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir/ray_tracer) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> ray_tracer/src/shapes/sphere.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub center: Tuple, [INFO] [stdout] 11 | radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/ray.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hit(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hit(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/shapes/object.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 48 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ray_tracer/src/world.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.20s [INFO] running `Command { std: "docker" "inspect" "adfd241020690f25b469af6193b9792a22b082067ac2becadb5ecc0733e1de8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfd241020690f25b469af6193b9792a22b082067ac2becadb5ecc0733e1de8d", kill_on_drop: false }` [INFO] [stdout] adfd241020690f25b469af6193b9792a22b082067ac2becadb5ecc0733e1de8d [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] 9691c9529c135c7676feb115210a30785d39ba14e52d25216f8d0954a91bde05 [INFO] running `Command { std: "docker" "start" "-a" "9691c9529c135c7676feb115210a30785d39ba14e52d25216f8d0954a91bde05", kill_on_drop: false }` [INFO] [stderr] warning: field `radius` is never read [INFO] [stderr] --> ray_tracer/src/shapes/sphere.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Sphere { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 10 | pub center: Tuple, [INFO] [stderr] 11 | radius: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> ray_tracer/src/ray.rs:45:16 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn hit(&self) -> Option { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 45 | pub fn hit(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> ray_tracer/src/shapes/object.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 48 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> ray_tracer/src/world.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn intersect(&self, r: &Ray) -> Intersect { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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 | pub fn intersect(&self, r: &Ray) -> Intersect<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ray_tracer` (lib) generated 4 warnings (run `cargo fix --lib -p ray_tracer` to apply 3 suggestions) [INFO] [stderr] warning: `ray_tracer` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cli-3e98e8667aecdcec) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ray_tracer-5e78a177b6c5cc6b) [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] [stderr] Running tests/camera_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/camera_test-111d22c9e172b3b2) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test arbitrary_view_transform ... ok [INFO] [stdout] test constructing_ray_through_center_of_canvas ... ok [INFO] [stdout] test constructing_ray_through_corner_of_canvas ... ok [INFO] [stdout] test camera_creation ... ok [INFO] [stdout] test pixel_size_for_horizontal_canvas ... ok [INFO] [stdout] test pixel_size_for_vertical_canvas ... ok [INFO] [stdout] test constructing_ray_when_camera_is_transformed ... ok [INFO] [stdout] test view_transform_moves_the_world ... ok [INFO] [stdout] test view_transform_looking_in_positive_z_direction ... ok [INFO] [stdout] test view_transormation_for_default_orientation ... ok [INFO] [stdout] test rendering_a_world_with_a_camera ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/canvas_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/canvas_test-afd56a0f45486b92) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_canvas ... ok [INFO] [stdout] test test_pixel_at ... ok [INFO] [stdout] test test_long_lines_in_ppm ... ok [INFO] [stdout] test test_ppm_body ... ok [INFO] [stdout] test test_ppm_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/color_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/color_test-38b09620edf568da) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_color_multiplication ... ok [INFO] [stdout] test test_addition ... ok [INFO] [stdout] test test_subtraction ... ok [INFO] [stdout] test test_scalar_multiplication ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/light_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/light_test-70663c15e503bb6a) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test lighting_with_eye_between_light_and_surface ... ok [INFO] [stdout] test lighting_with_eye_between_light_and_surface_and_eye_offset_45 ... ok [INFO] [stdout] test point_light_has_intensity_and_position ... ok [INFO] [stdout] test lighting_with_light_behind_surface ... ok [INFO] [stdout] test lighting_with_surface_in_shadow ... ok [INFO] [stdout] test the_is_no_shadow_when_object_is_behind_light ... ok [INFO] [stdout] test the_is_no_shadow_when_object_is_behind_point ... ok [INFO] [stdout] test lighting_with_eye_in_path_of_reflection_vector ... ok [INFO] [stdout] test lighting_with_eye_opposite_surface_and_light_offset_45 ... ok [INFO] [stdout] test the_shadow_when_object_is_between_point_and_light ... ok [INFO] [stdout] test there_is_no_shadow_when_nothing_is_collinear_with_point_and_light ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/material_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/material_test-aaf6a197b393af48) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test creating_default_material ... 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] [stderr] Running tests/matrix_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/matrix_test-86bd468b6f367d31) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test test_determinant ... ok [INFO] [stdout] test test_identity_matrix_multiplication ... ok [INFO] [stdout] test test_determinant_of_4x4 ... ok [INFO] [stdout] test test_inversion ... ok [INFO] [stdout] test test_cofactors ... ok [INFO] [stdout] test test_identity_matrix_transpose ... ok [INFO] [stdout] test test_determinant_of_3x3 ... ok [INFO] [stdout] test test_matrix_from_3x3 ... ok [INFO] [stdout] test test_is_invertible ... ok [INFO] [stdout] test test_matrix_transpose ... ok [INFO] [stdout] test test_matrix ... ok [INFO] [stdout] test test_matrix_multiplication ... ok [INFO] [stdout] test test_matrix_from_4x4 ... ok [INFO] [stdout] test test_matrix_equality ... ok [INFO] [stdout] test test_matrix_from_2x2 ... ok [INFO] [stdout] test test_matrix_x_tuple_multiplication ... ok [INFO] [stdout] test test_minors ... ok [INFO] [stderr] Running tests/pattern_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pattern_test-e69d001b33483aa8) [INFO] [stdout] test test_multiply_product_by_inverse ... ok [INFO] [stdout] test test_submatrix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test creating_a_stripe_pattern ... ok [INFO] [stdout] test gradient_linearly_interpoilates_between_colors ... ok [INFO] [stdout] test stripe_pattern_alternates_in_x ... ok [INFO] [stdout] test checkers_should_repeat_in_x ... ok [INFO] [stdout] test ring_pattern_should_extend_in_both_x_and_z ... ok [INFO] [stdout] test stripe_pattern_is_constant_in_y ... ok [INFO] [stdout] test stripe_pattern_is_constant_in_z ... ok [INFO] [stdout] test checkers_should_repeat_in_y ... ok [INFO] [stdout] test checkers_should_repeat_in_z ... ok [INFO] [stdout] test stripes_with_a_pattern_and_object_transformation ... ok [INFO] [stdout] test stripes_with_an_object_transformation ... ok [INFO] [stdout] test stripes_with_a_pattern_transformation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/plane_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/plane_test-be8774aae2d843b3) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test normal_on_plane_is_constant_everywhere ... ok [INFO] [stdout] test ray_intersecting_plane_from_above ... ok [INFO] [stdout] test intersect_with_ray_parallel_to_plane ... ok [INFO] [stdout] test ray_intersecting_plane_from_below ... ok [INFO] [stdout] test intersect_with_coplanar_ray ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/ray_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ray_test-8211d62f497ddb31) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test hit_as_lowest_nonnegative_t ... ok [INFO] [stdout] test hit_when_intersections_have_positive_t ... ok [INFO] [stdout] test aggregating_intersections ... ok [INFO] [stdout] test hit_when_all_intersections_have_negative_t ... ok [INFO] [stdout] test hit_when_intersections_have_negative_t ... ok [INFO] [stdout] test intersect_contains_t_and_uuid ... ok [INFO] [stdout] test intersect_sphere_behind_ray ... ok [INFO] [stdout] test intersect_translated_sphere_with_ray ... ok [INFO] [stdout] test intersect_sets_object_uuid ... ok [INFO] [stdout] test ray_creation ... ok [INFO] [stdout] test ray_intersect_at_tangent ... ok [INFO] [stdout] test ray_intersect_inside_sphere ... ok [INFO] [stdout] test finding_n1_and_n2_at_various_intersections ... ok [INFO] [stdout] test ray_intersect_misses_sphere ... ok [INFO] [stdout] test ray_position ... ok [INFO] [stdout] test scaling_a_ray ... ok [INFO] [stdout] test translating_a_ray ... ok [INFO] [stdout] test intersect_scaled_sphere_with_ray ... ok [INFO] [stdout] test the_under_point_is_offset_below_the_surface ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/shpere_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/shpere_test-853048eb799a8403) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test a_helper_for_producing_sphere_with_glassy_material ... ok [INFO] [stdout] test change_to_sphere_transform ... ok [INFO] [stdout] test computing_normal_on_translated_sphere ... ok [INFO] [stdout] test computing_normal_on_transformed_sphere ... ok [INFO] [stdout] test normal_on_sphere_at_point_on_nonaxial_point ... ok [INFO] [stdout] test normal_on_sphere_at_point_on_z_axis ... ok [INFO] [stderr] Running tests/transforms_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/transforms_test-df3e22e47ff8b478) [INFO] [stdout] test normal_on_sphere_at_point_on_x_axis ... ok [INFO] [stdout] test normal_on_sphere_at_point_on_y_axis ... ok [INFO] [stdout] test normal_on_sphere_is_normalized ... ok [INFO] [stdout] test sphere_can_be_assigned_material ... ok [INFO] [stdout] test sphere_default_transform ... ok [INFO] [stdout] test sphere_has_default_material ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test reflection_scaling ... ok [INFO] [stdout] test point_scaling ... ok [INFO] [stdout] test sequence_of_transformations ... ok [INFO] [stdout] test chained_transformations ... ok [INFO] [stdout] test rotation_z_axis ... ok [INFO] [stdout] test rotation_x_axis ... ok [INFO] [stdout] test vector_translation ... ok [INFO] [stdout] test vector_scaling ... ok [INFO] [stdout] test chained_transformations_api ... ok [INFO] [stdout] test point_translation ... ok [INFO] [stdout] test rotation_inverse ... ok [INFO] [stdout] test shearing_transform ... ok [INFO] [stdout] test rotation_y_axis ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stderr] Running tests/tuple_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tuple_test-4705e94bc9e08caa) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test is_a_vector_returns_true_for_vector ... ok [INFO] [stdout] test dot_product_on_tuples ... ok [INFO] [stdout] test equal_function ... ok [INFO] [stdout] test cross_product_on_vectors ... ok [INFO] [stdout] test add_tuples ... ok [INFO] [stdout] test magnitude_of_tuples ... ok [INFO] [stdout] test divide_tuples ... ok [INFO] [stdout] test multiply_tuples ... ok [INFO] [stdout] test normalize_tuples ... ok [INFO] [stdout] test negate_tuples ... ok [INFO] [stdout] test point_creation ... ok [INFO] [stdout] test reflect_a_vector_approaching_at_45_degrees ... ok [INFO] [stdout] test reflect_a_vector_off_slanted_surface ... ok [INFO] [stdout] test vector_creation ... ok [INFO] [stdout] test subtract_tuples ... ok [INFO] [stdout] test is_a_vector_returns_false_for_point ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/world_test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/world_test-89e42339cc3eec58) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test default_world_has_lighting_and_2_spheres ... ok [INFO] [stdout] test color_at_when_ray_misses ... ok [INFO] [stdout] test pre_computating_state_of_intersection ... ok [INFO] [stdout] test hit_should_offset_the_point ... ok [INFO] [stdout] test intersect_world_with_ray ... ok [INFO] [stdout] test color_at_when_ray_hits ... ok [INFO] [stdout] test pre_computing_state_of_intersection_when_inside ... ok [INFO] [stdout] test color_at_when_intersection_behind_ray ... ok [INFO] [stdout] test reflected_color_for_nonreflective_material ... ok [INFO] [stdout] test pre_computing_state_of_intersection_when_outside ... ok [INFO] [stdout] test pre_computing_the_reflection_vector ... ok [INFO] [stdout] test color_at_with_mutually_reflective_surfaces ... ok [INFO] [stdout] test refracted_color_with_opaque_surface ... ok [INFO] [stdout] test refracted_color_at_maximum_recursive_depth ... ok [INFO] [stdout] test refracted_color_with_refracted_ray ... ok [INFO] [stdout] test schlick_approximation_with_perpendicular_viewing_angle ... ok [INFO] [stdout] test schlick_approximation_under_total_internal_reflection ... ok [INFO] [stdout] test schlick_approximation_with_small_angle_and_n2_greater_than_n1 ... ok [INFO] [stdout] test refracted_color_under_total_internal_reflection ... ok [INFO] [stdout] test shading_an_intersection ... ok [INFO] [stdout] test the_reflected_color_at_maximum_recursive_depth ... ok [INFO] [stdout] test when_shade_hit_is_given_intersection_in_shadow ... ok [INFO] [stdout] test shading_an_intersection_from_inside ... ok [INFO] [stdout] test world_can_have_light_and_no_objects ... ok [INFO] [stdout] test shade_hit_with_a_reflective_and_transparent_material ... ok [INFO] [stdout] test reflected_color_for_reflective_material ... ok [INFO] [stdout] test shade_hit_with_reflective_material ... ok [INFO] [stdout] test shade_hit_with_transparent_material ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9691c9529c135c7676feb115210a30785d39ba14e52d25216f8d0954a91bde05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9691c9529c135c7676feb115210a30785d39ba14e52d25216f8d0954a91bde05", kill_on_drop: false }` [INFO] [stdout] 9691c9529c135c7676feb115210a30785d39ba14e52d25216f8d0954a91bde05