[INFO] fetching crate prima 0.5.3... [INFO] testing prima-0.5.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate prima 0.5.3 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prima 0.5.3 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding glam v0.20.5 (available: v0.30.5) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.7) [INFO] [stderr] Adding imageproc v0.22.0 (available: v0.25.0) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding obj-rs v0.6.4 (available: v0.7.4) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.0.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded obj-rs v0.6.4 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b9aaf4d24d689174c6b86b43296eaa1f07b836eb2d36e9db1bd481121c7b18a0 [INFO] running `Command { std: "docker" "start" "-a" "b9aaf4d24d689174c6b86b43296eaa1f07b836eb2d36e9db1bd481121c7b18a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9aaf4d24d689174c6b86b43296eaa1f07b836eb2d36e9db1bd481121c7b18a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9aaf4d24d689174c6b86b43296eaa1f07b836eb2d36e9db1bd481121c7b18a0", kill_on_drop: false }` [INFO] [stdout] b9aaf4d24d689174c6b86b43296eaa1f07b836eb2d36e9db1bd481121c7b18a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cac19648305dc7d74dcc1995a44cd97120a59c10cc243c6dbf538363fdcdb3bc [INFO] running `Command { std: "docker" "start" "-a" "cac19648305dc7d74dcc1995a44cd97120a59c10cc243c6dbf538363fdcdb3bc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling obj-rs v0.6.4 [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: obj-rs v0.6.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cac19648305dc7d74dcc1995a44cd97120a59c10cc243c6dbf538363fdcdb3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac19648305dc7d74dcc1995a44cd97120a59c10cc243c6dbf538363fdcdb3bc", kill_on_drop: false }` [INFO] [stdout] cac19648305dc7d74dcc1995a44cd97120a59c10cc243c6dbf538363fdcdb3bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f1e70dceb6a3b0561f2e2de0084053f770347af3cafd3bffd5bd2c192faeba3d [INFO] running `Command { std: "docker" "start" "-a" "f1e70dceb6a3b0561f2e2de0084053f770347af3cafd3bffd5bd2c192faeba3d", kill_on_drop: false }` [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: obj-rs v0.6.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f1e70dceb6a3b0561f2e2de0084053f770347af3cafd3bffd5bd2c192faeba3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e70dceb6a3b0561f2e2de0084053f770347af3cafd3bffd5bd2c192faeba3d", kill_on_drop: false }` [INFO] [stdout] f1e70dceb6a3b0561f2e2de0084053f770347af3cafd3bffd5bd2c192faeba3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 870e7cf5789ff5bb36346242e0c467f12a3d3853215d6c3868c9a3b55c22caee [INFO] running `Command { std: "docker" "start" "-a" "870e7cf5789ff5bb36346242e0c467f12a3d3853215d6c3868c9a3b55c22caee", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: obj-rs v0.6.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prima-36b1113b75eb64a7) [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/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/rect.rs - geom::rect::Rect (line 7) ... 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::new_valid (line 36) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) ... FAILED [INFO] [stdout] test src/geom/line2.rs - geom::line2::Line2 (line 12) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new (line 24) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::new (line 23) ... FAILED [INFO] [stdout] test src/geom/polygon.rs - geom::polygon::Polygon (line 6) ... 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 `Rect` [INFO] [stdout] --> src/geom/cuboid.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 3 + let rect = Rect::new(Vec::ZERO, Vec2::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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/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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 3 + let rect = Rect::new(Vec2::ZERO, Vec::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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 `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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use prima::core::Axis; [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] | ^^^^^^ use of undeclared type `Circle` [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] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let circle = Circle::new(Vec2::new(0.0, 0.0), 32.0); [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 structs [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 `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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 3 + let rect = Rect::new(Vec::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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/cuboid.rs:38:34 [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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 3 + let rect = Rect::new(Vec2::ZERO, Vec::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 6 + let rect2 = Rect::new(Vec::splat(8.0), Vec2::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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/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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 6 + let rect2 = Rect::new(Vec2::splat(8.0), Vec::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 8.0)); [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 structs [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 8.0)); [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 structs [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/rect.rs - geom::rect::Rect::split (line 135) 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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 3 + let rect = Rect::new(Vec::ZERO, Vec2::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 3 + let rect = Rect::new(Vec2::ZERO, Vec::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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 `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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use prima::core::Axis; [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::new_valid (line 36) 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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 3 + let rect = Rect::new(Vec::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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:37:34 [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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 3 + let rect = Rect::new(Vec2::ZERO, Vec::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 6 + let rect2 = Rect::new(Vec::splat(8.0), Vec2::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 6 + let rect2 = Rect::new(Vec2::splat(8.0), Vec::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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 (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] | ^^^^^^ use of undeclared type `Cuboid` [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] | ^^^^ use of undeclared type `Vec3` [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), Vec3::new(8.0, 8.0, 4.0)); [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 structs [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] | ^^^^ use of undeclared type `Vec3` [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), Vec3::new(8.0, 8.0, 4.0)); [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 structs [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/line2.rs - geom::line2::Line2 (line 12) 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] | ^^^^^ use of undeclared type `Line2` [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 3 + let line = Line2::new(Vec::ZERO, Vec2::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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/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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 3 + let line = Line2::new(Vec2::ZERO, Vec::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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/line2.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(line.center(), Vec2::new(0.5, 0.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 - assert_eq!(line.center(), Vec2::new(0.5, 0.5)); [INFO] [stdout] 4 + assert_eq!(line.center(), Vec::new(0.5, 0.5)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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::new (line 24) 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] | ^^^^^^ use of undeclared type `Cuboid` [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] 3 + let cuboid = Cuboid::new(Vec::ZERO, Vec3::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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:25:38 [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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] 3 + let cuboid = Cuboid::new(Vec3::ZERO, Vec::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^^^ use of undeclared type `Cuboid` [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] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] 6 + let cuboid2 = Cuboid::new(Vec::splat(8.0), Vec3::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] 6 + let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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/rect.rs - geom::rect::Rect::new (line 23) 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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 3 + let rect = Rect::new(Vec::ZERO, Vec2::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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:24:34 [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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 3 + let rect = Rect::new(Vec2::ZERO, Vec::splat(8.0)); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 6 + let rect2 = Rect::new(Vec::splat(8.0), Vec2::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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: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] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 6 + let rect2 = Rect::new(Vec2::splat(8.0), Vec::ZERO); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [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] | ^^^^^^^ use of undeclared type `Polygon` [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 0.0)); [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 structs [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 0.0)); [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 structs [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 0.0)); [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 structs [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 0.0)); [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 structs [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] | ^^^^ use of undeclared type `Vec2` [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), Vec2::new(8.0, 0.0)); [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 structs [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] | ^^^^^^^ use of undeclared type `Polygon` [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] | ^^^^ use of undeclared type `Vec2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let poly2 = Polygon::new_ngon(Vec2::new(32.0, 32.0), 16.0, 8); [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 structs [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] [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.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "870e7cf5789ff5bb36346242e0c467f12a3d3853215d6c3868c9a3b55c22caee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870e7cf5789ff5bb36346242e0c467f12a3d3853215d6c3868c9a3b55c22caee", kill_on_drop: false }` [INFO] [stdout] 870e7cf5789ff5bb36346242e0c467f12a3d3853215d6c3868c9a3b55c22caee