[INFO] fetching crate prima 0.5.3... [INFO] testing prima-0.5.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate prima 0.5.3 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prima 0.5.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding glam v0.20.5 (available: v0.30.9) [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bff20cbe852ec55c448304f866f4a6a64d4b99a4e9299d8a9064fc39715a84b [INFO] running `Command { std: "docker" "start" "-a" "7bff20cbe852ec55c448304f866f4a6a64d4b99a4e9299d8a9064fc39715a84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bff20cbe852ec55c448304f866f4a6a64d4b99a4e9299d8a9064fc39715a84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bff20cbe852ec55c448304f866f4a6a64d4b99a4e9299d8a9064fc39715a84b", kill_on_drop: false }` [INFO] [stdout] 7bff20cbe852ec55c448304f866f4a6a64d4b99a4e9299d8a9064fc39715a84b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0668e32a184393f17daa8016fc2d99441c8fb4ad25a216fb2cb9d12c6e5b965 [INFO] running `Command { std: "docker" "start" "-a" "f0668e32a184393f17daa8016fc2d99441c8fb4ad25a216fb2cb9d12c6e5b965", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [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 adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 22.24s [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 3` [INFO] running `Command { std: "docker" "inspect" "f0668e32a184393f17daa8016fc2d99441c8fb4ad25a216fb2cb9d12c6e5b965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0668e32a184393f17daa8016fc2d99441c8fb4ad25a216fb2cb9d12c6e5b965", kill_on_drop: false }` [INFO] [stdout] f0668e32a184393f17daa8016fc2d99441c8fb4ad25a216fb2cb9d12c6e5b965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9697a5d2b5938fe45131e87c3107ba503213f9f06d9bf6375c8e33521b77b6d7 [INFO] running `Command { std: "docker" "start" "-a" "9697a5d2b5938fe45131e87c3107ba503213f9f06d9bf6375c8e33521b77b6d7", 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.96s [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 3` [INFO] running `Command { std: "docker" "inspect" "9697a5d2b5938fe45131e87c3107ba503213f9f06d9bf6375c8e33521b77b6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9697a5d2b5938fe45131e87c3107ba503213f9f06d9bf6375c8e33521b77b6d7", kill_on_drop: false }` [INFO] [stdout] 9697a5d2b5938fe45131e87c3107ba503213f9f06d9bf6375c8e33521b77b6d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2091adb8baf981ed2e5559f444a7ca48281c8eb3cdd66b88e4b397fda5ea3967 [INFO] running `Command { std: "docker" "start" "-a" "2091adb8baf981ed2e5559f444a7ca48281c8eb3cdd66b88e4b397fda5ea3967", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [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 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prima-2c3713c8dd6f96c3) [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::new (line 24) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid (line 7) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::new_valid (line 36) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect (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::split (line 144) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::split (line 135) ... FAILED [INFO] [stdout] test src/geom/cuboid.rs - geom::cuboid::Cuboid::new_valid (line 37) ... FAILED [INFO] [stdout] test src/geom/circle.rs - geom::circle::Circle (line 6) ... FAILED [INFO] [stdout] test src/geom/polygon.rs - geom::polygon::Polygon (line 6) ... FAILED [INFO] [stdout] test src/geom/rect.rs - geom::rect::Rect::new (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 25 | 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] 24 + 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] 25 | 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] 25 - let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] 25 + 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] 24 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 24 + 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] 25 | 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] 25 - let cuboid = Cuboid::new(Vec3::ZERO, Vec3::splat(8.0)); [INFO] [stdout] 25 + 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] 24 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 24 + 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] 28 | 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] 24 + 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] 28 | 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] 28 - let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] 28 + 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] 24 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 24 + 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] 28 | 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] 28 - let cuboid2 = Cuboid::new(Vec3::splat(8.0), Vec3::ZERO); [INFO] [stdout] 28 + 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] 24 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 24 + 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/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] 8 | 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] 7 + 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] 8 | 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] 8 - let cuboid = Cuboid::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(8.0, 8.0, 4.0)); [INFO] [stdout] 8 + 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] 7 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 7 + 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] 8 | 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] 8 - let cuboid = Cuboid::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(8.0, 8.0, 4.0)); [INFO] [stdout] 8 + 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] 7 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] 7 + 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] 9 | 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] 10 | 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] 11 | 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/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] 37 | 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] 36 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 36 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 36 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 37 | 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] 37 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 37 + 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] 36 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 37 | 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] 37 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 37 + 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] 36 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 40 | 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] 36 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 36 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 36 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 40 | 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] 40 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 40 + 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] 36 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 40 | 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] 40 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 40 + 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] 36 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 8 | 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] 7 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 7 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 7 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 7 + 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] 8 | 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] 8 - let rect = Rect::new(Vec2::new(0.0, 0.0), Vec2::new(8.0, 8.0)); [INFO] [stdout] 8 + 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] 7 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 7 + 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] 8 | 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] 8 - let rect = Rect::new(Vec2::new(0.0, 0.0), Vec2::new(8.0, 8.0)); [INFO] [stdout] 8 + 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] 7 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 7 + 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/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] 13 | 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] 12 + 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] 13 | 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] 13 - let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 13 + let line = Line2::new(Vec::ZERO, Vec2::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 12 + 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] 13 | 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] 13 - let line = Line2::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 13 + let line = Line2::new(Vec2::ZERO, Vec::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 12 + 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] 14 | 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] 14 - assert_eq!(line.center(), Vec2::new(0.5, 0.5)); [INFO] [stdout] 14 + 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] 12 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 12 + 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::split (line 144) stdout ---- [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/geom/cuboid.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 144 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 144 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 144 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 144 + 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] 145 | 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] 145 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 145 + let rect = Rect::new(Vec::ZERO, Vec2::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 144 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 144 + 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] 145 | 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] 145 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 145 + let rect = Rect::new(Vec2::ZERO, Vec::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 144 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 144 + 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] 146 | 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] 144 + 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::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] 136 | 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] 135 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 135 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 135 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 135 + 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] 136 | 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] 136 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 136 + let rect = Rect::new(Vec::ZERO, Vec2::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 135 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 135 + 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] 136 | 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] 136 - let rect = Rect::new(Vec2::ZERO, Vec2::ONE); [INFO] [stdout] 136 + let rect = Rect::new(Vec2::ZERO, Vec::ONE); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 135 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 135 + 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] 137 | 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] 135 + 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/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] 38 | 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] 37 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 37 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 37 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 37 + 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] 38 | 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] 38 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 38 + 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] 37 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 37 + 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] 38 | 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] 38 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 38 + 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] 37 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 37 + 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] 41 | 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] 37 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 37 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 37 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 37 + 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] 41 | 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] 41 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 41 + 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] 37 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 37 + 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] 41 | 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] 41 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 41 + 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] 37 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 37 + 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/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] 7 | 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] 6 + 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] 7 | 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] 7 - let circle = Circle::new(Vec2::new(0.0, 0.0), 32.0); [INFO] [stdout] 7 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + 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/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] 7 | 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] 6 + use obj::raw::object::Polygon; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 7 | 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] 7 - 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] 7 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 7 | 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] 7 - 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] 7 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 7 | 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] 7 - 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] 7 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 7 | 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] 7 - 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] 7 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 7 | 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] 7 - 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] 7 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 10 | 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] 6 + use obj::raw::object::Polygon; [INFO] [stdout] | [INFO] [stdout] 6 + 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] 10 | 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] 10 - let poly2 = Polygon::new_ngon(Vec2::new(32.0, 32.0), 16.0, 8); [INFO] [stdout] 10 + 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] 6 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 6 + use prima::geom::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/geom/rect.rs - geom::rect::Rect::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] 24 | 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] 23 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 23 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 23 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 23 + 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] 24 | 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] 24 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 24 + 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] 23 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 23 + 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] 24 | 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] 24 - let rect = Rect::new(Vec2::ZERO, Vec2::splat(8.0)); [INFO] [stdout] 24 + 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] 23 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 23 + 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] 27 | 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] 23 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 23 + use imageproc::rect::Rect; [INFO] [stdout] | [INFO] [stdout] 23 + use prima::geom::Rect; [INFO] [stdout] | [INFO] [stdout] 23 + 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] 27 | 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] 27 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 27 + 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] 23 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 23 + 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] 27 | 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] 27 - let rect2 = Rect::new(Vec2::splat(8.0), Vec2::ZERO); [INFO] [stdout] 27 + 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] 23 + use glam::Vec2; [INFO] [stdout] | [INFO] [stdout] 23 + 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] [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.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2091adb8baf981ed2e5559f444a7ca48281c8eb3cdd66b88e4b397fda5ea3967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2091adb8baf981ed2e5559f444a7ca48281c8eb3cdd66b88e4b397fda5ea3967", kill_on_drop: false }` [INFO] [stdout] 2091adb8baf981ed2e5559f444a7ca48281c8eb3cdd66b88e4b397fda5ea3967