[INFO] fetching crate prima 0.5.3... [INFO] testing prima-0.5.3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate prima 0.5.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate prima 0.5.3 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate prima 0.5.3 [INFO] finished tweaking crates.io crate prima 0.5.3 [INFO] tweaked toml for crates.io crate prima 0.5.3 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3b0e07072886b01469a9a21f40b336c8080ee552d32e889c75bed6db4bd21d3 [INFO] running `Command { std: "docker" "start" "-a" "a3b0e07072886b01469a9a21f40b336c8080ee552d32e889c75bed6db4bd21d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3b0e07072886b01469a9a21f40b336c8080ee552d32e889c75bed6db4bd21d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b0e07072886b01469a9a21f40b336c8080ee552d32e889c75bed6db4bd21d3", kill_on_drop: false }` [INFO] [stdout] a3b0e07072886b01469a9a21f40b336c8080ee552d32e889c75bed6db4bd21d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c2e4929a37a9b18932c1251d2d53d2c53e21a5a5a8558f5bfc7a7314b6ea1c2 [INFO] running `Command { std: "docker" "start" "-a" "1c2e4929a37a9b18932c1251d2d53d2c53e21a5a5a8558f5bfc7a7314b6ea1c2", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling obj-rs v0.6.4 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.85s [INFO] running `Command { std: "docker" "inspect" "1c2e4929a37a9b18932c1251d2d53d2c53e21a5a5a8558f5bfc7a7314b6ea1c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2e4929a37a9b18932c1251d2d53d2c53e21a5a5a8558f5bfc7a7314b6ea1c2", kill_on_drop: false }` [INFO] [stdout] 1c2e4929a37a9b18932c1251d2d53d2c53e21a5a5a8558f5bfc7a7314b6ea1c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f5c6bffbde949162741a6dc13c985be09074244f951dd9ed5b0444b0e51eaf [INFO] running `Command { std: "docker" "start" "-a" "51f5c6bffbde949162741a6dc13c985be09074244f951dd9ed5b0444b0e51eaf", kill_on_drop: false }` [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "51f5c6bffbde949162741a6dc13c985be09074244f951dd9ed5b0444b0e51eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f5c6bffbde949162741a6dc13c985be09074244f951dd9ed5b0444b0e51eaf", kill_on_drop: false }` [INFO] [stdout] 51f5c6bffbde949162741a6dc13c985be09074244f951dd9ed5b0444b0e51eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 524b1e20e867189928eb97e12f2c690944bf292144f4892c95fd66e55737760d [INFO] running `Command { std: "docker" "start" "-a" "524b1e20e867189928eb97e12f2c690944bf292144f4892c95fd66e55737760d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/prima-79c18dd5d9209f8a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test core::maths::lerp_test ... ok [INFO] [stdout] test geom::polygon::tests::polygon_test ... ok [INFO] [stdout] test graphs::rect_tree::tests::rect_tree_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests prima [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::split (line 144) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::split (line 135) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) ... FAILED [INFO] [stdout] test src/geom/circle.rs - geom::circle::Circle (line 6) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::new_valid (line 36) ... FAILED [INFO] [stdout] test src/geom/polygon.rs - geom::polygon::Polygon (line 6) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new_valid (line 37) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::new (line 23) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect (line 7) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new (line 24) ... FAILED [INFO] [stdout] test src/geom/line2.rs - geom::line2::Line2 (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/geom/cuboid.rs - geom::cuboid::Cuboid::split (line 144) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/cuboid.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/cuboid.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axis` [INFO] [stdout] --> src/geom/cuboid.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 4 | let (a, b) = rect.split(0.5, Axis::Vertical); [INFO] [stdout] | ^^^^ use of undeclared type `Axis` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/cuboid.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [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/geom/rect.rs - geom::rect::Rect::split (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axis` [INFO] [stdout] --> src/geom/rect.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 4 | let (a, b) = rect.split(0.5, Axis::Vertical); [INFO] [stdout] | ^^^^ use of undeclared type `Axis` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/rect.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [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/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cuboid` [INFO] [stdout] --> src/geom/cuboid.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(8.0, 8.0, 4.0)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Cuboid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/cuboid.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(8.0, 8.0, 4.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec::new(0.0, 0.0, 0.0), Vec3::new(8.0, 8.0, 4.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/cuboid.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(8.0, 8.0, 4.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::new(0.0, 0.0, 0.0), Vec::new(8.0, 8.0, 4.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rect` in this scope [INFO] [stdout] --> src/geom/cuboid.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(rect.width(), 8.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rect` in this scope [INFO] [stdout] --> src/geom/cuboid.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(rect.height(), 8.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rect` in this scope [INFO] [stdout] --> src/geom/cuboid.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(rect.length(), 4.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/geom/circle.rs - geom::circle::Circle (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/geom/circle.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 3 | let circle = Circle::new(Vec2::new(0.0, 0.0), 32.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/circle.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 3 | let circle = Circle::new(Vec2::new(0.0, 0.0), 32.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let circle = Circle::new(Vec::new(0.0, 0.0), 32.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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/geom/rect.rs - geom::rect::Rect::new_valid (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec::splat(8.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/rect.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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/geom/polygon.rs - geom::polygon::Polygon (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polygon` [INFO] [stdout] --> src/geom/polygon.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use obj::raw::object::Polygon; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/polygon.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/polygon.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/polygon.rs:7:67 [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/polygon.rs:7:88 [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/polygon.rs:7:109 [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec2::new(8.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let poly = Polygon::new(Vec2::new(0.0, 0.0), Vec2::new(0.0, 8.0), Vec2::new(4.0, 8.0), Vec2::new(8.0, 8.0), Vec::new(8.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polygon` [INFO] [stdout] --> src/geom/polygon.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 6 | let poly2 = Polygon::new_ngon(Vec2::new(32.0, 32.0), 16.0, 8); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use obj::raw::object::Polygon; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/polygon.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 6 | let poly2 = Polygon::new_ngon(Vec2::new(32.0, 32.0), 16.0, 8); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let poly2 = Polygon::new_ngon(Vec::new(32.0, 32.0), 16.0, 8); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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/geom/cuboid.rs - geom::cuboid::Cuboid::new_valid (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/cuboid.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/cuboid.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/cuboid.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/cuboid.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec::splat(8.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/cuboid.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/cuboid.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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/geom/rect.rs - geom::rect::Rect::new (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/rect.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec::splat(8.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/rect.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let rect2 = Rect::new(Vec::splat(8.0), Vec2::ZERO); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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/geom/rect.rs - geom::rect::Rect (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/rect.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::new(0.0, 0.0), Vec2::new(8.0, 8.0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 2 | use rusttype::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::new(0.0, 0.0), Vec2::new(8.0, 8.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec::new(0.0, 0.0), Vec2::new(8.0, 8.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/rect.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::new(0.0, 0.0), Vec2::new(8.0, 8.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::new(0.0, 0.0), Vec::new(8.0, 8.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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/geom/cuboid.rs - geom::cuboid::Cuboid::new (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/cuboid.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/cuboid.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 6 | let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cuboid` [INFO] [stdout] --> src/geom/cuboid.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Cuboid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/cuboid.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let cuboid = Cuboid::new(Vec3::ZERO, Vec::splat(8.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cuboid` [INFO] [stdout] --> src/geom/cuboid.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 6 | let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Cuboid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/cuboid.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 6 | let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let cuboid2 = Cuboid::new(Vec::splat(8.0), Vec3::ZERO); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Vec3; [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/geom/line2.rs - geom::line2::Line2 (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/line2.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 3 | let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/line2.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 3 | let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Line2` [INFO] [stdout] --> src/geom/line2.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 3 | let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::Line2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/geom/line2.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(line.center(), Vec2::new(0.5, 0.5)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(line.center(), Vec::new(0.5, 0.5)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 2 | use prima::geom::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] [INFO] [stdout] failures: [INFO] [stdout] src/geom/circle.rs - geom::circle::Circle (line 6) [INFO] [stdout] src/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) [INFO] [stdout] src/geom/cuboid.rs - geom::cuboid::Cuboid::new (line 24) [INFO] [stdout] src/geom/cuboid.rs - geom::cuboid::Cuboid::new_valid (line 37) [INFO] [stdout] src/geom/cuboid.rs - geom::cuboid::Cuboid::split (line 144) [INFO] [stdout] src/geom/line2.rs - geom::line2::Line2 (line 12) [INFO] [stdout] src/geom/polygon.rs - geom::polygon::Polygon (line 6) [INFO] [stdout] src/geom/rect.rs - geom::rect::Rect (line 7) [INFO] [stdout] src/geom/rect.rs - geom::rect::Rect::new (line 23) [INFO] [stdout] src/geom/rect.rs - geom::rect::Rect::new_valid (line 36) [INFO] [stdout] src/geom/rect.rs - geom::rect::Rect::split (line 135) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "524b1e20e867189928eb97e12f2c690944bf292144f4892c95fd66e55737760d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524b1e20e867189928eb97e12f2c690944bf292144f4892c95fd66e55737760d", kill_on_drop: false }` [INFO] [stdout] 524b1e20e867189928eb97e12f2c690944bf292144f4892c95fd66e55737760d