[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 try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdicosimo%2Fray_tracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gdicosimo/ray_tracer on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2338783b0072c209deec4f18dd4c426aa7557761837c5071cf89e5a6102c5ff7
[INFO] running `Command { std: "docker" "start" "-a" "2338783b0072c209deec4f18dd4c426aa7557761837c5071cf89e5a6102c5ff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2338783b0072c209deec4f18dd4c426aa7557761837c5071cf89e5a6102c5ff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2338783b0072c209deec4f18dd4c426aa7557761837c5071cf89e5a6102c5ff7", kill_on_drop: false }`
[INFO] [stdout] 2338783b0072c209deec4f18dd4c426aa7557761837c5071cf89e5a6102c5ff7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1b0b65a07921d5046c3c00cc0e5501cae56412d250e534a33eade42c66f415a
[INFO] running `Command { std: "docker" "start" "-a" "f1b0b65a07921d5046c3c00cc0e5501cae56412d250e534a33eade42c66f415a", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling once_cell v1.21.0
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling bytemuck v1.21.0
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling clap_builder v4.5.32
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.32
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[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 43.73s
[INFO] running `Command { std: "docker" "inspect" "f1b0b65a07921d5046c3c00cc0e5501cae56412d250e534a33eade42c66f415a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1b0b65a07921d5046c3c00cc0e5501cae56412d250e534a33eade42c66f415a", kill_on_drop: false }`
[INFO] [stdout] f1b0b65a07921d5046c3c00cc0e5501cae56412d250e534a33eade42c66f415a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb4a9df35753fec4ac2083cd8d5ba8f22027e622c01cce305978a34eb9791d40
[INFO] running `Command { std: "docker" "start" "-a" "eb4a9df35753fec4ac2083cd8d5ba8f22027e622c01cce305978a34eb9791d40", 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.69s
[INFO] running `Command { std: "docker" "inspect" "eb4a9df35753fec4ac2083cd8d5ba8f22027e622c01cce305978a34eb9791d40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb4a9df35753fec4ac2083cd8d5ba8f22027e622c01cce305978a34eb9791d40", kill_on_drop: false }`
[INFO] [stdout] eb4a9df35753fec4ac2083cd8d5ba8f22027e622c01cce305978a34eb9791d40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ca65c29fb21892cd6b0d15fe765fbc6433277e8e5a7a37415d7c83ab4f3e306c
[INFO] running `Command { std: "docker" "start" "-a" "ca65c29fb21892cd6b0d15fe765fbc6433277e8e5a7a37415d7c83ab4f3e306c", 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.14s
[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::test_with_capacity ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ray_tracer-c6e09518fe1d5403)
[INFO] [stdout] test collections::array_list::test::empty ... ok
[INFO] [stdout] test collections::array_list::test::new_and_push ... 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_mutable_iter ... ok
[INFO] [stdout] test collections::iter::tests::test_zero_sized_types ... ok
[INFO] [stdout] test collections::iter::tests::test_partial_iteration ... ok
[INFO] [stdout] test math::algebra::coord::test::align ... ok
[INFO] [stdout] test collections::iter::tests::test_large_dataset ... ok
[INFO] [stdout] test collections::iter::tests::test_mixed_iterators ... ok
[INFO] [stdout] test math::algebra::point3::test::test_assign ... ok
[INFO] [stdout] test math::algebra::coord::test::size ... 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_reciprocal ... ok
[INFO] [stdout] test math::algebra::unit_vec3::tests::test_try_from_radius ... 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_scalar_operations ... ok
[INFO] [stdout] test math::algebra::vec3::tests::test_vec3_creation_and_accessors ... 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.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ray_tracer
[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] [stdout] 
[INFO] [stdout] running 28 tests
[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/math/aabb.rs - math::aabb::Aabb (line 12) ... 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/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::new (line 22) ... 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/geometry/primitive/two_d/trapezoid.rs - geometry::primitive::two_d::trapezoid::Trapezoid::pdf_value (line 64) ... 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/point3.rs - math::algebra::point3::Point3::translate (line 32) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::random_cosine_direction (line 82) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 182) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::unchecked_normalize (line 299) ... FAILED
[INFO] [stdout] test src/math/interval.rs - math::interval::Interval (line 6) ... 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/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::unchecked_random_on_hemisphere (line 171) ... FAILED
[INFO] [stdout] test src/math/aabb.rs - math::aabb::Aabb::from_points (line 60) ... 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::reflect (line 197) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::refract (line 224) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::splat (line 25) ... 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/point3.rs - math::algebra::point3::Point3::min (line 99) ... 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/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 275) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::try_normalize (line 265) ... FAILED
[INFO] [stdout] test src/math/ray.rs - math::ray::Ray::at (line 73) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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::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::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/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] ---- 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/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::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/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/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/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] 
[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 1.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ca65c29fb21892cd6b0d15fe765fbc6433277e8e5a7a37415d7c83ab4f3e306c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca65c29fb21892cd6b0d15fe765fbc6433277e8e5a7a37415d7c83ab4f3e306c", kill_on_drop: false }`
[INFO] [stdout] ca65c29fb21892cd6b0d15fe765fbc6433277e8e5a7a37415d7c83ab4f3e306c
