[INFO] fetching crate prima 0.5.3... [INFO] testing prima-0.5.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate prima 0.5.3 into /workspace/builds/worker-76/source [INFO] validating manifest of crates.io crate prima 0.5.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-76/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e90d828fda7ddf63016d827c0b6e9985d227761e0c028d145c988172e6c35e34 [INFO] running `Command { std: "docker" "start" "-a" "e90d828fda7ddf63016d827c0b6e9985d227761e0c028d145c988172e6c35e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e90d828fda7ddf63016d827c0b6e9985d227761e0c028d145c988172e6c35e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90d828fda7ddf63016d827c0b6e9985d227761e0c028d145c988172e6c35e34", kill_on_drop: false }` [INFO] [stdout] e90d828fda7ddf63016d827c0b6e9985d227761e0c028d145c988172e6c35e34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74e2ec33d1f911f723c9756d86f8b235893ffacfae2834aa322fae2203c16d25 [INFO] running `Command { std: "docker" "start" "-a" "74e2ec33d1f911f723c9756d86f8b235893ffacfae2834aa322fae2203c16d25", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [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 crc32fast v1.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling obj-rs v0.6.4 [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.20s [INFO] running `Command { std: "docker" "inspect" "74e2ec33d1f911f723c9756d86f8b235893ffacfae2834aa322fae2203c16d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e2ec33d1f911f723c9756d86f8b235893ffacfae2834aa322fae2203c16d25", kill_on_drop: false }` [INFO] [stdout] 74e2ec33d1f911f723c9756d86f8b235893ffacfae2834aa322fae2203c16d25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e2460a3870c5756ce5469aecff56e5920f60549aa34bdd15a3fca1a3b4143ab [INFO] running `Command { std: "docker" "start" "-a" "8e2460a3870c5756ce5469aecff56e5920f60549aa34bdd15a3fca1a3b4143ab", kill_on_drop: false }` [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/prima-c686336eea2a5d05) [INFO] running `Command { std: "docker" "inspect" "8e2460a3870c5756ce5469aecff56e5920f60549aa34bdd15a3fca1a3b4143ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2460a3870c5756ce5469aecff56e5920f60549aa34bdd15a3fca1a3b4143ab", kill_on_drop: false }` [INFO] [stdout] 8e2460a3870c5756ce5469aecff56e5920f60549aa34bdd15a3fca1a3b4143ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f206d1404372f7871a1a390ec0f82f563dea52d8b15c2ee148bfb4962998381d [INFO] running `Command { std: "docker" "start" "-a" "f206d1404372f7871a1a390ec0f82f563dea52d8b15c2ee148bfb4962998381d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prima-c686336eea2a5d05) [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/rect.rs - geom::rect::Rect::new (line 23) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::new_valid (line 36) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new (line 24) ... FAILED [INFO] [stdout] test src/geom/polygon.rs - geom::polygon::Polygon (line 6) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::split (line 135) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect (line 7) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::split (line 144) ... FAILED [INFO] [stdout] test src/geom/circle.rs - geom::circle::Circle (line 6) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new_valid (line 37) ... FAILED [INFO] [stdout] test src/geom/line2.rs - geom::line2::Line2 (line 12) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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/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/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/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/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::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/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/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/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] ---- 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] [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.25s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f206d1404372f7871a1a390ec0f82f563dea52d8b15c2ee148bfb4962998381d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f206d1404372f7871a1a390ec0f82f563dea52d8b15c2ee148bfb4962998381d", kill_on_drop: false }` [INFO] [stdout] f206d1404372f7871a1a390ec0f82f563dea52d8b15c2ee148bfb4962998381d