[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#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[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 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6e0fafdeaa261ccc1e833a9fe36f832dbd2b6054444c16bb5c47f0a8f1191799
[INFO] running `Command { std: "docker" "start" "-a" "6e0fafdeaa261ccc1e833a9fe36f832dbd2b6054444c16bb5c47f0a8f1191799", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e0fafdeaa261ccc1e833a9fe36f832dbd2b6054444c16bb5c47f0a8f1191799", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e0fafdeaa261ccc1e833a9fe36f832dbd2b6054444c16bb5c47f0a8f1191799", kill_on_drop: false }`
[INFO] [stdout] 6e0fafdeaa261ccc1e833a9fe36f832dbd2b6054444c16bb5c47f0a8f1191799
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f96923972cec59856187e93e4d9ed818af0adfc75c56595a5edac7ce0d795f6d
[INFO] running `Command { std: "docker" "start" "-a" "f96923972cec59856187e93e4d9ed818af0adfc75c56595a5edac7ce0d795f6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling once_cell v1.21.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling bytemuck v1.21.0
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling clap_builder v4.5.32
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[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 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 profiling v1.0.16
[INFO] [stderr]    Compiling zerocopy v0.7.35
[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 thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.32
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s
[INFO] running `Command { std: "docker" "inspect" "f96923972cec59856187e93e4d9ed818af0adfc75c56595a5edac7ce0d795f6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f96923972cec59856187e93e4d9ed818af0adfc75c56595a5edac7ce0d795f6d", kill_on_drop: false }`
[INFO] [stdout] f96923972cec59856187e93e4d9ed818af0adfc75c56595a5edac7ce0d795f6d
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3589be8c89a8304438bf9d526d86a3029e2eb0825035ee97b18fcb3319c8d741
[INFO] running `Command { std: "docker" "start" "-a" "3589be8c89a8304438bf9d526d86a3029e2eb0825035ee97b18fcb3319c8d741", kill_on_drop: false }`
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.03s
[INFO] running `Command { std: "docker" "inspect" "3589be8c89a8304438bf9d526d86a3029e2eb0825035ee97b18fcb3319c8d741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3589be8c89a8304438bf9d526d86a3029e2eb0825035ee97b18fcb3319c8d741", kill_on_drop: false }`
[INFO] [stdout] 3589be8c89a8304438bf9d526d86a3029e2eb0825035ee97b18fcb3319c8d741
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0dd57f7bb4291354cf7c8df8be6c3dd13e88ccec507cb4d6cc19dc835921461e
[INFO] running `Command { std: "docker" "start" "-a" "0dd57f7bb4291354cf7c8df8be6c3dd13e88ccec507cb4d6cc19dc835921461e", 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)]` 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-b45847114c92d988)
[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::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_large_dataset ... ok
[INFO] [stdout] test math::algebra::coord::test::align ... ok
[INFO] [stdout] test collections::iter::tests::test_zero_sized_types ... ok
[INFO] [stdout] test collections::array_list::test::test_with_capacity ... ok
[INFO] [stdout] test collections::iter::tests::test_mutable_iter ... ok
[INFO] [stdout] test collections::iter::tests::test_partial_iteration ... 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_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_angle_between_unit_vectors ... 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_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] test math::algebra::vec3::tests::test_borrowing_and_ownership ... 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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ray_tracer-42f48754d834a83c)
[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::from_points (line 60) ... 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 (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/math/algebra/point3.rs - math::algebra::point3::Point3::scaled_from_origin (line 52) ... 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 22) ... 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/algebra/vec3.rs - math::algebra::vec3::Vec3::proyect (line 135) ... 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/unit_vec3.rs - math::algebra::unit_vec3::UnitVec3::try_new (line 18) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::refract (line 224) ... 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::splat (line 25) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::reflect (line 197) ... 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::random_cosine_direction (line 82) ... 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::reflect (line 182) ... 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/vec3.rs - math::algebra::vec3::Vec3::reject (line 157) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::scaled_inplace (line 112) ... FAILED
[INFO] [stdout] test src/math/algebra/point3.rs - math::algebra::point3::Point3::min (line 99) ... 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::try_normalize (line 265) ... FAILED
[INFO] [stdout] test src/math/algebra/vec3.rs - math::algebra::vec3::Vec3::unchecked_normalize (line 299) ... 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/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] 5 | 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] 5 | let box = Aabb::from_points(min, max);
[INFO] [stdout]   |     ^^^
[INFO] [stdout] help: escape `box` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 3 | 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] 4 | 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] 5 | 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::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] 7 | 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] 8 | 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 (line 12) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/math/aabb.rs:16:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 6 | 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] 2 + 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] 6 | 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] 2 + 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] 6 | 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] 2 + use clap::builder::styling::Color;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 7 | 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] 2 + 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] 3 | 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] 4 | 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] 3 | 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] 5 | 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/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] 1 | α_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] 1 | α_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 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] 1 | α ∈ [α_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] 1 | α ∈ [α_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/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] 1 | 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] 1 | 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] 1 | 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/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] 3 | let v = Vec3::new(1.0, 1.0, 0.0);
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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] 4 | 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] 6 | assert_eq!(proj, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  use of undeclared type `Vec3`
[INFO] [stdout]   |                  help: a struct with a similar name exists: `Vec`
[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/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] 7 | let vec = Vec3::new(2.0, 0.0, 0.0);
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |           |
[INFO] [stdout]   |           use of undeclared type `Vec3`
[INFO] [stdout]   |           help: a struct with a similar name exists: `Vec`
[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] 8 | 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/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] 7 | 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/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] 3 | 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/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] 3 | 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::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] 3 | let v = Vec3::splat(2.0);
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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] 4 | assert_eq!(v, Vec3::new(2.0, 2.0, 2.0));
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |               |
[INFO] [stdout]   |               use of undeclared type `Vec3`
[INFO] [stdout]   |               help: a struct with a similar name exists: `Vec`
[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] 3 | let v = Vec3::new(1.0, -1.0, 0.0);
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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] 4 | 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] 6 | assert_eq!(reflected, Vec3::new(1.0, 1.0, 0.0));
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       use of undeclared type `Vec3`
[INFO] [stdout]   |                       help: a struct with a similar name exists: `Vec`
[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/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] 3 | 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::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] 3 | 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/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] 3 | 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] 3 | 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::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] 4 | let v = Vec3::new(1.0, -1.0, 0.0).try_normalize().unwrap();
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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] 5 | 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/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] 3 | 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] 3 | 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] 3 | 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] 3 | 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/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] 4 | 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] 7 | let v = Vec3::new(1.0, 1.0, 0.0);
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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] 11 | assert_eq!(tangent, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     use of undeclared type `Vec3`
[INFO] [stdout]    |                     help: a struct with a similar name exists: `Vec`
[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] 3 | let v = Vec3::new(1.0, 2.0, 3.0);
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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] 5 | assert_eq!(scaled, Vec3::new(2.0, 4.0, 6.0));
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    use of undeclared type `Vec3`
[INFO] [stdout]   |                    help: a struct with a similar name exists: `Vec`
[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] 3 | 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] 4 | 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] 6 | 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/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] 3 | 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] 4 | let v = Vec3::new(0.0, 1.0, 0.0);
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         use of undeclared type `Vec3`
[INFO] [stdout]   |         help: a struct with a similar name exists: `Vec`
[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::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] 3 | 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::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] 3 | 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] 3 | 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] 3 | 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] 3 | let ray = Ray::new(Point3::ORIGIN, Vec3::new(1.0, 0.0, 0.0));
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout]   |                                    |
[INFO] [stdout]   |                                    use of undeclared type `Vec3`
[INFO] [stdout]   |                                    help: a struct with a similar name exists: `Vec`
[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] 5 | 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.47s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0dd57f7bb4291354cf7c8df8be6c3dd13e88ccec507cb4d6cc19dc835921461e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dd57f7bb4291354cf7c8df8be6c3dd13e88ccec507cb4d6cc19dc835921461e", kill_on_drop: false }`
[INFO] [stdout] 0dd57f7bb4291354cf7c8df8be6c3dd13e88ccec507cb4d6cc19dc835921461e
