[INFO] cloning repository https://github.com/gdicosimo/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/gdicosimo/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdicosimo%2Fray_tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdicosimo%2Fray_tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 48b9d44bf0a147b88ea12f393f478e262a918d4a
[INFO] testing gdicosimo/ray_tracer against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdicosimo%2Fray_tracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gdicosimo/ray_tracer
[INFO] finished tweaking git repo https://github.com/gdicosimo/ray_tracer
[INFO] tweaked toml for git repo https://github.com/gdicosimo/ray_tracer written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gdicosimo/ray_tracer on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gdicosimo/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.21.0
[INFO] [stderr]   Downloaded cc v1.2.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91387dba2fa3bc4ee54e83b180cf032e56a8404db89b8d0c960fbfd5c430b179
[INFO] running `Command { std: "docker" "start" "-a" "91387dba2fa3bc4ee54e83b180cf032e56a8404db89b8d0c960fbfd5c430b179", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91387dba2fa3bc4ee54e83b180cf032e56a8404db89b8d0c960fbfd5c430b179", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91387dba2fa3bc4ee54e83b180cf032e56a8404db89b8d0c960fbfd5c430b179", kill_on_drop: false }`
[INFO] [stdout] 91387dba2fa3bc4ee54e83b180cf032e56a8404db89b8d0c960fbfd5c430b179
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 612a4698a28a86761b43e6a5079ad0500b3013d86cddebaf1b2e9766b5b74894
[INFO] running `Command { std: "docker" "start" "-a" "612a4698a28a86761b43e6a5079ad0500b3013d86cddebaf1b2e9766b5b74894", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling once_cell v1.21.0
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling bytemuck v1.21.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling clap_builder v4.5.32
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling clap v4.5.32
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling ravif v0.11.11
[INFO] [stderr]    Compiling image v0.25.5
[INFO] [stderr]    Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `Mutable` is never used
[INFO] [stdout]   --> src/math/algebra/mod.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait Mutable: Dimensional {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.41s
[INFO] running `Command { std: "docker" "inspect" "612a4698a28a86761b43e6a5079ad0500b3013d86cddebaf1b2e9766b5b74894", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "612a4698a28a86761b43e6a5079ad0500b3013d86cddebaf1b2e9766b5b74894", kill_on_drop: false }`
[INFO] [stdout] 612a4698a28a86761b43e6a5079ad0500b3013d86cddebaf1b2e9766b5b74894
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c278f714b9c1056767ca886b24bc3dc5d98b889fd7deaed018c1fd8314478b4
[INFO] running `Command { std: "docker" "start" "-a" "0c278f714b9c1056767ca886b24bc3dc5d98b889fd7deaed018c1fd8314478b4", kill_on_drop: false }`
[INFO] [stdout] warning: trait `Mutable` is never used
[INFO] [stdout]   --> src/math/algebra/mod.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait Mutable: Dimensional {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `Mutable` is never used
[INFO] [stdout]   --> src/math/algebra/mod.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait Mutable: Dimensional {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s
[INFO] running `Command { std: "docker" "inspect" "0c278f714b9c1056767ca886b24bc3dc5d98b889fd7deaed018c1fd8314478b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c278f714b9c1056767ca886b24bc3dc5d98b889fd7deaed018c1fd8314478b4", kill_on_drop: false }`
[INFO] [stdout] 0c278f714b9c1056767ca886b24bc3dc5d98b889fd7deaed018c1fd8314478b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 17bbc61be8e972926c00638608846d88d8e8567f3d697f1c762dc6b2e6b30794
[INFO] running `Command { std: "docker" "start" "-a" "17bbc61be8e972926c00638608846d88d8e8567f3d697f1c762dc6b2e6b30794", kill_on_drop: false }`
[INFO] [stderr] warning: trait `Mutable` is never used
[INFO] [stderr]   --> src/math/algebra/mod.rs:44:11
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub trait Mutable: Dimensional {
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ray_tracer` (lib) generated 1 warning
[INFO] [stderr] warning: `ray_tracer` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ray_tracer-a63869c90e365482)
[INFO] [stdout] 
[INFO] [stdout] running 27 tests
[INFO] [stdout] test collections::array_list::test::empty ... ok
[INFO] [stdout] test collections::array_list::test::new_and_push ... ok
[INFO] [stdout] test collections::array_list::test::test_with_capacity ... ok
[INFO] [stdout] test collections::iter::tests::test_empty_list ... ok
[INFO] [stdout] test collections::iter::tests::test_immutable_iter ... ok
[INFO] [stdout] test collections::iter::tests::test_into_iter_consumption ... ok
[INFO] [stdout] test collections::iter::tests::test_iterator_size_hint ... ok
[INFO] [stdout] test collections::iter::tests::test_mixed_iterators ... ok
[INFO] [stdout] test collections::iter::tests::test_mutable_iter ... ok
[INFO] [stdout] test collections::iter::tests::test_partial_iteration ... ok
[INFO] [stdout] test collections::iter::tests::test_zero_sized_types ... ok
[INFO] [stdout] test collections::iter::tests::test_large_dataset ... ok
[INFO] [stdout] test math::algebra::coord::test::align ... ok
[INFO] [stdout] test math::algebra::coord::test::size ... ok
[INFO] [stdout] test math::algebra::point3::test::test_assign ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_angle_between_unit_vectors ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_normalization ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_normalize_zero_vector ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_try_from_radius ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_reciprocal ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_unit_dot_product ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_addition_subtraction ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_borrowing_and_ownership ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_edge_cases ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_vec3_creation_and_accessors ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_scalar_operations ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_vector_operations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 27 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/debug/deps/ray_tracer-c6e09518fe1d5403)
[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]    Doc-tests ray_tracer
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test src/math/aabb.rs - math::aabb::Aabb (line 12) ... FAILED
[INFO] [stdout] test src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 26) ... FAILED
[INFO] [stdout] test src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 13) ... FAILED
[INFO] [stdout] test src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 22) ... FAILED
[INFO] [stdout] test src/geometry/primitive/three_d/pyramid.rs - geometry::primitive::three_d::pyramid::Pyramid::new (line 26) ... FAILED
[INFO] [stdout] test src/math/algebra/point3.rs - math::algebra::point3::Point3::scaled_from_origin (line 52) ... FAILED
[INFO] [stdout] test src/math/algebra/point3.rs - math::algebra::point3::Point3::min (line 99) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::random_cosine_direction (line 82) ... FAILED
[INFO] [stdout] test src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::pdf_value (line 64) ... FAILED
[INFO] [stdout] test src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_new (line 18) ... FAILED
[INFO] [stdout] test src/math/algebra/onb.rs - math::algebra::onb::Onb::transform (line 73) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::proyect (line 135) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 182) ... FAILED
[INFO] [stdout] test src/math/algebra/point3.rs - math::algebra::point3::Point3::translate (line 32) ... FAILED
[INFO] [stdout] test src/math/aabb.rs - math::aabb::Aabb::from_points (line 60) ... FAILED
[INFO] [stdout] test src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_from_vec3 (line 50) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::refract (line 224) ... FAILED
[INFO] [stdout] test src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::unchecked_random_on_hemisphere (line 171) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 197) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::unchecked_normalize (line 299) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reject (line 157) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 275) ... FAILED
[INFO] [stdout] test src/math/interval.rs - math::interval::Interval (line 6) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 265) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::scaled_inplace (line 112) ... FAILED
[INFO] [stdout] test src/math/ray.rs - math::ray::Ray (line 7) ... FAILED
[INFO] [stdout] test src/math/ray.rs - math::ray::Ray::at (line 73) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::splat (line 25) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/math/aabb.rs - math::aabb::Aabb (line 12) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/math/aabb.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | let min = Point3::new(0.0, 0.0, 0.0);
[INFO] [stdout]    | ^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `let` cannot be used for global variables
[INFO] [stdout]    | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 26) stdout ----
[INFO] [stdout] error: missing `fn` or `struct` for function or struct definition
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | α_min(β) = β * 0.5 * (1.0 - ratio)
[INFO] [stdout]    | ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to call a macro, try
[INFO] [stdout]    |
[INFO] [stdout] 27 | α_min!(β) = β * 0.5 * (1.0 - ratio)
[INFO] [stdout]    |      +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 13) stdout ----
[INFO] [stdout] error: unknown start of token: \u{2208}
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 | p(α, β) = q + α * u + β * v,   with α, β ∈ [0, 1]
[INFO] [stdout]    |                                          ^
[INFO] [stdout] 
[INFO] [stdout] error: missing `fn` or `struct` for function or struct definition
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | p(α, β) = q + α * u + β * v,   with α, β ∈ [0, 1]
[INFO] [stdout]    | ^
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to call a macro, try
[INFO] [stdout]    |
[INFO] [stdout] 14 | p!(α, β) = q + α * u + β * v,   with α, β ∈ [0, 1]
[INFO] [stdout]    |  +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 22) stdout ----
[INFO] [stdout] error: unknown start of token: \u{2208}
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 | α ∈ [α_min(β), α_max(β)]
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `[`
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | α ∈ [α_min(β), α_max(β)]
[INFO] [stdout]    |     ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/geometry/primitive/three_d/pyramid.rs - geometry::primitive::three_d::pyramid::Pyramid::new (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/geometry/primitive/three_d/pyramid.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | let material = Arc::new(Lambertian::new(Color::new(0.8, 0.8, 0.8)));
[INFO] [stdout]    |                ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 26 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lambertian`
[INFO] [stdout]   --> src/geometry/primitive/three_d/pyramid.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 | let material = Arc::new(Lambertian::new(Color::new(0.8, 0.8, 0.8)));
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared type `Lambertian`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 26 + use ray_tracer::materials::Lambertian;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color`
[INFO] [stdout]   --> src/geometry/primitive/three_d/pyramid.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 | let material = Arc::new(Lambertian::new(Color::new(0.8, 0.8, 0.8)));
[INFO] [stdout]    |                                         ^^^^^ use of undeclared type `Color`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 26 + use clap::builder::styling::Color;
[INFO] [stdout]    |
[INFO] [stdout] 26 + use ray_tracer::math::color::Color;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pyramid`
[INFO] [stdout]   --> src/geometry/primitive/three_d/pyramid.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | let pyramid = Pyramid::new(p0, p1, height, material);
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Pyramid`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 26 + use ray_tracer::geometry::Pyramid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/geometry/primitive/three_d/pyramid.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | let p0 = Point3::new(0.0, 0.0, 0.0);
[INFO] [stdout]    |          ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/geometry/primitive/three_d/pyramid.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | let p1 = Point3::new(100.0, 0.0, 100.0);
[INFO] [stdout]    |          ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/point3.rs - math::algebra::point3::Point3::scaled_from_origin (line 52) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/algebra/point3.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | let p = Point3::new(1.0, 2.0, 3.0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/algebra/point3.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 55 | assert_eq!(scaled, Point3::new(2.0, 4.0, 6.0));
[INFO] [stdout]    |                    ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/point3.rs - math::algebra::point3::Point3::min (line 99) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]    --> src/math/algebra/point3.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 | let p1 = Point3::new(1.0, 4.0, 2.0);
[INFO] [stdout]     |          ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]    --> src/math/algebra/point3.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | let p2 = Point3::new(2.0, 3.0, 1.0);
[INFO] [stdout]     |          ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]    --> src/math/algebra/point3.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 | assert_eq!(min_point, Point3::new(1.0, 3.0, 1.0));
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::random_cosine_direction (line 82) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]   --> src/math/algebra/vec3.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | use crate::math::{Vec3, Onb};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            unresolved import
[INFO] [stdout]    |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::pdf_value (line 64) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `quad_area` in this scope
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | quad_area / trap_area = 2 / (1 + ratio)
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `trap_area` in this scope
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | quad_area / trap_area = 2 / (1 + ratio)
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ratio` in this scope
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:65:34
[INFO] [stdout]    |
[INFO] [stdout] 65 | quad_area / trap_area = 2 / (1 + ratio)
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/geometry/primitive/two_d/trapezoid.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 | quad_area / trap_area = 2 / (1 + ratio)
[INFO] [stdout]    | --------------------- ^
[INFO] [stdout]    | |
[INFO] [stdout]    | cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_new (line 18) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]   --> src/math/algebra/unit_vec3.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | let normal = UnitVec3::try_new(1.0, 1.0, 1.0).unwrap();
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/onb.rs - math::algebra::onb::Onb::transform (line 73) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]   --> src/math/algebra/onb.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | use crate::math::{Onb, Vec3};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            unresolved import
[INFO] [stdout]    |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::proyect (line 135) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 | let v = Vec3::new(1.0, 1.0, 0.0);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 136 - let v = Vec3::new(1.0, 1.0, 0.0);
[INFO] [stdout] 136 + let v = Vec::new(1.0, 1.0, 0.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 | let n = UnitVec3::try_new(1.0, 0.0, 0.0).unwrap();
[INFO] [stdout]     |         ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 | assert_eq!(proj, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]     |                  ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 139 - assert_eq!(proj, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout] 139 + assert_eq!(proj, Vec::new(1.0, 0.0, 0.0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 182) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 | let v = Vec3::new(1.0, -1.0, 0.0).try_normalize().unwrap();
[INFO] [stdout]     |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 184 - let v = Vec3::new(1.0, -1.0, 0.0).try_normalize().unwrap();
[INFO] [stdout] 184 + let v = Vec::new(1.0, -1.0, 0.0).try_normalize().unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 | let n = UnitVec3::try_new(0.0, 1.0, 0.0).unwrap();
[INFO] [stdout]     |         ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/point3.rs - math::algebra::point3::Point3::translate (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/algebra/point3.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | let p = Point3::new(1.0, 1.0, 1.0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]   --> src/math/algebra/point3.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | let v = Vec3::new(0.0, 1.0, 0.0);
[INFO] [stdout]    |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 34 - let v = Vec3::new(0.0, 1.0, 0.0);
[INFO] [stdout] 34 + let v = Vec::new(0.0, 1.0, 0.0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/aabb.rs - math::aabb::Aabb::from_points (line 60) stdout ----
[INFO] [stdout] error: expected pattern, found `=`
[INFO] [stdout]   --> src/math/aabb.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | let box = Aabb::from_points(min, max);
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] note: `box` is a reserved keyword
[INFO] [stdout]   --> src/math/aabb.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | let box = Aabb::from_points(min, max);
[INFO] [stdout]    |     ^^^
[INFO] [stdout] help: escape `box` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 63 | let r#box = Aabb::from_points(min, max);
[INFO] [stdout]    |     ++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/aabb.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 | let min = Point3::new(0.0, 0.0, 0.0);
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/aabb.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | let max = Point3::new(1.0, 2.0, 3.0);
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Aabb`
[INFO] [stdout]   --> src/math/aabb.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 | let box = Aabb::from_points(min, max);
[INFO] [stdout]    |           ^^^^ use of undeclared type `Aabb`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_from_vec3 (line 50) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]   --> src/math/algebra/unit_vec3.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | let vec = Vec3::new(2.0, 0.0, 0.0);
[INFO] [stdout]    |           ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 54 - let vec = Vec3::new(2.0, 0.0, 0.0);
[INFO] [stdout] 54 + let vec = Vec::new(2.0, 0.0, 0.0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]   --> src/math/algebra/unit_vec3.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | let unit = UnitVec3::try_from_vec3(&vec).unwrap();
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::refract (line 224) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | use crate::math::*;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            unresolved import
[INFO] [stdout]     |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::unchecked_random_on_hemisphere (line 171) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]    --> src/math/algebra/unit_vec3.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | let normal = UnitVec3::I; // Up vector
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]    --> src/math/algebra/unit_vec3.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 | let random = UnitVec3::unchecked_random_on_hemisphere(&normal);
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 197) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 | let v = Vec3::new(1.0, -1.0, 0.0);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 198 - let v = Vec3::new(1.0, -1.0, 0.0);
[INFO] [stdout] 198 + let v = Vec::new(1.0, -1.0, 0.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 | let n = UnitVec3::try_new(0.0, 1.0, 0.0).unwrap();
[INFO] [stdout]     |         ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:201:23
[INFO] [stdout]     |
[INFO] [stdout] 201 | assert_eq!(reflected, Vec3::new(1.0, 1.0, 0.0));
[INFO] [stdout]     |                       ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 201 - assert_eq!(reflected, Vec3::new(1.0, 1.0, 0.0));
[INFO] [stdout] 201 + assert_eq!(reflected, Vec::new(1.0, 1.0, 0.0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::unchecked_normalize (line 299) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:300:12
[INFO] [stdout]     |
[INFO] [stdout] 300 | use crate::math::Vec3;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            unresolved import
[INFO] [stdout]     |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reject (line 157) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitVec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 | let normal = UnitVec3::try_new(0.0, 1.0, 0.0).unwrap();
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `UnitVec3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 | let v = Vec3::new(1.0, 1.0, 0.0);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 162 - let v = Vec3::new(1.0, 1.0, 0.0);
[INFO] [stdout] 162 + let v = Vec::new(1.0, 1.0, 0.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:166:21
[INFO] [stdout]     |
[INFO] [stdout] 166 | assert_eq!(tangent, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]     |                     ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 166 - assert_eq!(tangent, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout] 166 + assert_eq!(tangent, Vec::new(1.0, 0.0, 0.0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 275) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 276 | use crate::math::Vec3;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            unresolved import
[INFO] [stdout]     |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/interval.rs - math::interval::Interval (line 6) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]  --> src/math/interval.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::math::Interval;
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            unresolved import
[INFO] [stdout]   |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 265) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 | use crate::math::Vec3;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            unresolved import
[INFO] [stdout]     |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::scaled_inplace (line 112) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 | let v = Vec3::new(1.0, 2.0, 3.0);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 113 - let v = Vec3::new(1.0, 2.0, 3.0);
[INFO] [stdout] 113 + let v = Vec::new(1.0, 2.0, 3.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]    --> src/math/algebra/vec3.rs:115:20
[INFO] [stdout]     |
[INFO] [stdout] 115 | assert_eq!(scaled, Vec3::new(2.0, 4.0, 6.0));
[INFO] [stdout]     |                    ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 115 - assert_eq!(scaled, Vec3::new(2.0, 4.0, 6.0));
[INFO] [stdout] 115 + assert_eq!(scaled, Vec::new(2.0, 4.0, 6.0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/ray.rs - math::ray::Ray (line 7) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `crate::math`
[INFO] [stdout]  --> src/math/ray.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::math::{Point3, Ray, Vec3};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            unresolved import
[INFO] [stdout]   |            help: a similar path exists: `image::math`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/ray.rs - math::ray::Ray::at (line 73) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray`
[INFO] [stdout]   --> src/math/ray.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 | let ray = Ray::new(Point3::ORIGIN, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]    |           ^^^ use of undeclared type `Ray`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/ray.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 | let ray = Ray::new(Point3::ORIGIN, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]    |                    ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]   --> src/math/ray.rs:74:36
[INFO] [stdout]    |
[INFO] [stdout] 74 | let ray = Ray::new(Point3::ORIGIN, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]    |                                    ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 74 - let ray = Ray::new(Point3::ORIGIN, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout] 74 + let ray = Ray::new(Point3::ORIGIN, Vec::new(1.0, 0.0, 0.0));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point3`
[INFO] [stdout]   --> src/math/ray.rs:76:19
[INFO] [stdout]    |
[INFO] [stdout] 76 | assert_eq!(point, Point3::new(2.0, 0.0, 0.0));
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `Point3`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::splat (line 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]   --> src/math/algebra/vec3.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | let v = Vec3::splat(2.0);
[INFO] [stdout]    |         ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 26 - let v = Vec3::splat(2.0);
[INFO] [stdout] 26 + let v = Vec::splat(2.0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3`
[INFO] [stdout]   --> src/math/algebra/vec3.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 | assert_eq!(v, Vec3::new(2.0, 2.0, 2.0));
[INFO] [stdout]    |               ^^^^ use of undeclared type `Vec3`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 - assert_eq!(v, Vec3::new(2.0, 2.0, 2.0));
[INFO] [stdout] 27 + assert_eq!(v, Vec::new(2.0, 2.0, 2.0));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/geometry/primitive/three_d/pyramid.rs - geometry::primitive::three_d::pyramid::Pyramid::new (line 26)
[INFO] [stdout]     src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 13)
[INFO] [stdout]     src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 22)
[INFO] [stdout]     src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 26)
[INFO] [stdout]     src/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::pdf_value (line 64)
[INFO] [stdout]     src/math/aabb.rs - math::aabb::Aabb (line 12)
[INFO] [stdout]     src/math/aabb.rs - math::aabb::Aabb::from_points (line 60)
[INFO] [stdout]     src/math/algebra/onb.rs - math::algebra::onb::Onb::transform (line 73)
[INFO] [stdout]     src/math/algebra/point3.rs - math::algebra::point3::Point3::min (line 99)
[INFO] [stdout]     src/math/algebra/point3.rs - math::algebra::point3::Point3::scaled_from_origin (line 52)
[INFO] [stdout]     src/math/algebra/point3.rs - math::algebra::point3::Point3::translate (line 32)
[INFO] [stdout]     src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_from_vec3 (line 50)
[INFO] [stdout]     src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_new (line 18)
[INFO] [stdout]     src/math/algebra/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::unchecked_random_on_hemisphere (line 171)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::proyect (line 135)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::random_cosine_direction (line 82)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 182)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 197)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::refract (line 224)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reject (line 157)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::scaled_inplace (line 112)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::splat (line 25)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 265)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 275)
[INFO] [stdout]     src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::unchecked_normalize (line 299)
[INFO] [stdout]     src/math/interval.rs - math::interval::Interval (line 6)
[INFO] [stdout]     src/math/ray.rs - math::ray::Ray (line 7)
[INFO] [stdout]     src/math/ray.rs - math::ray::Ray::at (line 73)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "17bbc61be8e972926c00638608846d88d8e8567f3d697f1c762dc6b2e6b30794", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17bbc61be8e972926c00638608846d88d8e8567f3d697f1c762dc6b2e6b30794", kill_on_drop: false }`
[INFO] [stdout] 17bbc61be8e972926c00638608846d88d8e8567f3d697f1c762dc6b2e6b30794
