[INFO] fetching crate rsm-lib 0.1.0... [INFO] testing rsm-lib-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rsm-lib 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rsm-lib 0.1.0 [INFO] finished tweaking crates.io crate rsm-lib 0.1.0 [INFO] tweaked toml for crates.io crate rsm-lib 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsm-lib 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c61b44b598121da6fbb2a787eeafa407b9068d436dccc5e4a1357a49a4817e7a [INFO] running `Command { std: "docker" "start" "-a" "c61b44b598121da6fbb2a787eeafa407b9068d436dccc5e4a1357a49a4817e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c61b44b598121da6fbb2a787eeafa407b9068d436dccc5e4a1357a49a4817e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61b44b598121da6fbb2a787eeafa407b9068d436dccc5e4a1357a49a4817e7a", kill_on_drop: false }` [INFO] [stdout] c61b44b598121da6fbb2a787eeafa407b9068d436dccc5e4a1357a49a4817e7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49462afcf4fb176fd4b0a58295b0cdba1efcd2a8ca52f3bfc663da1f938d2d21 [INFO] running `Command { std: "docker" "start" "-a" "49462afcf4fb176fd4b0a58295b0cdba1efcd2a8ca52f3bfc663da1f938d2d21", kill_on_drop: false }` [INFO] [stderr] Compiling rsm-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "49462afcf4fb176fd4b0a58295b0cdba1efcd2a8ca52f3bfc663da1f938d2d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49462afcf4fb176fd4b0a58295b0cdba1efcd2a8ca52f3bfc663da1f938d2d21", kill_on_drop: false }` [INFO] [stdout] 49462afcf4fb176fd4b0a58295b0cdba1efcd2a8ca52f3bfc663da1f938d2d21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4a9c05e0e55b4a8869e5cf7ea1fe213168c7994a6a16caf7b1cb527481b89ca [INFO] running `Command { std: "docker" "start" "-a" "e4a9c05e0e55b4a8869e5cf7ea1fe213168c7994a6a16caf7b1cb527481b89ca", kill_on_drop: false }` [INFO] [stderr] Compiling rsm-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "e4a9c05e0e55b4a8869e5cf7ea1fe213168c7994a6a16caf7b1cb527481b89ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4a9c05e0e55b4a8869e5cf7ea1fe213168c7994a6a16caf7b1cb527481b89ca", kill_on_drop: false }` [INFO] [stdout] e4a9c05e0e55b4a8869e5cf7ea1fe213168c7994a6a16caf7b1cb527481b89ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b72e4e951ce69cd233b39e2044eea0ba28358d48bcf9ff21e5352874d97b5df7 [INFO] running `Command { std: "docker" "start" "-a" "b72e4e951ce69cd233b39e2044eea0ba28358d48bcf9ff21e5352874d97b5df7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsm_lib-48e4ad8c8013fe1f) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test vec2::tests::test_add ... ok [INFO] [stdout] test vec2::tests::test_distance ... ok [INFO] [stdout] test vec2::tests::test_divide ... ok [INFO] [stdout] test vec2::tests::test_dot_product ... ok [INFO] [stdout] test vec2::tests::test_lerp ... ok [INFO] [stdout] test vec2::tests::test_multiply ... ok [INFO] [stdout] test vec2::tests::test_negation ... ok [INFO] [stdout] test vec2::tests::test_normalize ... ok [INFO] [stdout] test vec2::tests::test_one ... ok [INFO] [stdout] test vec2::tests::test_subtract ... ok [INFO] [stdout] test vec3::tests::test_add_assign ... ok [INFO] [stdout] test vec2::tests::test_zero ... ok [INFO] [stdout] test vec3::tests::test_angle ... ok [INFO] [stdout] test vec3::tests::test_cross ... ok [INFO] [stdout] test vec3::tests::test_direction ... ok [INFO] [stdout] test vec3::tests::test_distance ... ok [INFO] [stdout] test vec3::tests::test_div ... ok [INFO] [stdout] test vec3::tests::test_div_assign ... ok [INFO] [stdout] test vec3::tests::test_dot ... ok [INFO] [stdout] test vec3::tests::test_length ... ok [INFO] [stdout] test vec3::tests::test_neg ... ok [INFO] [stderr] Doc-tests rsm_lib [INFO] [stdout] test vec3::tests::test_distance_squared ... ok [INFO] [stdout] test vec3::tests::test_mul ... ok [INFO] [stdout] test vec3::tests::test_normalize ... ok [INFO] [stdout] test vec3::tests::test_mul_assign ... ok [INFO] [stdout] test vec3::tests::test_new ... ok [INFO] [stdout] test vec3::tests::test_lerp ... ok [INFO] [stdout] test vec3::tests::test_sub ... ok [INFO] [stdout] test vec2::tests::test_length ... ok [INFO] [stdout] test vec3::tests::test_sub_assign ... ok [INFO] [stdout] test vec3::tests::test_add ... ok [INFO] [stdout] test vec3::tests::test_set ... ok [INFO] [stdout] test vec2::tests::test_distance_squared ... ok [INFO] [stdout] test vec3::tests::test_one ... ok [INFO] [stdout] test vec3::tests::test_zero ... ok [INFO] [stdout] test vec2::tests::test_new ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 156 tests [INFO] [stdout] test src/mat3.rs - mat3::Mat3::mul (line 178) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::transpose (line 96) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::identity (line 77) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::invert (line 277) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::determinant (line 127) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::new (line 39) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::determinant (line 119) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::rotation (line 227) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::rotation (line 216) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::rotate_x_3d (line 402) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::new (line 45) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::translate_2d (line 211) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::zero (line 57) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::determinant (line 125) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::mul (line 151) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::rotate_y_3d (line 436) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::rotate_z_3d (line 470) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::identity (line 85) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::trace (line 157) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::scale (line 193) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::scale_3d (line 250) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::transpose (line 105) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::scale_2d (line 230) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::frustum (line 587) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::zero (line 64) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::rotate_2d (line 321) ... FAILED [INFO] [stdout] test src/mat3.rs - mat3::Mat3::rotate_3d (line 356) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::invert (line 294) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::trace (line 191) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::mul (line 209) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::rotate (line 375) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::rotate_z (line 469) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::rotate_xyz (line 497) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::rotate_x (line 423) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::orthographic (line 695) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::identity (line 81) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::from_euler (line 98) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::new (line 44) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::length (line 233) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::look_at (line 746) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::rotate_zyx (line 541) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::trace (line 138) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::inverse (line 297) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::scale (line 271) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::dot (line 200) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::length_squared (line 217) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::rotate_y (line 446) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::translate (line 251) ... FAILED [INFO] [stdout] test src/mat2.rs - mat2::Mat2::mul (line 165) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::conjugate (line 277) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::perspective (line 639) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::zero (line 60) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::deg_to_rad (line 650) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::from_vec4 (line 131) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::transpose (line 102) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::normalize (line 253) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::slerp (line 354) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::to_mat4 (line 163) ... FAILED [INFO] [stdout] test src/mat4.rs - mat4::Mat4::zero (line 62) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::clamp (line 20) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::one (line 75) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::to_vec4 (line 147) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::exp_decay (line 569) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::new (line 45) ... FAILED [INFO] [stdout] test src/quat.rs - quat::Quat::multiply (line 323) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::factorial (line 712) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::normalize (line 172) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::approx (line 380) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::fract (line 273) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::fmod (line 240) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::saturate (line 58) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::signum (line 340) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::lerp (line 416) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::smoothstep (line 530) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::inverse_lerp (line 492) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::rad_to_deg (line 683) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::angle (line 609) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::lerp_angle (line 454) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::step (line 306) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::length_squared (line 227) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::remap (line 208) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::move_towards (line 607) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::wrap (line 96) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::clamp (line 442) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::lerp (line 674) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::move_towards (line 830) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::wrap_angle (line 130) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::distance_squared (line 256) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::one (line 96) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::dot (line 200) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::recip (line 864) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::length (line 477) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::line_angle (line 641) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::normalize (line 503) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::new (line 56) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::distance (line 537) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::from_vec3 (line 143) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::direction (line 572) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::cross (line 194) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::from_vec4 (line 170) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::max (line 405) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::min (line 376) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::reflect (line 707) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::from_vec2 (line 131) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::zero (line 76) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::distance_squared (line 248) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::transform_mat3 (line 336) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::distance_squared (line 261) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::dot (line 179) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::rotate (line 794) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::lerp (line 780) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::length_squared (line 234) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::angle (line 612) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::min (line 368) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::max (line 397) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::move_towards (line 808) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::length (line 508) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::length_squared (line 226) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::from_vec4 (line 155) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::ortho_normalize (line 691) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::set (line 118) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::normalize (line 528) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::transform_mat3 (line 279) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::cross (line 207) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::one (line 88) ... FAILED [INFO] [stdout] test src/vec2.rs - vec2::Vec2::transform_mat2 (line 292) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::distance (line 555) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::project (line 644) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::perpendicular (line 467) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::recip (line 833) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::rotate_by_axis (line 723) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::direction (line 584) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::reject (line 669) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::clamp (line 427) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::transform_mat4 (line 316) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::new (line 54) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::clamp (line 298) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::from_vec3 (line 141) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::transform_mat4 (line 329) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::length (line 329) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::lerp (line 379) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::set (line 108) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::new (line 54) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::reflect (line 755) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::from_vec2 (line 121) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::zero (line 71) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::zero (line 69) ... FAILED [INFO] [stdout] test src/vec3.rs - vec3::Vec3::transform_mat3 (line 292) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::min (line 237) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::transform (line 204) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::length_squared (line 180) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::set (line 102) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::max (line 266) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::one (line 84) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::dot (line 160) ... FAILED [INFO] [stdout] test src/vec4.rs - vec4::Vec4::normalize (line 350) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/mat3.rs - mat3::Mat3::mul (line 178) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 3 | let a = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 4 | let b = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [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/mat2.rs - mat2::Mat2::transpose (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [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/mat2.rs - mat2::Mat2::identity (line 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::invert (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::determinant (line 127) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat2.rs - mat2::Mat2::new (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 3 | let col0 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let col0 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let col0 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 4 | let col1 = Vec2::new(3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let col1 = Vec2::new(3.0, 4.0); [INFO] [stdout] 4 + let col1 = Vec::new(3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 5 | let matrix = Mat2::new(&col0, &col1); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [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/mat2.rs - mat2::Mat2::determinant (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] 3 + let matrix = Mat2::new(&Vec::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] 3 + let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec::new(3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/mat2.rs - mat2::Mat2::rotation (line 227) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat2::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [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/mat2.rs - mat2::Mat2::rotation (line 216) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `=` [INFO] [stdout] --> src/mat2.rs:217:3 [INFO] [stdout] | [INFO] [stdout] 1 | R = [ c -s ] [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mat3.rs - mat3::Mat3::rotate_x_3d (line 402) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:403:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::new (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat3.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 3 | let col0 = 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] 3 - let col0 = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] 3 + let col0 = Vec::new(1.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat3.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 4 | let col1 = 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] 4 - let col1 = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let col1 = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat3.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 5 | let col2 = Vec3::new(0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let col2 = Vec3::new(0.0, 0.0, 1.0); [INFO] [stdout] 5 + let col2 = Vec::new(0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 6 | let matrix = Mat3::new(&col0, &col1, &col2); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::translate_2d (line 211) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat3.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 4 | let translate = Vec2::new(2.0, 3.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let translate = Vec2::new(2.0, 3.0); [INFO] [stdout] 4 + let translate = Vec::new(2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/mat2.rs - mat2::Mat2::zero (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::determinant (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 3 | let mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat2.rs - mat2::Mat2::mul (line 151) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `[` [INFO] [stdout] --> src/mat2.rs:152:2 [INFO] [stdout] | [INFO] [stdout] 1 | C[0][0] = A[0][0] * B[0][0] + A[1][0] * B[0][1] [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mat3.rs - mat3::Mat3::rotate_y_3d (line 436) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:437:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::rotate_z_3d (line 470) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::identity (line 85) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::trace (line 157) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat2.rs - mat2::Mat2::scale (line 193) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat2::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 4 | matrix.scale(Vec2::new(2.0, 3.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - matrix.scale(Vec2::new(2.0, 3.0)); [INFO] [stdout] 4 + matrix.scale(Vec::new(2.0, 3.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(matrix.0, Vec2::new(2.0, 0.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(matrix.0, Vec2::new(2.0, 0.0)); [INFO] [stdout] 5 + assert_eq!(matrix.0, Vec::new(2.0, 0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(matrix.1, Vec2::new(0.0, 3.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(matrix.1, Vec2::new(0.0, 3.0)); [INFO] [stdout] 6 + assert_eq!(matrix.1, Vec::new(0.0, 3.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::scale_3d (line 250) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat3.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 4 | let scale = Vec3::new(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let scale = Vec3::new(2.0, 3.0, 4.0); [INFO] [stdout] 4 + let scale = Vec::new(2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/mat3.rs - mat3::Mat3::transpose (line 105) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::scale_2d (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat3.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 4 | let scale = Vec2::new(2.0, 3.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let scale = Vec2::new(2.0, 3.0); [INFO] [stdout] 4 + let scale = Vec::new(2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/mat4.rs - mat4::Mat4::frustum (line 587) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:588:15 [INFO] [stdout] | [INFO] [stdout] 3 | let frustum = Mat4::frustum(-1.0, 1.0, -1.0, 1.0, 0.1, 100.0); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::zero (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat3::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::rotate_2d (line 321) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [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/mat3.rs - mat3::Mat3::rotate_3d (line 356) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/mat3.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Mat3::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat3.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 4 | let axis = Vec3::new(0.0, 0.0, 1.0); // Rotation around the Z axis [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let axis = Vec3::new(0.0, 0.0, 1.0); // Rotation around the Z axis [INFO] [stdout] 4 + let axis = Vec::new(0.0, 0.0, 1.0); // Rotation around the Z axis [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/mat4.rs - mat4::Mat4::invert (line 294) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::trace (line 191) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 3 | let mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::mul (line 209) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mat1 = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mat2 = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [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/mat4.rs - mat4::Mat4::rotate (line 375) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 5 | let axis = 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] 5 - let axis = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 5 + let axis = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/mat4.rs - mat4::Mat4::rotate_z (line 469) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::rotate_xyz (line 497) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:499:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:500:14 [INFO] [stdout] | [INFO] [stdout] 5 | let angles = Vec3::new(PI / 4.0, PI / 6.0, PI / 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] 5 - let angles = Vec3::new(PI / 4.0, PI / 6.0, PI / 3.0); [INFO] [stdout] 5 + let angles = Vec::new(PI / 4.0, PI / 6.0, PI / 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/mat4.rs - mat4::Mat4::rotate_x (line 423) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:425:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::orthographic (line 695) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:696:13 [INFO] [stdout] | [INFO] [stdout] 3 | let ortho = Mat4::orthographic(-1.0, 1.0, -1.0, 1.0, 0.1, 100.0); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::identity (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 3 | let mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/quat.rs - quat::Quat::from_euler (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::from_euler(0.0, std::f64::consts::PI / 2.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::new (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/mat4.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 3 | let col0 = Vec4::new(1.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let col0 = Vec4::new(1.0, 0.0, 0.0, 0.0); [INFO] [stdout] 3 + let col0 = Vec::new(1.0, 0.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/mat4.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 4 | let col1 = Vec4::new(0.0, 1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let col1 = Vec4::new(0.0, 1.0, 0.0, 0.0); [INFO] [stdout] 4 + let col1 = Vec::new(0.0, 1.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/mat4.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 5 | let col2 = Vec4::new(0.0, 0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let col2 = Vec4::new(0.0, 0.0, 1.0, 0.0); [INFO] [stdout] 5 + let col2 = Vec::new(0.0, 0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/mat4.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 6 | let col3 = Vec4::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let col3 = Vec4::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 6 + let col3 = Vec::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 7 | let mat = Mat4::new(&col0, &col1, &col2, &col3); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/quat.rs - quat::Quat::length (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::look_at (line 746) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:747:11 [INFO] [stdout] | [INFO] [stdout] 3 | let eye = Vec3::new(0.0, 0.0, 5.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let eye = Vec3::new(0.0, 0.0, 5.0); [INFO] [stdout] 3 + let eye = Vec::new(0.0, 0.0, 5.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:748:14 [INFO] [stdout] | [INFO] [stdout] 4 | let target = Vec3::new(0.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] 4 - let target = Vec3::new(0.0, 0.0, 0.0); [INFO] [stdout] 4 + let target = Vec::new(0.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:749:10 [INFO] [stdout] | [INFO] [stdout] 5 | let up = 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] 5 - let up = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 5 + let up = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:750:19 [INFO] [stdout] | [INFO] [stdout] 6 | let view_matrix = Mat4::look_at(eye, target, up); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::rotate_zyx (line 541) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:543:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:544:14 [INFO] [stdout] | [INFO] [stdout] 5 | let angles = Vec3::new(PI / 3.0, PI / 6.0, PI / 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let angles = Vec3::new(PI / 3.0, PI / 6.0, PI / 4.0); [INFO] [stdout] 5 + let angles = Vec::new(PI / 3.0, PI / 6.0, PI / 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/mat2.rs - mat2::Mat2::trace (line 138) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] 3 + let matrix = Mat2::new(&Vec::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:139:47 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] 3 + let matrix = Mat2::new(&Vec2::new(1.0, 2.0), &Vec::new(3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/quat.rs - quat::Quat::inverse (line 297) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(inverse, Some(Quat::new(-0.03333333, -0.06666667, -0.1, 0.13333334))); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/mat4.rs - mat4::Mat4::scale (line 271) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 4 | let scale = Vec3::new(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let scale = Vec3::new(2.0, 3.0, 4.0); [INFO] [stdout] 4 + let scale = Vec::new(2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/quat.rs - quat::Quat::dot (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 3 | let q1 = Quat::new(1.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 4 | let q2 = Quat::new(0.0, 1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/quat.rs - quat::Quat::length_squared (line 217) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::rotate_y (line 446) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:448:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::translate (line 251) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/mat4.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 4 | let translate = 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] 4 - let translate = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 4 + let translate = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/mat2.rs - mat2::Mat2::mul (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 3 | let a = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 3 | let a = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let a = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] 3 + let a = Mat2::new(&Vec::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 3 | let a = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let a = Mat2::new(&Vec2::new(1.0, 2.0), &Vec2::new(3.0, 4.0)); [INFO] [stdout] 3 + let a = Mat2::new(&Vec2::new(1.0, 2.0), &Vec::new(3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/mat2.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 4 | let b = Mat2::new(&Vec2::new(5.0, 6.0), &Vec2::new(7.0, 8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 4 | let b = Mat2::new(&Vec2::new(5.0, 6.0), &Vec2::new(7.0, 8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let b = Mat2::new(&Vec2::new(5.0, 6.0), &Vec2::new(7.0, 8.0)); [INFO] [stdout] 4 + let b = Mat2::new(&Vec::new(5.0, 6.0), &Vec2::new(7.0, 8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:167:42 [INFO] [stdout] | [INFO] [stdout] 4 | let b = Mat2::new(&Vec2::new(5.0, 6.0), &Vec2::new(7.0, 8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let b = Mat2::new(&Vec2::new(5.0, 6.0), &Vec2::new(7.0, 8.0)); [INFO] [stdout] 4 + let b = Mat2::new(&Vec2::new(5.0, 6.0), &Vec::new(7.0, 8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(c.0, Vec2::new(19.0, 22.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(c.0, Vec2::new(19.0, 22.0)); [INFO] [stdout] 6 + assert_eq!(c.0, Vec::new(19.0, 22.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/mat2.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(c.1, Vec2::new(43.0, 50.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(c.1, Vec2::new(43.0, 50.0)); [INFO] [stdout] 7 + assert_eq!(c.1, Vec::new(43.0, 50.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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/quat.rs - quat::Quat::conjugate (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(conjugate, Quat::new(-1.0, -2.0, -3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/mat4.rs - mat4::Mat4::perspective (line 639) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:640:19 [INFO] [stdout] | [INFO] [stdout] 3 | let perspective = Mat4::perspective(std::f32::consts::PI / 4.0, 16.0 / 9.0, 0.1, 100.0); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/quat.rs - quat::Quat::zero (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(q, Quat::new(0.0, 0.0, 0.0, 0.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/scalar.rs - scalar::deg_to_rad (line 650) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `deg_to_rad` in this scope [INFO] [stdout] --> src/scalar.rs:654:15 [INFO] [stdout] | [INFO] [stdout] 6 | let radians = deg_to_rad(degrees); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::deg_to_rad; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg_to_rad` in this scope [INFO] [stdout] --> src/scalar.rs:658:15 [INFO] [stdout] | [INFO] [stdout] 10 | let radians = deg_to_rad(degrees); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::deg_to_rad; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/quat.rs - quat::Quat::from_vec4 (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/quat.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 3 | let v = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let v = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let v = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 4 | let q = Quat::from_vec4(&v); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(q, Quat::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/mat4.rs - mat4::Mat4::transpose (line 102) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 3 | let mat = Mat4::identity(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/quat.rs - quat::Quat::normalize (line 253) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(normalized, Some(Quat::new(0.1825742, 0.36514837, 0.5477225, 0.7302967))); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/quat.rs - quat::Quat::slerp (line 354) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 3 | let q1 = Quat::new(1.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:356:10 [INFO] [stdout] | [INFO] [stdout] 4 | let q2 = Quat::new(0.0, 1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 5 | let interpolated = Quat::slerp(&q1, &q2, 0.5); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(interpolated, Quat::new(0.5, 0.5, 0.0, 0.5)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [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/quat.rs - quat::Quat::to_mat4 (line 163) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [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/mat4.rs - mat4::Mat4::zero (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/mat4.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 3 | let mat = Mat4::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [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/scalar.rs - scalar::clamp (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `clamp` in this scope [INFO] [stdout] --> src/scalar.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 4 | let clamped_value = clamp(x, 5, 15); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use num_traits::clamp; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::clamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clamp` in this scope [INFO] [stdout] --> src/scalar.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 7 | let clamped_value = clamp(x, 12, 20); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use num_traits::clamp; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::clamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clamp` in this scope [INFO] [stdout] --> src/scalar.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 10 | let clamped_value = clamp(x, 0, 8); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use num_traits::clamp; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::clamp; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/quat.rs - quat::Quat::one (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::one(); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(q, Quat::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/quat.rs - quat::Quat::to_vec4 (line 147) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/quat.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(v, Vec4::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(v, Vec4::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] 5 + assert_eq!(v, Vec::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/scalar.rs - scalar::exp_decay (line 569) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `exp_decay` in this scope [INFO] [stdout] --> src/scalar.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 8 | let decayed_value = exp_decay(initial, decay_rate, time); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::exp_decay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exp_decay` in this scope [INFO] [stdout] --> src/scalar.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 14 | let decayed_value = exp_decay(initial, decay_rate, time); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::exp_decay; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/quat.rs - quat::Quat::new (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 3 | let q = Quat::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(q, Quat::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/quat.rs - quat::Quat::multiply (line 323) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 3 | let q1 = Quat::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 4 | let q2 = Quat::new(0.0, 1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quat` [INFO] [stdout] --> src/quat.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(result, Quat::new(-1.0, 0.0, 0.0, 0.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Quat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::quat::Quat; [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/scalar.rs - scalar::factorial (line 712) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `factorial` in this scope [INFO] [stdout] --> src/scalar.rs:714:14 [INFO] [stdout] | [INFO] [stdout] 4 | let result = factorial(n); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::factorial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `factorial` in this scope [INFO] [stdout] --> src/scalar.rs:718:14 [INFO] [stdout] | [INFO] [stdout] 8 | let result = factorial(n); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::factorial; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::normalize (line 172) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `normalize` in this scope [INFO] [stdout] --> src/scalar.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 6 | let normalized_value = normalize(value, 5.0, 10.0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::normalize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `normalize` in this scope [INFO] [stdout] --> src/scalar.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 10 | let normalized_value = normalize(value, 10.0, 20.0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::normalize; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::approx (line 380) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `approx` in this scope [INFO] [stdout] --> src/scalar.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(approx(a, b, epsilon)); // Values are approximately equal within epsilon [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::approx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `approx` in this scope [INFO] [stdout] --> src/scalar.rs:391:10 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(!approx(a, b, epsilon)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::approx; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::fract (line 273) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fract` in this scope [INFO] [stdout] --> src/scalar.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 6 | let fractional_part = fract(x); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::math::fract; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::math::fract; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::fract; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fract` in this scope [INFO] [stdout] --> src/scalar.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 10 | let fractional_part = fract(x); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::math::fract; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::math::fract; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::fract; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::fmod (line 240) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fmod` in this scope [INFO] [stdout] --> src/scalar.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 7 | let remainder = fmod(a, b); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::fmod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fmod` in this scope [INFO] [stdout] --> src/scalar.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 12 | let remainder = fmod(a, b); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::fmod; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::saturate (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `saturate` in this scope [INFO] [stdout] --> src/scalar.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 6 | let saturated_value = saturate(x); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::saturate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `saturate` in this scope [INFO] [stdout] --> src/scalar.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 10 | let saturated_value = saturate(x); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::saturate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `saturate` in this scope [INFO] [stdout] --> src/scalar.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 14 | let saturated_value = saturate(x); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::saturate; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::signum (line 340) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `signum` in this scope [INFO] [stdout] --> src/scalar.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(signum(positive), 1.0); // Positive number [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use num_traits::signum; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::signum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `signum` in this scope [INFO] [stdout] --> src/scalar.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(signum(negative), -1.0); // Negative number [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use num_traits::signum; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::signum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `signum` in this scope [INFO] [stdout] --> src/scalar.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(signum(zero), 0.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use num_traits::signum; [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::signum; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::lerp (line 416) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `lerp` in this scope [INFO] [stdout] --> src/scalar.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 8 | let interpolated = lerp(a, b, t); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::lerp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lerp` in this scope [INFO] [stdout] --> src/scalar.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 14 | let interpolated = lerp(a, b, t); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::lerp; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::smoothstep (line 530) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `smoothstep` in this scope [INFO] [stdout] --> src/scalar.rs:536:20 [INFO] [stdout] | [INFO] [stdout] 8 | let smooth_value = smoothstep(edge0, edge1, x); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::smoothstep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smoothstep` in this scope [INFO] [stdout] --> src/scalar.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 14 | let smooth_value = smoothstep(edge0, edge1, x); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::smoothstep; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::inverse_lerp (line 492) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `inverse_lerp` in this scope [INFO] [stdout] --> src/scalar.rs:498:18 [INFO] [stdout] | [INFO] [stdout] 8 | let normalized = inverse_lerp(a, b, value); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::inverse_lerp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse_lerp` in this scope [INFO] [stdout] --> src/scalar.rs:504:18 [INFO] [stdout] | [INFO] [stdout] 14 | let normalized = inverse_lerp(a, b, value); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::inverse_lerp; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::rad_to_deg (line 683) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `rad_to_deg` in this scope [INFO] [stdout] --> src/scalar.rs:687:15 [INFO] [stdout] | [INFO] [stdout] 6 | let degrees = rad_to_deg(radians); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::rad_to_deg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rad_to_deg` in this scope [INFO] [stdout] --> src/scalar.rs:691:15 [INFO] [stdout] | [INFO] [stdout] 10 | let degrees = rad_to_deg(radians); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::rad_to_deg; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::angle (line 609) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(1.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(1.0, 0.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(0.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(0.0, 1.0); [INFO] [stdout] 4 + let vec2 = Vec::new(0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/scalar.rs - scalar::lerp_angle (line 454) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `lerp_angle` in this scope [INFO] [stdout] --> src/scalar.rs:460:26 [INFO] [stdout] | [INFO] [stdout] 8 | let interpolated_angle = lerp_angle(a, b, t); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::lerp_angle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lerp_angle` in this scope [INFO] [stdout] --> src/scalar.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 14 | let interpolated_angle = lerp_angle(a, b, t); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::lerp_angle; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::step (line 306) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `step` in this scope [INFO] [stdout] --> src/scalar.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 7 | let step_value = step(edge, x); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `step` in this scope [INFO] [stdout] --> src/scalar.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 12 | let step_value = step(edge, x); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::step; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::length_squared (line 227) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:228:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/scalar.rs - scalar::remap (line 208) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `remap` in this scope [INFO] [stdout] --> src/scalar.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 6 | let remapped_value = remap(value, 0.0, 10.0, 100.0, 200.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::remap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remap` in this scope [INFO] [stdout] --> src/scalar.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 10 | let remapped_value = remap(value, 0.0, 1.0, 10.0, 20.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::remap; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::move_towards (line 607) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `move_towards` in this scope [INFO] [stdout] --> src/scalar.rs:613:17 [INFO] [stdout] | [INFO] [stdout] 8 | let new_value = move_towards(current, target, max_delta); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::move_towards; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_towards` in this scope [INFO] [stdout] --> src/scalar.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 14 | let new_value = move_towards(current, target, max_delta); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::move_towards; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::wrap (line 96) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `wrap` in this scope [INFO] [stdout] --> src/scalar.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 7 | let wrapped_value = wrap(x, 0.0, 5.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::wrap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wrap` in this scope [INFO] [stdout] --> src/scalar.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 11 | let wrapped_value = wrap(x, 0.0, 5.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::wrap; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::clamp (line 442) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(5, 10); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(5, 10); [INFO] [stdout] 3 + let vec = Vec::new(5, 10); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 4 | let min_vec = Vec2::new(3, 7); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let min_vec = Vec2::new(3, 7); [INFO] [stdout] 4 + let min_vec = Vec::new(3, 7); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 5 | let max_vec = Vec2::new(6, 8); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let max_vec = Vec2::new(6, 8); [INFO] [stdout] 5 + let max_vec = Vec::new(6, 8); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(clamped_vec, Vec2::new(5, 8)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(clamped_vec, Vec2::new(5, 8)); [INFO] [stdout] 7 + assert_eq!(clamped_vec, Vec::new(5, 8)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec2.rs - vec2::Vec2::lerp (line 674) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 3 | let start = Vec2::new(0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let start = Vec2::new(0.0, 0.0); [INFO] [stdout] 3 + let start = Vec::new(0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:676:11 [INFO] [stdout] | [INFO] [stdout] 4 | let end = Vec2::new(10.0, 10.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let end = Vec2::new(10.0, 10.0); [INFO] [stdout] 4 + let end = Vec::new(10.0, 10.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:678:20 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(result, Vec2::new(5.0, 5.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(result, Vec2::new(5.0, 5.0)); [INFO] [stdout] 6 + assert_eq!(result, Vec::new(5.0, 5.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::move_towards (line 830) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:831:13 [INFO] [stdout] | [INFO] [stdout] 3 | let start = Vec2::new(1.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let start = Vec2::new(1.0, 1.0); [INFO] [stdout] 3 + let start = Vec::new(1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:832:14 [INFO] [stdout] | [INFO] [stdout] 4 | let target = Vec2::new(4.0, 5.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let target = Vec2::new(4.0, 5.0); [INFO] [stdout] 4 + let target = Vec::new(4.0, 5.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/scalar.rs - scalar::wrap_angle (line 130) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `wrap_angle` in this scope [INFO] [stdout] --> src/scalar.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 7 | let wrapped_angle = wrap_angle(angle); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::wrap_angle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wrap_angle` in this scope [INFO] [stdout] --> src/scalar.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 11 | let wrapped_angle = wrap_angle(angle); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | let wrapped_angle = wrapped_angle(angle); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::scalar::wrap_angle; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::distance_squared (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(4.0, 6.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(4.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::one (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::one(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::one(); [INFO] [stdout] 3 + let vec = Vec::one(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec2.rs - vec2::Vec2::dot (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(3.0, 4.0); [INFO] [stdout] 4 + let vec2 = Vec::new(3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::recip (line 864) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:865:9 [INFO] [stdout] | [INFO] [stdout] 3 | let v = Vec2::new(2.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let v = Vec2::new(2.0, 4.0); [INFO] [stdout] 3 + let v = Vec::new(2.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:867:21 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(recip_v, Vec2::new(0.5, 0.25)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(recip_v, Vec2::new(0.5, 0.25)); [INFO] [stdout] 5 + assert_eq!(recip_v, Vec::new(0.5, 0.25)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::length (line 477) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec2.rs - vec2::Vec2::line_angle (line 641) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 3 | let start = Vec2::new(1.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let start = Vec2::new(1.0, 1.0); [INFO] [stdout] 3 + let start = Vec::new(1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:643:11 [INFO] [stdout] | [INFO] [stdout] 4 | let end = Vec2::new(4.0, 3.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let end = Vec2::new(4.0, 3.0); [INFO] [stdout] 4 + let end = Vec::new(4.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/vec2.rs:644:49 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(start.line_angle(&end), (-0.6435011).abs()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0689. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::normalize (line 503) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:504:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec2.rs - vec2::Vec2::new (line 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(3.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec2.rs - vec2::Vec2::distance (line 537) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(4.0, 6.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(4.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::from_vec3 (line 143) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec2.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec3 = 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] 3 - let vec3 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec3 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::from_vec3(&vec3); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::from_vec3(&vec3); [INFO] [stdout] 4 + let vec2 = Vec::from_vec3(&vec3); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::direction (line 572) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:574:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(4.0, 6.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(4.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:576:27 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(direction, Vec2::new(0.6, 0.8)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(direction, Vec2::new(0.6, 0.8)); [INFO] [stdout] 6 + assert_eq!(direction, Vec::new(0.6, 0.8)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec3.rs - vec3::Vec3::cross (line 194) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `=` [INFO] [stdout] --> src/vec3.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 1 | x = self.y * other.z - self.z * other.y [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::from_vec4 (line 170) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec2.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec4 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec4 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec4 = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::from_vec4(&vec4); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::from_vec4(&vec4); [INFO] [stdout] 4 + let vec2 = Vec::from_vec4(&vec4); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::max (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(3, 7); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(3, 7); [INFO] [stdout] 3 + let vec1 = Vec::new(3, 7); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(4, 5); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(4, 5); [INFO] [stdout] 4 + let vec2 = Vec::new(4, 5); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:409:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(max_vec, Vec2::new(4, 7)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(max_vec, Vec2::new(4, 7)); [INFO] [stdout] 6 + assert_eq!(max_vec, Vec::new(4, 7)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::min (line 376) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec2::new(3, 7); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec2::new(3, 7); [INFO] [stdout] 3 + let vec1 = Vec::new(3, 7); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec2::new(4, 5); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec2::new(4, 5); [INFO] [stdout] 4 + let vec2 = Vec::new(4, 5); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(min_vec, Vec2::new(3, 5)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(min_vec, Vec2::new(3, 5)); [INFO] [stdout] 6 + assert_eq!(min_vec, Vec::new(3, 5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec2.rs - vec2::Vec2::reflect (line 707) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:708:16 [INFO] [stdout] | [INFO] [stdout] 3 | let incident = Vec2::new(1.0, -1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let incident = Vec2::new(1.0, -1.0); [INFO] [stdout] 3 + let incident = Vec::new(1.0, -1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 4 | let normal = Vec2::new(0.0, 1.0).normalize().unwrap(); // Normalized normal vector [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let normal = Vec2::new(0.0, 1.0).normalize().unwrap(); // Normalized normal vector [INFO] [stdout] 4 + let normal = Vec::new(0.0, 1.0).normalize().unwrap(); // Normalized normal vector [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:711:23 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(reflected, Vec2::new(1.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(reflected, Vec2::new(1.0, 1.0)); [INFO] [stdout] 6 + assert_eq!(reflected, Vec::new(1.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec3.rs - vec3::Vec3::from_vec2 (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec3.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec2 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec2 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec2 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec3 = Vec3::from_vec2(&vec2); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec3 = Vec3::from_vec2(&vec2); [INFO] [stdout] 4 + let vec3 = Vec::from_vec2(&vec2); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(vec3.z, T::zero()); [INFO] [stdout] | ^ use of undeclared type `T` [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/vec2.rs - vec2::Vec2::zero (line 76) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::zero(); [INFO] [stdout] 3 + let vec = Vec::zero(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec3.rs - vec3::Vec3::distance_squared (line 248) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `distance_squared` in this scope [INFO] [stdout] --> src/vec3.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 3 | let distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_248_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/vec3.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:249:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_248_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/vec3.rs:249:51 [INFO] [stdout] | [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_248_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] 4 | (self.y - other.y) * (self.y - other.y) + [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/vec3.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 4 | (self.y - other.y) * (self.y - other.y) + [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_248_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | distance_squared = (self.x - other.x) * (self.x - other.x) + [INFO] [stdout] 4 | (self.y - other.y) * (self.y - other.y) + [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/vec3.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 4 | (self.y - other.y) * (self.y - other.y) + [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_248_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 5 | (self.z - other.z) * (self.z - other.z) [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/vec3.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 5 | (self.z - other.z) * (self.z - other.z) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:251:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_248_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 5 | (self.z - other.z) * (self.z - other.z) [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/vec3.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 5 | (self.z - other.z) * (self.z - other.z) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec2.rs - vec2::Vec2::transform_mat3 (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:337:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/vec2.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mat = Mat3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec2.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 5 | Vec3::new(1.0, 0.0, 3.0), // Translation x [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - Vec3::new(1.0, 0.0, 3.0), // Translation x [INFO] [stdout] 5 + Vec::new(1.0, 0.0, 3.0), // Translation x [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec2.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 6 | Vec3::new(0.0, 1.0, 4.0), // Translation y [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - Vec3::new(0.0, 1.0, 4.0), // Translation y [INFO] [stdout] 6 + Vec::new(0.0, 1.0, 4.0), // Translation y [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec2.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 7 | Vec3::new(0.0, 0.0, 1.0) // Homogeneous coordinate [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - Vec3::new(0.0, 0.0, 1.0) // Homogeneous coordinate [INFO] [stdout] 7 + Vec::new(0.0, 0.0, 1.0) // Homogeneous coordinate [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(transformed_vec, Vec2::new(4.0, 6.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(transformed_vec, Vec2::new(4.0, 6.0)); [INFO] [stdout] 10 + assert_eq!(transformed_vec, Vec::new(4.0, 6.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec3.rs - vec3::Vec3::distance_squared (line 261) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(4.0, 5.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] 4 - let vec2 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 5.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::dot (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(4.0, 5.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] 4 - let vec2 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 5.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec2.rs - vec2::Vec2::rotate (line 794) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 3 | let v = Vec2::new(1.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let v = Vec2::new(1.0, 0.0); [INFO] [stdout] 3 + let v = Vec::new(1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:797:23 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(rotated_v, Vec2::new(0.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(rotated_v, Vec2::new(0.0, 1.0)); [INFO] [stdout] 5 + assert_eq!(rotated_v, Vec::new(0.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [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/vec3.rs - vec3::Vec3::lerp (line 780) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:781:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec3::new(0.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] 3 - let vec1 = Vec3::new(0.0, 0.0, 0.0); [INFO] [stdout] 3 + let vec1 = Vec::new(0.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:782:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(10.0, 10.0, 10.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec3::new(10.0, 10.0, 10.0); [INFO] [stdout] 4 + let vec2 = Vec::new(10.0, 10.0, 10.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:784:30 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(interpolated_vec, Vec3::new(5.0, 5.0, 5.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(interpolated_vec, Vec3::new(5.0, 5.0, 5.0)); [INFO] [stdout] 6 + assert_eq!(interpolated_vec, Vec::new(5.0, 5.0, 5.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::length_squared (line 234) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::new(3.0, 4.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] 3 - let vec = Vec3::new(3.0, 4.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [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/vec3.rs - vec3::Vec3::angle (line 612) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = 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] 4 - let vec2 = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let vec2 = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::min (line 368) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(4.0, 1.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] 4 - let vec2 = Vec3::new(4.0, 1.0, 2.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(min_vec, Vec3::new(1.0, 1.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] 6 - assert_eq!(min_vec, Vec3::new(1.0, 1.0, 2.0)); [INFO] [stdout] 6 + assert_eq!(min_vec, Vec::new(1.0, 1.0, 2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::max (line 397) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(4.0, 1.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] 4 - let vec2 = Vec3::new(4.0, 1.0, 2.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(max_vec, Vec3::new(4.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] 6 - assert_eq!(max_vec, Vec3::new(4.0, 2.0, 3.0)); [INFO] [stdout] 6 + assert_eq!(max_vec, Vec::new(4.0, 2.0, 3.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::move_towards (line 808) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:809:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::new(0.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] 3 - let vec = Vec3::new(0.0, 0.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(0.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:810:14 [INFO] [stdout] | [INFO] [stdout] 4 | let target = Vec3::new(10.0, 10.0, 10.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let target = Vec3::new(10.0, 10.0, 10.0); [INFO] [stdout] 4 + let target = Vec::new(10.0, 10.0, 10.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:812:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(new_vec, Vec3::new(3.5355339, 3.5355339, 3.5355339)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(new_vec, Vec3::new(3.5355339, 3.5355339, 3.5355339)); [INFO] [stdout] 6 + assert_eq!(new_vec, Vec::new(3.5355339, 3.5355339, 3.5355339)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::length (line 508) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:509:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::new(3.0, 4.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] 3 - let vec = Vec3::new(3.0, 4.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [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/vec3.rs - vec3::Vec3::length_squared (line 226) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `length_squared` in this scope [INFO] [stdout] --> src/vec3.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 3 | let length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_226_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:227:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_226_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:227:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_226_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:227:45 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_226_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_226_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/vec3.rs:227:63 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_vec3_rs_226_0() { [INFO] [stdout] | ------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | length_squared = self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec3.rs - vec3::Vec3::from_vec4 (line 155) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec3.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec4 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec4 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec4 = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec3 = Vec3::from_vec4(&vec4); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec3 = Vec3::from_vec4(&vec4); [INFO] [stdout] 4 + let vec3 = Vec::from_vec4(&vec4); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::ortho_normalize (line 691) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:692:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vec1 = 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] 3 - let mut vec1 = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] 3 + let mut vec1 = Vec::new(1.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:693:16 [INFO] [stdout] | [INFO] [stdout] 4 | let mut vec2 = Vec3::new(0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let mut vec2 = Vec3::new(0.0, 1.0, 1.0); [INFO] [stdout] 4 + let mut vec2 = Vec::new(0.0, 1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:695:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(vec1, Vec3::new(1.0, 0.0, 0.0)); // Orthonormalized vector1 [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(vec1, Vec3::new(1.0, 0.0, 0.0)); // Orthonormalized vector1 [INFO] [stdout] 6 + assert_eq!(vec1, Vec::new(1.0, 0.0, 0.0)); // Orthonormalized vector1 [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:696:18 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(vec2, Vec3::new(0.0, 0.70710677, 0.70710677)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(vec2, Vec3::new(0.0, 0.70710677, 0.70710677)); [INFO] [stdout] 7 + assert_eq!(vec2, Vec::new(0.0, 0.70710677, 0.70710677)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [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/vec2.rs - vec2::Vec2::set (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::set(5.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::set(5.0); [INFO] [stdout] 3 + let vec = Vec::set(5.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [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/vec3.rs - vec3::Vec3::normalize (line 528) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::new(3.0, 4.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] 3 - let vec = Vec3::new(3.0, 4.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(norm_vec, Vec3::new(0.6, 0.8, 0.0)); // Normalized vector [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(norm_vec, Vec3::new(0.6, 0.8, 0.0)); // Normalized vector [INFO] [stdout] 5 + assert_eq!(norm_vec, Vec::new(0.6, 0.8, 0.0)); // Normalized vector [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::transform_mat3 (line 279) stdout ---- [INFO] [stdout] error: prefix `x` is unknown [INFO] [stdout] --> src/vec3.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 1 | x' = transform.0.x * self.x + transform.1.x * self.y + transform.2.x * self.z [INFO] [stdout] | ^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 1 | x ' = transform.0.x * self.x + transform.1.x * self.y + transform.2.x * self.z [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/vec3.rs:280:2 [INFO] [stdout] | [INFO] [stdout] 1 | x' = transform.0.x * self.x + transform.1.x * self.y + transform.2.x * self.z [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 E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec3.rs - vec3::Vec3::cross (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = 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] 4 - let vec2 = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let vec2 = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(cross_product, Vec3::new(0.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(cross_product, Vec3::new(0.0, 0.0, 1.0)); [INFO] [stdout] 6 + assert_eq!(cross_product, Vec::new(0.0, 0.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::one (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::one(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec3::one(); [INFO] [stdout] 3 + let vec = Vec::one(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(vec.x, T::one()); [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(vec.y, T::one()); [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(vec.z, T::one()); [INFO] [stdout] | ^ use of undeclared type `T` [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/vec2.rs - vec2::Vec2::transform_mat2 (line 292) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat2` [INFO] [stdout] --> src/vec2.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mat = Mat2::new(&Vec2::new(1.0, 0.0), &Vec2::new(0.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Mat2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat2::Mat2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mat = Mat2::new(&Vec2::new(1.0, 0.0), &Vec2::new(0.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let mat = Mat2::new(&Vec2::new(1.0, 0.0), &Vec2::new(0.0, 1.0)); [INFO] [stdout] 4 + let mat = Mat2::new(&Vec::new(1.0, 0.0), &Vec2::new(0.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:294:44 [INFO] [stdout] | [INFO] [stdout] 4 | let mat = Mat2::new(&Vec2::new(1.0, 0.0), &Vec2::new(0.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let mat = Mat2::new(&Vec2::new(1.0, 0.0), &Vec2::new(0.0, 1.0)); [INFO] [stdout] 4 + let mat = Mat2::new(&Vec2::new(1.0, 0.0), &Vec::new(0.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec2.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(transformed_vec, Vec2::new(1.0, 2.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(transformed_vec, Vec2::new(1.0, 2.0)); [INFO] [stdout] 6 + assert_eq!(transformed_vec, Vec::new(1.0, 2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/vec3.rs - vec3::Vec3::distance (line 555) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(4.0, 5.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] 4 - let vec2 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 5.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::project (line 644) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = 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] 4 - let vec2 = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let vec2 = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:648:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(proj, Vec3::new(0.0, 2.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] 6 - assert_eq!(proj, Vec3::new(0.0, 2.0, 0.0)); [INFO] [stdout] 6 + assert_eq!(proj, Vec::new(0.0, 2.0, 0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::perpendicular (line 467) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:468:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = 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] 3 - let vec = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:470:31 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(perpendicular_vec, Vec3::new(-3.0, 1.0, 0.0).normalize()); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(perpendicular_vec, Vec3::new(-3.0, 1.0, 0.0).normalize()); [INFO] [stdout] 5 + assert_eq!(perpendicular_vec, Vec::new(-3.0, 1.0, 0.0).normalize()); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::recip (line 833) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:834:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::new(1.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec3::new(1.0, 2.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:836:23 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(recip_vec, Vec3::new(1.0, 0.5, 0.25)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(recip_vec, Vec3::new(1.0, 0.5, 0.25)); [INFO] [stdout] 5 + assert_eq!(recip_vec, Vec::new(1.0, 0.5, 0.25)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::rotate_by_axis (line 723) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:724:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = 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] 3 - let vec = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 4 | let axis = 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] 4 - let axis = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let axis = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:727:25 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(rotated_vec, Vec3::new(0.0, 0.0, -1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(rotated_vec, Vec3::new(0.0, 0.0, -1.0)); [INFO] [stdout] 6 + assert_eq!(rotated_vec, Vec::new(0.0, 0.0, -1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::direction (line 584) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec3::new(4.0, 5.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] 4 - let vec2 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] 4 + let vec2 = Vec::new(4.0, 5.0, 6.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:588:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(dir, Vec3::new(0.57735027, 0.57735027, 0.57735027)); // Direction vector [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(dir, Vec3::new(0.57735027, 0.57735027, 0.57735027)); // Direction vector [INFO] [stdout] 6 + assert_eq!(dir, Vec::new(0.57735027, 0.57735027, 0.57735027)); // Direction vector [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::reject (line 669) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = 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] 3 - let vec1 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = 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] 4 - let vec2 = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let vec2 = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(rej, Vec3::new(1.0, 1.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] 6 - assert_eq!(rej, Vec3::new(1.0, 1.0, 3.0)); [INFO] [stdout] 6 + assert_eq!(rej, Vec::new(1.0, 1.0, 3.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec3.rs - vec3::Vec3::clamp (line 427) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::new(5.0, -1.0, 10.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec3::new(5.0, -1.0, 10.0); [INFO] [stdout] 3 + let vec = Vec::new(5.0, -1.0, 10.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 4 | let min_vec = Vec3::new(0.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] 4 - let min_vec = Vec3::new(0.0, 0.0, 0.0); [INFO] [stdout] 4 + let min_vec = Vec::new(0.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 5 | let max_vec = Vec3::new(3.0, 3.0, 8.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let max_vec = Vec3::new(3.0, 3.0, 8.0); [INFO] [stdout] 5 + let max_vec = Vec::new(3.0, 3.0, 8.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(clamped_vec, Vec3::new(3.0, 0.0, 8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(clamped_vec, Vec3::new(3.0, 0.0, 8.0)); [INFO] [stdout] 7 + assert_eq!(clamped_vec, Vec::new(3.0, 0.0, 8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [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/vec3.rs - vec3::Vec3::transform_mat4 (line 316) stdout ---- [INFO] [stdout] error: prefix `x` is unknown [INFO] [stdout] --> src/vec3.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 1 | x' = transform.0.x * self.x + transform.1.x * self.y + transform.2.x * self.z + transform.3.x [INFO] [stdout] | ^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 1 | x ' = transform.0.x * self.x + transform.1.x * self.y + transform.2.x * self.z + transform.3.x [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/vec3.rs:317:2 [INFO] [stdout] | [INFO] [stdout] 1 | x' = transform.0.x * self.x + transform.1.x * self.y + transform.2.x * self.z + transform.3.x [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 E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec3.rs - vec3::Vec3::new (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = 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] 3 - let vec = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [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/vec4.rs - vec4::Vec4::clamp (line 298) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:299:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::new(5.0, -3.0, 10.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::new(5.0, -3.0, 10.0, 2.0); [INFO] [stdout] 3 + let vec = Vec::new(5.0, -3.0, 10.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:300:15 [INFO] [stdout] | [INFO] [stdout] 4 | let min_vec = Vec4::new(0.0, 0.0, 5.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let min_vec = Vec4::new(0.0, 0.0, 5.0, 1.0); [INFO] [stdout] 4 + let min_vec = Vec::new(0.0, 0.0, 5.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 5 | let max_vec = Vec4::new(4.0, 2.0, 8.0, 3.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - let max_vec = Vec4::new(4.0, 2.0, 8.0, 3.0); [INFO] [stdout] 5 + let max_vec = Vec::new(4.0, 2.0, 8.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:303:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(clamped_vec, Vec4::new(4.0, 0.0, 8.0, 2.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(clamped_vec, Vec4::new(4.0, 0.0, 8.0, 2.0)); [INFO] [stdout] 7 + assert_eq!(clamped_vec, Vec::new(4.0, 0.0, 8.0, 2.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [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/vec4.rs - vec4::Vec4::from_vec3 (line 141) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec4.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec3 = 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] 3 - let vec3 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec3 = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec4 = Vec4::from_vec3(&vec3); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec4 = Vec4::from_vec3(&vec3); [INFO] [stdout] 4 + let vec4 = Vec::from_vec3(&vec3); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(vec4, Vec4::new(1.0, 2.0, 3.0, 0.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(vec4, Vec4::new(1.0, 2.0, 3.0, 0.0)); [INFO] [stdout] 5 + assert_eq!(vec4, Vec::new(1.0, 2.0, 3.0, 0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec3.rs - vec3::Vec3::transform_mat4 (line 329) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/vec3.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 4 | let transform = Mat4::new( [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec3.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 5 | Vec4::new(1.0, 0.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - Vec4::new(1.0, 0.0, 0.0, 0.0), [INFO] [stdout] 5 + Vec::new(1.0, 0.0, 0.0, 0.0), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec3.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 6 | Vec4::new(0.0, 1.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - Vec4::new(0.0, 1.0, 0.0, 0.0), [INFO] [stdout] 6 + Vec::new(0.0, 1.0, 0.0, 0.0), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec3.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 7 | Vec4::new(0.0, 0.0, 1.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - Vec4::new(0.0, 0.0, 1.0, 0.0), [INFO] [stdout] 7 + Vec::new(0.0, 0.0, 1.0, 0.0), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec3.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 8 | Vec4::new(2.0, 3.0, 4.0, 1.0) [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - Vec4::new(2.0, 3.0, 4.0, 1.0) [INFO] [stdout] 8 + Vec::new(2.0, 3.0, 4.0, 1.0) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:337:11 [INFO] [stdout] | [INFO] [stdout] 10 | let vec = 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] 10 - let vec = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 10 + let vec = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:339:29 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(transformed_vec, Vec3::new(3.0, 5.0, 7.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - assert_eq!(transformed_vec, Vec3::new(3.0, 5.0, 7.0)); [INFO] [stdout] 12 + assert_eq!(transformed_vec, Vec::new(3.0, 5.0, 7.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/vec4.rs - vec4::Vec4::length (line 329) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:330:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::new(3.0, 4.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::new(3.0, 4.0, 0.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(3.0, 4.0, 0.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [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/vec4.rs - vec4::Vec4::lerp (line 379) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec4::new(5.0, 6.0, 7.0, 8.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec4::new(5.0, 6.0, 7.0, 8.0); [INFO] [stdout] 4 + let vec2 = Vec::new(5.0, 6.0, 7.0, 8.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:384:26 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(interpolated, Vec4::new(3.0, 4.0, 5.0, 6.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(interpolated, Vec4::new(3.0, 4.0, 5.0, 6.0)); [INFO] [stdout] 7 + assert_eq!(interpolated, Vec::new(3.0, 4.0, 5.0, 6.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec3.rs - vec3::Vec3::set (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::set(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] 3 - let vec = Vec3::set(2.0); [INFO] [stdout] 3 + let vec = Vec::set(2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [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/vec4.rs - vec4::Vec4::new (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(vec, Vec4::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(vec, Vec4::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] 4 + assert_eq!(vec, Vec::new(1.0, 2.0, 3.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec3.rs - vec3::Vec3::reflect (line 755) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:756:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = 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] 3 - let vec = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:757:14 [INFO] [stdout] | [INFO] [stdout] 4 | let normal = 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] 4 - let normal = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] 4 + let normal = Vec::new(0.0, 1.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:759:27 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(reflected_vec, 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] 6 - assert_eq!(reflected_vec, Vec3::new(1.0, -2.0, 3.0)); [INFO] [stdout] 6 + assert_eq!(reflected_vec, Vec::new(1.0, -2.0, 3.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [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/vec4.rs - vec4::Vec4::from_vec2 (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/vec4.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec2 = Vec2::new(1.0, 2.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec2 = Vec2::new(1.0, 2.0); [INFO] [stdout] 3 + let vec2 = Vec::new(1.0, 2.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec2::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec4 = Vec4::from_vec2(&vec2); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec4 = Vec4::from_vec2(&vec2); [INFO] [stdout] 4 + let vec4 = Vec::from_vec2(&vec2); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(vec4, Vec4::new(1.0, 2.0, 0.0, 0.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(vec4, Vec4::new(1.0, 2.0, 0.0, 0.0)); [INFO] [stdout] 5 + assert_eq!(vec4, Vec::new(1.0, 2.0, 0.0, 0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec3.rs - vec3::Vec3::zero (line 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec3::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec3::zero(); [INFO] [stdout] 3 + let vec = Vec::zero(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(vec.x, T::zero()); [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(vec.y, T::zero()); [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/vec3.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(vec.z, T::zero()); [INFO] [stdout] | ^ use of undeclared type `T` [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/vec4.rs - vec4::Vec4::zero (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::zero(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::zero(); [INFO] [stdout] 3 + let vec = Vec::zero(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(vec, Vec4::new(0.0, 0.0, 0.0, 0.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(vec, Vec4::new(0.0, 0.0, 0.0, 0.0)); [INFO] [stdout] 4 + assert_eq!(vec, Vec::new(0.0, 0.0, 0.0, 0.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec3.rs - vec3::Vec3::transform_mat3 (line 292) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat3` [INFO] [stdout] --> src/vec3.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 4 | let transform = Mat3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Mat3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat3::Mat3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 5 - Vec3::new(1.0, 0.0, 0.0), [INFO] [stdout] 5 + Vec::new(1.0, 0.0, 0.0), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 6 - Vec3::new(0.0, 1.0, 0.0), [INFO] [stdout] 6 + Vec::new(0.0, 1.0, 0.0), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 7 | Vec3::new(0.0, 0.0, 1.0) [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - Vec3::new(0.0, 0.0, 1.0) [INFO] [stdout] 7 + Vec::new(0.0, 0.0, 1.0) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/vec3.rs:299:11 [INFO] [stdout] | [INFO] [stdout] 9 | let vec = 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] 9 - let vec = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] 9 + let vec = Vec::new(1.0, 2.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec3::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/vec4.rs - vec4::Vec4::min (line 237) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec4::new(2.0, 1.0, 4.0, 3.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec4::new(2.0, 1.0, 4.0, 3.0); [INFO] [stdout] 4 + let vec2 = Vec::new(2.0, 1.0, 4.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(min_vec, Vec4::new(1.0, 1.0, 3.0, 3.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(min_vec, Vec4::new(1.0, 1.0, 3.0, 3.0)); [INFO] [stdout] 6 + assert_eq!(min_vec, Vec::new(1.0, 1.0, 3.0, 3.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec4.rs - vec4::Vec4::transform (line 204) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::new(1.0, 2.0, 3.0, 1.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::new(1.0, 2.0, 3.0, 1.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 3.0, 1.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat4` [INFO] [stdout] --> src/vec4.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 4 | let transform = Mat4::identity(); // Assuming an identity matrix [INFO] [stdout] | ^^^^ use of undeclared type `Mat4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::mat4::Mat4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(transformed_vec, Vec4::new(1.0, 2.0, 3.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(transformed_vec, Vec4::new(1.0, 2.0, 3.0, 1.0)); [INFO] [stdout] 6 + assert_eq!(transformed_vec, Vec::new(1.0, 2.0, 3.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec4.rs - vec4::Vec4::length_squared (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [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/vec4.rs - vec4::Vec4::set (line 102) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::set(5.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::set(5.0); [INFO] [stdout] 3 + let vec = Vec::set(5.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(vec, Vec4::new(5.0, 5.0, 5.0, 5.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(vec, Vec4::new(5.0, 5.0, 5.0, 5.0)); [INFO] [stdout] 4 + assert_eq!(vec, Vec::new(5.0, 5.0, 5.0, 5.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec4.rs - vec4::Vec4::max (line 266) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec4::new(2.0, 1.0, 4.0, 3.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec4::new(2.0, 1.0, 4.0, 3.0); [INFO] [stdout] 4 + let vec2 = Vec::new(2.0, 1.0, 4.0, 3.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(max_vec, Vec4::new(2.0, 2.0, 4.0, 4.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(max_vec, Vec4::new(2.0, 2.0, 4.0, 4.0)); [INFO] [stdout] 6 + assert_eq!(max_vec, Vec::new(2.0, 2.0, 4.0, 4.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec4.rs - vec4::Vec4::one (line 84) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::one(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::one(); [INFO] [stdout] 3 + let vec = Vec::one(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(vec, Vec4::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(vec, Vec4::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] 4 + assert_eq!(vec, Vec::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec4.rs - vec4::Vec4::dot (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 3 | let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec1 = Vec4::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] 3 + let vec1 = Vec::new(1.0, 2.0, 3.0, 4.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 4 | let vec2 = Vec4::new(5.0, 6.0, 7.0, 8.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - let vec2 = Vec4::new(5.0, 6.0, 7.0, 8.0); [INFO] [stdout] 4 + let vec2 = Vec::new(5.0, 6.0, 7.0, 8.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [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/vec4.rs - vec4::Vec4::normalize (line 350) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vec = Vec4::new(1.0, 2.0, 2.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vec = Vec4::new(1.0, 2.0, 2.0, 0.0); [INFO] [stdout] 3 + let vec = Vec::new(1.0, 2.0, 2.0, 0.0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec4` [INFO] [stdout] --> src/vec4.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(normalized, Some(Vec4::new(0.33333334, 0.6666667, 0.6666667, 0.0))); [INFO] [stdout] | ^^^^ use of undeclared type `Vec4` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(normalized, Some(Vec4::new(0.33333334, 0.6666667, 0.6666667, 0.0))); [INFO] [stdout] 5 + assert_eq!(normalized, Some(Vec::new(0.33333334, 0.6666667, 0.6666667, 0.0))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rsm_lib::vec4::Vec4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/mat2.rs - mat2::Mat2::determinant (line 119) [INFO] [stdout] src/mat2.rs - mat2::Mat2::identity (line 77) [INFO] [stdout] src/mat2.rs - mat2::Mat2::mul (line 151) [INFO] [stdout] src/mat2.rs - mat2::Mat2::mul (line 165) [INFO] [stdout] src/mat2.rs - mat2::Mat2::new (line 39) [INFO] [stdout] src/mat2.rs - mat2::Mat2::rotation (line 216) [INFO] [stdout] src/mat2.rs - mat2::Mat2::rotation (line 227) [INFO] [stdout] src/mat2.rs - mat2::Mat2::scale (line 193) [INFO] [stdout] src/mat2.rs - mat2::Mat2::trace (line 138) [INFO] [stdout] src/mat2.rs - mat2::Mat2::transpose (line 96) [INFO] [stdout] src/mat2.rs - mat2::Mat2::zero (line 57) [INFO] [stdout] src/mat3.rs - mat3::Mat3::determinant (line 127) [INFO] [stdout] src/mat3.rs - mat3::Mat3::identity (line 85) [INFO] [stdout] src/mat3.rs - mat3::Mat3::invert (line 277) [INFO] [stdout] src/mat3.rs - mat3::Mat3::mul (line 178) [INFO] [stdout] src/mat3.rs - mat3::Mat3::new (line 45) [INFO] [stdout] src/mat3.rs - mat3::Mat3::rotate_2d (line 321) [INFO] [stdout] src/mat3.rs - mat3::Mat3::rotate_3d (line 356) [INFO] [stdout] src/mat3.rs - mat3::Mat3::rotate_x_3d (line 402) [INFO] [stdout] src/mat3.rs - mat3::Mat3::rotate_y_3d (line 436) [INFO] [stdout] src/mat3.rs - mat3::Mat3::rotate_z_3d (line 470) [INFO] [stdout] src/mat3.rs - mat3::Mat3::scale_2d (line 230) [INFO] [stdout] src/mat3.rs - mat3::Mat3::scale_3d (line 250) [INFO] [stdout] src/mat3.rs - mat3::Mat3::trace (line 157) [INFO] [stdout] src/mat3.rs - mat3::Mat3::translate_2d (line 211) [INFO] [stdout] src/mat3.rs - mat3::Mat3::transpose (line 105) [INFO] [stdout] src/mat3.rs - mat3::Mat3::zero (line 64) [INFO] [stdout] src/mat4.rs - mat4::Mat4::determinant (line 125) [INFO] [stdout] src/mat4.rs - mat4::Mat4::frustum (line 587) [INFO] [stdout] src/mat4.rs - mat4::Mat4::identity (line 81) [INFO] [stdout] src/mat4.rs - mat4::Mat4::invert (line 294) [INFO] [stdout] src/mat4.rs - mat4::Mat4::look_at (line 746) [INFO] [stdout] src/mat4.rs - mat4::Mat4::mul (line 209) [INFO] [stdout] src/mat4.rs - mat4::Mat4::new (line 44) [INFO] [stdout] src/mat4.rs - mat4::Mat4::orthographic (line 695) [INFO] [stdout] src/mat4.rs - mat4::Mat4::perspective (line 639) [INFO] [stdout] src/mat4.rs - mat4::Mat4::rotate (line 375) [INFO] [stdout] src/mat4.rs - mat4::Mat4::rotate_x (line 423) [INFO] [stdout] src/mat4.rs - mat4::Mat4::rotate_xyz (line 497) [INFO] [stdout] src/mat4.rs - mat4::Mat4::rotate_y (line 446) [INFO] [stdout] src/mat4.rs - mat4::Mat4::rotate_z (line 469) [INFO] [stdout] src/mat4.rs - mat4::Mat4::rotate_zyx (line 541) [INFO] [stdout] src/mat4.rs - mat4::Mat4::scale (line 271) [INFO] [stdout] src/mat4.rs - mat4::Mat4::trace (line 191) [INFO] [stdout] src/mat4.rs - mat4::Mat4::translate (line 251) [INFO] [stdout] src/mat4.rs - mat4::Mat4::transpose (line 102) [INFO] [stdout] src/mat4.rs - mat4::Mat4::zero (line 62) [INFO] [stdout] src/quat.rs - quat::Quat::conjugate (line 277) [INFO] [stdout] src/quat.rs - quat::Quat::dot (line 200) [INFO] [stdout] src/quat.rs - quat::Quat::from_euler (line 98) [INFO] [stdout] src/quat.rs - quat::Quat::from_vec4 (line 131) [INFO] [stdout] src/quat.rs - quat::Quat::inverse (line 297) [INFO] [stdout] src/quat.rs - quat::Quat::length (line 233) [INFO] [stdout] src/quat.rs - quat::Quat::length_squared (line 217) [INFO] [stdout] src/quat.rs - quat::Quat::multiply (line 323) [INFO] [stdout] src/quat.rs - quat::Quat::new (line 45) [INFO] [stdout] src/quat.rs - quat::Quat::normalize (line 253) [INFO] [stdout] src/quat.rs - quat::Quat::one (line 75) [INFO] [stdout] src/quat.rs - quat::Quat::slerp (line 354) [INFO] [stdout] src/quat.rs - quat::Quat::to_mat4 (line 163) [INFO] [stdout] src/quat.rs - quat::Quat::to_vec4 (line 147) [INFO] [stdout] src/quat.rs - quat::Quat::zero (line 60) [INFO] [stdout] src/scalar.rs - scalar::approx (line 380) [INFO] [stdout] src/scalar.rs - scalar::clamp (line 20) [INFO] [stdout] src/scalar.rs - scalar::deg_to_rad (line 650) [INFO] [stdout] src/scalar.rs - scalar::exp_decay (line 569) [INFO] [stdout] src/scalar.rs - scalar::factorial (line 712) [INFO] [stdout] src/scalar.rs - scalar::fmod (line 240) [INFO] [stdout] src/scalar.rs - scalar::fract (line 273) [INFO] [stdout] src/scalar.rs - scalar::inverse_lerp (line 492) [INFO] [stdout] src/scalar.rs - scalar::lerp (line 416) [INFO] [stdout] src/scalar.rs - scalar::lerp_angle (line 454) [INFO] [stdout] src/scalar.rs - scalar::move_towards (line 607) [INFO] [stdout] src/scalar.rs - scalar::normalize (line 172) [INFO] [stdout] src/scalar.rs - scalar::rad_to_deg (line 683) [INFO] [stdout] src/scalar.rs - scalar::remap (line 208) [INFO] [stdout] src/scalar.rs - scalar::saturate (line 58) [INFO] [stdout] src/scalar.rs - scalar::signum (line 340) [INFO] [stdout] src/scalar.rs - scalar::smoothstep (line 530) [INFO] [stdout] src/scalar.rs - scalar::step (line 306) [INFO] [stdout] src/scalar.rs - scalar::wrap (line 96) [INFO] [stdout] src/scalar.rs - scalar::wrap_angle (line 130) [INFO] [stdout] src/vec2.rs - vec2::Vec2::angle (line 609) [INFO] [stdout] src/vec2.rs - vec2::Vec2::clamp (line 442) [INFO] [stdout] src/vec2.rs - vec2::Vec2::direction (line 572) [INFO] [stdout] src/vec2.rs - vec2::Vec2::distance (line 537) [INFO] [stdout] src/vec2.rs - vec2::Vec2::distance_squared (line 256) [INFO] [stdout] src/vec2.rs - vec2::Vec2::dot (line 200) [INFO] [stdout] src/vec2.rs - vec2::Vec2::from_vec3 (line 143) [INFO] [stdout] src/vec2.rs - vec2::Vec2::from_vec4 (line 170) [INFO] [stdout] src/vec2.rs - vec2::Vec2::length (line 477) [INFO] [stdout] src/vec2.rs - vec2::Vec2::length_squared (line 227) [INFO] [stdout] src/vec2.rs - vec2::Vec2::lerp (line 674) [INFO] [stdout] src/vec2.rs - vec2::Vec2::line_angle (line 641) [INFO] [stdout] src/vec2.rs - vec2::Vec2::max (line 405) [INFO] [stdout] src/vec2.rs - vec2::Vec2::min (line 376) [INFO] [stdout] src/vec2.rs - vec2::Vec2::move_towards (line 830) [INFO] [stdout] src/vec2.rs - vec2::Vec2::new (line 56) [INFO] [stdout] src/vec2.rs - vec2::Vec2::normalize (line 503) [INFO] [stdout] src/vec2.rs - vec2::Vec2::one (line 96) [INFO] [stdout] src/vec2.rs - vec2::Vec2::recip (line 864) [INFO] [stdout] src/vec2.rs - vec2::Vec2::reflect (line 707) [INFO] [stdout] src/vec2.rs - vec2::Vec2::rotate (line 794) [INFO] [stdout] src/vec2.rs - vec2::Vec2::set (line 118) [INFO] [stdout] src/vec2.rs - vec2::Vec2::transform_mat2 (line 292) [INFO] [stdout] src/vec2.rs - vec2::Vec2::transform_mat3 (line 336) [INFO] [stdout] src/vec2.rs - vec2::Vec2::zero (line 76) [INFO] [stdout] src/vec3.rs - vec3::Vec3::angle (line 612) [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] src/vec3.rs - vec3::Vec3::clamp (line 427) [INFO] [stdout] src/vec3.rs - vec3::Vec3::cross (line 194) [INFO] [stdout] src/vec3.rs - vec3::Vec3::cross (line 207) [INFO] [stdout] src/vec3.rs - vec3::Vec3::direction (line 584) [INFO] [stdout] src/vec3.rs - vec3::Vec3::distance (line 555) [INFO] [stdout] src/vec3.rs - vec3::Vec3::distance_squared (line 248) [INFO] [stdout] src/vec3.rs - vec3::Vec3::distance_squared (line 261) [INFO] [stdout] src/vec3.rs - vec3::Vec3::dot (line 179) [INFO] [stdout] src/vec3.rs - vec3::Vec3::from_vec2 (line 131) [INFO] [stdout] src/vec3.rs - vec3::Vec3::from_vec4 (line 155) [INFO] [stdout] src/vec3.rs - vec3::Vec3::length (line 508) [INFO] [stdout] src/vec3.rs - vec3::Vec3::length_squared (line 226) [INFO] [stdout] src/vec3.rs - vec3::Vec3::length_squared (line 234) [INFO] [stdout] src/vec3.rs - vec3::Vec3::lerp (line 780) [INFO] [stdout] src/vec3.rs - vec3::Vec3::max (line 397) [INFO] [stdout] src/vec3.rs - vec3::Vec3::min (line 368) [INFO] [stdout] src/vec3.rs - vec3::Vec3::move_towards (line 808) [INFO] [stdout] src/vec3.rs - vec3::Vec3::new (line 54) [INFO] [stdout] src/vec3.rs - vec3::Vec3::normalize (line 528) [INFO] [stdout] src/vec3.rs - vec3::Vec3::one (line 88) [INFO] [stdout] src/vec3.rs - vec3::Vec3::ortho_normalize (line 691) [INFO] [stdout] src/vec3.rs - vec3::Vec3::perpendicular (line 467) [INFO] [stdout] src/vec3.rs - vec3::Vec3::project (line 644) [INFO] [stdout] src/vec3.rs - vec3::Vec3::recip (line 833) [INFO] [stdout] src/vec3.rs - vec3::Vec3::reflect (line 755) [INFO] [stdout] src/vec3.rs - vec3::Vec3::reject (line 669) [INFO] [stdout] src/vec3.rs - vec3::Vec3::rotate_by_axis (line 723) [INFO] [stdout] src/vec3.rs - vec3::Vec3::set (line 108) [INFO] [stdout] src/vec3.rs - vec3::Vec3::transform_mat3 (line 279) [INFO] [stdout] src/vec3.rs - vec3::Vec3::transform_mat3 (line 292) [INFO] [stdout] src/vec3.rs - vec3::Vec3::transform_mat4 (line 316) [INFO] [stdout] src/vec3.rs - vec3::Vec3::transform_mat4 (line 329) [INFO] [stdout] src/vec3.rs - vec3::Vec3::zero (line 71) [INFO] [stdout] src/vec4.rs - vec4::Vec4::clamp (line 298) [INFO] [stdout] src/vec4.rs - vec4::Vec4::dot (line 160) [INFO] [stdout] src/vec4.rs - vec4::Vec4::from_vec2 (line 121) [INFO] [stdout] src/vec4.rs - vec4::Vec4::from_vec3 (line 141) [INFO] [stdout] src/vec4.rs - vec4::Vec4::length (line 329) [INFO] [stdout] src/vec4.rs - vec4::Vec4::length_squared (line 180) [INFO] [stdout] src/vec4.rs - vec4::Vec4::lerp (line 379) [INFO] [stdout] src/vec4.rs - vec4::Vec4::max (line 266) [INFO] [stdout] src/vec4.rs - vec4::Vec4::min (line 237) [INFO] [stdout] src/vec4.rs - vec4::Vec4::new (line 54) [INFO] [stdout] src/vec4.rs - vec4::Vec4::normalize (line 350) [INFO] [stdout] src/vec4.rs - vec4::Vec4::one (line 84) [INFO] [stdout] src/vec4.rs - vec4::Vec4::set (line 102) [INFO] [stdout] src/vec4.rs - vec4::Vec4::transform (line 204) [INFO] [stdout] src/vec4.rs - vec4::Vec4::zero (line 69) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 156 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b72e4e951ce69cd233b39e2044eea0ba28358d48bcf9ff21e5352874d97b5df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72e4e951ce69cd233b39e2044eea0ba28358d48bcf9ff21e5352874d97b5df7", kill_on_drop: false }` [INFO] [stdout] b72e4e951ce69cd233b39e2044eea0ba28358d48bcf9ff21e5352874d97b5df7