[INFO] fetching crate planar_geo 0.3.10... [INFO] testing planar_geo-0.3.10 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate planar_geo 0.3.10 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate planar_geo 0.3.10 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate planar_geo 0.3.10 [INFO] tweaked toml for crates.io crate planar_geo 0.3.10 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate planar_geo 0.3.10 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate planar_geo 0.3.10 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f445f1407979c7e25dacb01c5674fd050c7fa417b7696ce1443c25c33d18e5b [INFO] running `Command { std: "docker" "start" "-a" "0f445f1407979c7e25dacb01c5674fd050c7fa417b7696ce1443c25c33d18e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f445f1407979c7e25dacb01c5674fd050c7fa417b7696ce1443c25c33d18e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f445f1407979c7e25dacb01c5674fd050c7fa417b7696ce1443c25c33d18e5b", kill_on_drop: false }` [INFO] [stdout] 0f445f1407979c7e25dacb01c5674fd050c7fa417b7696ce1443c25c33d18e5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a005a56d14540f6cc5ae960a41695be4b67f740049dd2acf1468f8fda99969d1 [INFO] running `Command { std: "docker" "start" "-a" "a005a56d14540f6cc5ae960a41695be4b67f740049dd2acf1468f8fda99969d1", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v1.0.1+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling planar_geo v0.3.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling geometry-predicates v0.3.0 [INFO] [stderr] Compiling compare_variables_macro v0.2.1 [INFO] [stderr] Compiling compare_variables v0.2.1 [INFO] [stderr] Compiling toml_parser v1.0.10+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.25.5+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling approx-derive v0.2.8 [INFO] [stderr] Compiling approxim v0.6.10 [INFO] [stderr] Compiling bounding_box v0.4.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.53s [INFO] running `Command { std: "docker" "inspect" "a005a56d14540f6cc5ae960a41695be4b67f740049dd2acf1468f8fda99969d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a005a56d14540f6cc5ae960a41695be4b67f740049dd2acf1468f8fda99969d1", kill_on_drop: false }` [INFO] [stdout] a005a56d14540f6cc5ae960a41695be4b67f740049dd2acf1468f8fda99969d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da85861f8689f7954ed71aefe3d8313d9cd716097e4c6228919a97fe44e0f7f8 [INFO] running `Command { std: "docker" "start" "-a" "da85861f8689f7954ed71aefe3d8313d9cd716097e4c6228919a97fe44e0f7f8", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling zerocopy-derive v0.8.47 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling cfg-expr v0.20.7 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-jpeg v0.5.14 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling avif-serialize v0.8.8 [INFO] [stderr] Compiling approx-derive v0.2.8 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling glib-sys v0.21.5 [INFO] [stderr] Compiling gobject-sys v0.21.5 [INFO] [stderr] Compiling gio-sys v0.21.5 [INFO] [stderr] Compiling cairo-sys-rs v0.21.5 [INFO] [stderr] Compiling pxfm v0.1.28 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling approxim v0.6.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling glib-macros v0.21.5 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling compare_variables_macro v0.2.1 [INFO] [stderr] Compiling bounding_box v0.4.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling cairo_viewport v0.2.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling compare_variables v0.2.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tiff v0.11.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling planar_geo v0.3.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling glib v0.21.5 [INFO] [stderr] Compiling ravif v0.13.0 [INFO] [stderr] Compiling image v0.25.10 [INFO] [stderr] Compiling image-compare v0.4.2 [INFO] [stderr] Compiling cairo-rs v0.21.5 [INFO] [stdout] error[E0432]: unresolved import `planar_geo::draw` [INFO] [stdout] --> tests/drawable/arrows.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | draw::{Color, LineStyle, Style}, [INFO] [stdout] | ^^^^ could not find `draw` in `planar_geo` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "cairo")] [INFO] [stdout] | ----------------- the item is gated behind the `cairo` feature [INFO] [stdout] 99 | pub mod draw; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/geometric_types.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/geometric_types.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | style.background_color = Color::from_rgba8(144, 213, 255, 255); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/geometric_types.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | style.line_color = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | return line_segment.draw(&style, cr); [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::ArcSegment` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | return arc_segment.draw(&style, cr); [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::ArcSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | line_segment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Segment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | arc_segment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Segment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Polysegment` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | polysegment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Polysegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | contour.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> examples/arc_segments.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | cs_style.line_cap = cairo::LineCap::Square; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> examples/geometric_types.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | grid_style.line_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | cs_style.line_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | cs_style.background_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/arc_segments.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut red_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | red_style.line_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/arc_segments.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let mut blue_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | blue_style.line_color = Color::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/arc_segments.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let mut green_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | green_style.line_color = Color::new(0.0, 1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/arc_segments.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let mut yellow_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/arc_segments.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | yellow_style.line_color = Color::new(1.0, 1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/arc_segments.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let mut grid_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> examples/arc_segments.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | let mut cs_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> examples/arc_segments.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | grid(&bb, 1.0, [0.0, 0.0], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `planar_geo` (example "geometric_types") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::ArcSegment` in the current scope [INFO] [stdout] --> examples/arc_segments.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | red_arc.draw(&red_style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::ArcSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::ArcSegment` in the current scope [INFO] [stdout] --> examples/arc_segments.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | blue_arc.draw(&blue_style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::ArcSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::ArcSegment` in the current scope [INFO] [stdout] --> examples/arc_segments.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | green_arc.draw(&green_style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::ArcSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::ArcSegment` in the current scope [INFO] [stdout] --> examples/arc_segments.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | yellow_arc.draw(&yellow_style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::ArcSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coordinate_system` in this scope [INFO] [stdout] --> examples/arc_segments.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | return coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `planar_geo` (example "arc_segments") due to 20 previous errors [INFO] [stdout] error[E0425]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn line_and_style() -> (Segment, Style) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:510:36 [INFO] [stdout] | [INFO] [stdout] 510 | fn setup_rotated_text() -> (Shape, Style, Viewport) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1146:23 [INFO] [stdout] | [INFO] [stdout] 1146 | let mut txt = Text { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | grid_style.line_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grid_and_coordinate_system::cairo::Content::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | cs_style.line_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grid_and_coordinate_system::cairo::Content::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | cs_style.background_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grid_and_coordinate_system::cairo::Content::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | grid_style.line_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grid_and_coordinate_system::cairo::Content::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | cs_style.line_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grid_and_coordinate_system::cairo::Content::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | cs_style.background_color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grid_and_coordinate_system::cairo::Content::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let draw_fn = |cr: &cairo::Context| { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | fn create_fn() -> Box Result<(), cairo::Error>> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | fn create_fn() -> Box Result<(), cairo::Error>> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Text` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mut txt = Text { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | let drawing_fn = move |cr: &cairo::Context| { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | fn create_fn() -> Box Result<(), cairo::Error>> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:117:69 [INFO] [stdout] | [INFO] [stdout] 117 | fn create_fn() -> Box Result<(), cairo::Error>> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | let drawing_fn = move |cr: &cairo::Context| { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cairo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cairo`, use `cargo add cairo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_viewport::cairo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Text` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let txt = Text { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Text` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | let txt = Text { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | arrow.draw(&style, cr) [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | arrow.draw(&style, cr) [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | arrow.draw(&style, cr) [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | arrow.draw(&style, cr) [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | arrow.draw(&style, cr) [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | arrow.draw(&style, cr) [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | arrow.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/arrows.rs:227:27 [INFO] [stdout] | [INFO] [stdout] 227 | rectangle.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | return (line, Style::default()); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Drawable` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let _ = Drawable::from(line_and_style()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Drawable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableRef` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let _ = DrawableRef::from((&line, style)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableCow` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let _ = DrawableCow::from(line_and_style()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableCow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableCow` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let _ = DrawableCow::from((&line, style)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableCow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableCow` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let _ = DrawableCow::from((line, style)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableCow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableCow` in this scope [INFO] [stdout] --> tests/drawable/conversion.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let _ = DrawableCow::from((line, style)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableCow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | style.line_color = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 13 - style.line_color = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 13 + style.line_color = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | style.line_style = LineStyle::Solid; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | line.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Segment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | style.line_color = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 52 - style.line_color = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 52 + style.line_color = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | style.line_style = LineStyle::Solid; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | line.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Segment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let mut text = Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 84 - Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] 84 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | text.anchor = Anchor::TopLeft; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | text.anchor = Anchor::BottomLeft; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | text.anchor = Anchor::TopRight; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | text.anchor = Anchor::BottomRight; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | for anchor in [Anchor::Center, Anchor::Centroid].into_iter() { [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | for anchor in [Anchor::Center, Anchor::Centroid].into_iter() { [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | text.anchor = Anchor::Top; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | text.anchor = Anchor::Left; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | text.anchor = Anchor::Right; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | text.anchor = Anchor::Bottom; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | let mut text = Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 161 - Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] 161 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | text.anchor = Anchor::TopLeft; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | text.anchor = Anchor::BottomLeft; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | text.anchor = Anchor::TopRight; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | text.anchor = Anchor::BottomRight; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | text.anchor = Anchor::TopLeft; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | text.anchor = Anchor::BottomLeft; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | text.anchor = Anchor::TopRight; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | text.anchor = Anchor::BottomRight; [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | let style = Style::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 237 - Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] 237 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | Color::new(0.0, 0.0, 1.0, 0.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 238 - Color::new(0.0, 0.0, 1.0, 0.0), [INFO] [stdout] 238 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 0.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | LineStyle::Solid, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | let text = Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 251 - Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] 251 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 294 - let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 294 + let black = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | let mut style = Style::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 296 - Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] 296 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 297 - Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] 297 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | LineStyle::Solid, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:328:32 [INFO] [stdout] | [INFO] [stdout] 328 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | Anchor::Centroid, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 380 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | Anchor::TopRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:406:32 [INFO] [stdout] | [INFO] [stdout] 406 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | Anchor::Right, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:423:23 [INFO] [stdout] | [INFO] [stdout] 423 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:432:32 [INFO] [stdout] | [INFO] [stdout] 432 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | Anchor::Left, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:458:32 [INFO] [stdout] | [INFO] [stdout] 458 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:475:23 [INFO] [stdout] | [INFO] [stdout] 475 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:484:32 [INFO] [stdout] | [INFO] [stdout] 484 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | Anchor::Bottom, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:501:23 [INFO] [stdout] | [INFO] [stdout] 501 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | let style = Style::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 524 - Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] 524 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 525 - Color::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] 525 + crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | LineStyle::Solid, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 539 - let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 539 + let black = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:543:32 [INFO] [stdout] | [INFO] [stdout] 543 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:560:23 [INFO] [stdout] | [INFO] [stdout] 560 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:569:32 [INFO] [stdout] | [INFO] [stdout] 569 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:595:32 [INFO] [stdout] | [INFO] [stdout] 595 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:612:23 [INFO] [stdout] | [INFO] [stdout] 612 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 623 - let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 623 + let black = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:626:32 [INFO] [stdout] | [INFO] [stdout] 626 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 643 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:652:32 [INFO] [stdout] | [INFO] [stdout] 652 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:669:23 [INFO] [stdout] | [INFO] [stdout] 669 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 680 - let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 680 + let black = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:684:32 [INFO] [stdout] | [INFO] [stdout] 684 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | Anchor::TopRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:701:23 [INFO] [stdout] | [INFO] [stdout] 701 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:710:32 [INFO] [stdout] | [INFO] [stdout] 710 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | Anchor::TopRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:727:23 [INFO] [stdout] | [INFO] [stdout] 727 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:738:17 [INFO] [stdout] | [INFO] [stdout] 738 | let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 738 - let black = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] 738 + let black = crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:742:32 [INFO] [stdout] | [INFO] [stdout] 742 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | Anchor::Right, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Text` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:768:32 [INFO] [stdout] | [INFO] [stdout] 768 | style.text = Some(Box::new(Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | Anchor::Right, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:785:23 [INFO] [stdout] | [INFO] [stdout] 785 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:890:21 [INFO] [stdout] | [INFO] [stdout] 890 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:891:30 [INFO] [stdout] | [INFO] [stdout] 891 | style.background_color = Color::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 891 - style.background_color = Color::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] 891 + style.background_color = crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:901:23 [INFO] [stdout] | [INFO] [stdout] 901 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:917:27 [INFO] [stdout] | [INFO] [stdout] 917 | let mut style_inner = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:918:36 [INFO] [stdout] | [INFO] [stdout] 918 | style_inner.background_color = Color::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 918 - style_inner.background_color = Color::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] 918 + style_inner.background_color = crate::geometry_types::cairo::Content::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:934:27 [INFO] [stdout] | [INFO] [stdout] 934 | let mut style_outer = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:935:36 [INFO] [stdout] | [INFO] [stdout] 935 | style_outer.background_color = Color::new(0.0, 1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 935 - style_outer.background_color = Color::new(0.0, 1.0, 0.0, 1.0); [INFO] [stdout] 935 + style_outer.background_color = crate::geometry_types::cairo::Content::new(0.0, 1.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:954:29 [INFO] [stdout] | [INFO] [stdout] 954 | shape_outer.draw(&style_outer, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:955:29 [INFO] [stdout] | [INFO] [stdout] 955 | shape_inner.draw(&style_inner, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:979:21 [INFO] [stdout] | [INFO] [stdout] 979 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Polysegment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:991:29 [INFO] [stdout] | [INFO] [stdout] 991 | polysegment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Polysegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1023:23 [INFO] [stdout] | [INFO] [stdout] 1023 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1061:21 [INFO] [stdout] | [INFO] [stdout] 1061 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1062:30 [INFO] [stdout] | [INFO] [stdout] 1062 | style.background_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1062 - style.background_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] 1062 + style.background_color = crate::geometry_types::cairo::Content::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1077:23 [INFO] [stdout] | [INFO] [stdout] 1077 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1087:30 [INFO] [stdout] | [INFO] [stdout] 1087 | style.background_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1087 - style.background_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] 1087 + style.background_color = crate::geometry_types::cairo::Content::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1102:23 [INFO] [stdout] | [INFO] [stdout] 1102 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1112:30 [INFO] [stdout] | [INFO] [stdout] 1112 | style.background_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1112 - style.background_color = Color::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] 1112 + style.background_color = crate::geometry_types::cairo::Content::new(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1127:23 [INFO] [stdout] | [INFO] [stdout] 1127 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1148:21 [INFO] [stdout] | [INFO] [stdout] 1148 | anchor: Anchor::Bottom, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1151:20 [INFO] [stdout] | [INFO] [stdout] 1151 | color: Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::geometry_types::cairo::Content::Color`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1151 - color: Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] 1151 + color: crate::geometry_types::cairo::Content::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1156:25 [INFO] [stdout] | [INFO] [stdout] 1156 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1162:28 [INFO] [stdout] | [INFO] [stdout] 1162 | style.line_style = LineStyle::Solid; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1164:17 [INFO] [stdout] | [INFO] [stdout] 1164 | segment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1168:28 [INFO] [stdout] | [INFO] [stdout] 1168 | style.line_style = LineStyle::Dotted; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1170:17 [INFO] [stdout] | [INFO] [stdout] 1170 | segment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1174:28 [INFO] [stdout] | [INFO] [stdout] 1174 | style.line_style = LineStyle::default_dashed(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1176:17 [INFO] [stdout] | [INFO] [stdout] 1176 | segment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1180:28 [INFO] [stdout] | [INFO] [stdout] 1180 | style.line_style = LineStyle::None; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> tests/drawable/geometry_types.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | segment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | let mut grid_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | grid(&bb, 1.0, [0.0, 0.0], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | grid(&bb, 0.5, [0.0, 0.0], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | grid(&bb, 1.0, [0.5, 0.5], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | grid(&bb, 1.0, [1.5, 1.5], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | grid(&bb, 1.0, [0.0, 0.0], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | grid(&bb, 1.0, [0.0, 0.0], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let mut cs_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coordinate_system` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coordinate_system` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coordinate_system` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coordinate_system` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | let mut grid_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:268:24 [INFO] [stdout] | [INFO] [stdout] 268 | let mut cs_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | grid(&bb, 1.0, [0.0, 0.0], &grid_style, cr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coordinate_system` in this scope [INFO] [stdout] --> tests/drawable/grid_and_coordinate_system.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 138 | fn test_coordinate_system() { [INFO] [stdout] | --------------------------- similarly named constant `test_coordinate_system` defined here [INFO] [stdout] ... [INFO] [stdout] 299 | coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 299 | test_coordinate_system( [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | style.line_color = Color::new(0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | style.line_style = LineStyle::Solid; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | style.background_color = Color::from_rgba8(144, 213, 255, 255); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let mut intersected_segments_style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | intersected_segments_style.line_color = Color::new(1.0, 1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `LineStyle` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | intersected_segments_style.line_style = LineStyle::Solid; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `IntersectionStyle` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | let intersection_style = IntersectionStyle::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IntersectionStyle` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 - let intersection_style = IntersectionStyle::default(); [INFO] [stdout] 39 + let intersection_style = Intersection::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Shape` in the current scope [INFO] [stdout] --> tests/drawable/intersection.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Polysegment` in the current scope [INFO] [stdout] --> tests/drawable/intersection.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | polysegment.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Polysegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Intersection` in the current scope [INFO] [stdout] --> tests/drawable/intersection.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | i.draw( [INFO] [stdout] | --^^^^ method not found in `planar_geo::prelude::Intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableRef` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | Some(DrawableRef::new(&shape, intersected_segments_style.clone())), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DrawableRef` in this scope [INFO] [stdout] --> tests/drawable/intersection.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | Some(DrawableRef::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DrawableRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | style.line_color = Color::new(1.0, 0.5, 0.5, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | style.background_color = Color::new(0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | anchor: Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | color: Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/text_placement.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | contour.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> tests/drawable/text_placement.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | hori.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::LineSegment` in the current scope [INFO] [stdout] --> tests/drawable/text_placement.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | vert.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::LineSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | style.line_color = Color::new(0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | Anchor::Center, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | Anchor::Top, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | Anchor::TopRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | Anchor::Right, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | Anchor::BottomRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | Anchor::Bottom, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | Anchor::BottomLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | Anchor::Left, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/text_placement.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | contour.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Anchor::TopRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | Anchor::BottomRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | Anchor::BottomLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Style` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let mut style = Style::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | style.line_color = Color::new(1.0, 0.5, 0.5, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | anchor: Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | color: Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/text_placement.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | contour.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Anchor` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | anchor: Anchor::TopLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | color: Color::new(0.0, 0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> tests/drawable/text_placement.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | style.line_color = Color::new(0.5, 0.8, 0.5, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Contour` in the current scope [INFO] [stdout] --> tests/drawable/text_placement.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | contour.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `planar_geo` (test "drawable") due to 228 previous errors [INFO] running `Command { std: "docker" "inspect" "da85861f8689f7954ed71aefe3d8313d9cd716097e4c6228919a97fe44e0f7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da85861f8689f7954ed71aefe3d8313d9cd716097e4c6228919a97fe44e0f7f8", kill_on_drop: false }` [INFO] [stdout] da85861f8689f7954ed71aefe3d8313d9cd716097e4c6228919a97fe44e0f7f8