[INFO] fetching crate prima 0.5.3... [INFO] testing prima-0.5.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate prima 0.5.3 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prima 0.5.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding glam v0.20.5 (available: v0.30.8) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.8) [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.1.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded obj-rs v0.6.4 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f1982f9f62d01ec4c422fff28f2cd3e372abf71aee1c9d14a609acaa7732050 [INFO] running `Command { std: "docker" "start" "-a" "9f1982f9f62d01ec4c422fff28f2cd3e372abf71aee1c9d14a609acaa7732050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1982f9f62d01ec4c422fff28f2cd3e372abf71aee1c9d14a609acaa7732050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1982f9f62d01ec4c422fff28f2cd3e372abf71aee1c9d14a609acaa7732050", kill_on_drop: false }` [INFO] [stdout] 9f1982f9f62d01ec4c422fff28f2cd3e372abf71aee1c9d14a609acaa7732050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa27a6a8a28f7a608b633bceac179b5a3ee03b968bf105d82cd0949f9b48db9c [INFO] running `Command { std: "docker" "start" "-a" "aa27a6a8a28f7a608b633bceac179b5a3ee03b968bf105d82cd0949f9b48db9c", kill_on_drop: false }` [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 weezl v0.1.10 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling obj-rs v0.6.4 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling prima v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.13s [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 2` [INFO] running `Command { std: "docker" "inspect" "aa27a6a8a28f7a608b633bceac179b5a3ee03b968bf105d82cd0949f9b48db9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa27a6a8a28f7a608b633bceac179b5a3ee03b968bf105d82cd0949f9b48db9c", kill_on_drop: false }` [INFO] [stdout] aa27a6a8a28f7a608b633bceac179b5a3ee03b968bf105d82cd0949f9b48db9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78db04c1c893752b4ee82f5a16df61f7e06138f9dd22cd8bdd434c60733da4d5 [INFO] running `Command { std: "docker" "start" "-a" "78db04c1c893752b4ee82f5a16df61f7e06138f9dd22cd8bdd434c60733da4d5", 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.83s [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 2` [INFO] running `Command { std: "docker" "inspect" "78db04c1c893752b4ee82f5a16df61f7e06138f9dd22cd8bdd434c60733da4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78db04c1c893752b4ee82f5a16df61f7e06138f9dd22cd8bdd434c60733da4d5", kill_on_drop: false }` [INFO] [stdout] 78db04c1c893752b4ee82f5a16df61f7e06138f9dd22cd8bdd434c60733da4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 384c1713646dc9913b6d792909d7013f29f728e93f63d88a5b06190dad634433 [INFO] running `Command { std: "docker" "start" "-a" "384c1713646dc9913b6d792909d7013f29f728e93f63d88a5b06190dad634433", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prima-e0fa32bc7be59f87) [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] [stderr] Doc-tests prima [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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/geom/line2.rs - geom::line2::Line2 (line 12) ... FAILED [INFO] [stdout] test src/geom/polygon.rs - geom::polygon::Polygon (line 6) ... FAILED [INFO] [stdout] test src/geom/circle.rs - geom::circle::Circle (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/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_valid (line 37) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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] ---- 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/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 (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/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/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/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::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/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/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] [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.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "384c1713646dc9913b6d792909d7013f29f728e93f63d88a5b06190dad634433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384c1713646dc9913b6d792909d7013f29f728e93f63d88a5b06190dad634433", kill_on_drop: false }` [INFO] [stdout] 384c1713646dc9913b6d792909d7013f29f728e93f63d88a5b06190dad634433