[INFO] fetching crate planar_geo 0.3.10... [INFO] testing planar_geo-0.3.10 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate planar_geo 0.3.10 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate planar_geo 0.3.10 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embed-doc-image v0.1.4 [INFO] [stderr] Downloaded deserialize_untagged_verbose_error v0.1.5 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded compare_variables v0.2.1 [INFO] [stderr] Downloaded deserialize_untagged_verbose_error_macro v0.1.3 [INFO] [stderr] Downloaded compare_variables_macro v0.2.1 [INFO] [stderr] Downloaded image-compare v0.4.2 [INFO] [stderr] Downloaded bounding_box v0.4.1 [INFO] [stderr] Downloaded avif-serialize v0.8.8 [INFO] [stderr] Downloaded aligned v0.4.3 [INFO] [stderr] Downloaded approxim v0.6.10 [INFO] [stderr] Downloaded approx-derive v0.2.8 [INFO] [stderr] Downloaded cfg-expr v0.20.7 [INFO] [stderr] Downloaded toml_edit v0.25.5+spec-1.1.0 [INFO] [stderr] Downloaded cairo-rs v0.21.5 [INFO] [stderr] Downloaded cairo_viewport v0.2.5 [INFO] [stderr] Downloaded tiff v0.11.3 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.12 [INFO] [stderr] Downloaded png v0.18.1 [INFO] [stderr] Downloaded zune-jpeg v0.5.14 [INFO] [stderr] Downloaded geometry-predicates v0.3.0 [INFO] [stderr] Downloaded moxcms v0.8.1 [INFO] [stderr] Downloaded cairo-sys-rs v0.21.5 [INFO] [stderr] Downloaded ravif v0.13.0 [INFO] [stderr] Downloaded rgb v0.8.53 [INFO] [stderr] Downloaded image v0.25.10 [INFO] [stderr] Downloaded pxfm v0.1.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 052f904e8b7d28a5a2c208adb2f26383ae8b748d866ce8e5842c2cd39e9b7083 [INFO] running `Command { std: "docker" "start" "-a" "052f904e8b7d28a5a2c208adb2f26383ae8b748d866ce8e5842c2cd39e9b7083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "052f904e8b7d28a5a2c208adb2f26383ae8b748d866ce8e5842c2cd39e9b7083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "052f904e8b7d28a5a2c208adb2f26383ae8b748d866ce8e5842c2cd39e9b7083", kill_on_drop: false }` [INFO] [stdout] 052f904e8b7d28a5a2c208adb2f26383ae8b748d866ce8e5842c2cd39e9b7083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbe8587f77b8fcff9d55f87fe0bcf415a2e033948f31f8ad7306b2c13e4b392f [INFO] running `Command { std: "docker" "start" "-a" "fbe8587f77b8fcff9d55f87fe0bcf415a2e033948f31f8ad7306b2c13e4b392f", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_datetime v1.0.1+spec-1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [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 indexmap v2.13.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [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 14.24s [INFO] running `Command { std: "docker" "inspect" "fbe8587f77b8fcff9d55f87fe0bcf415a2e033948f31f8ad7306b2c13e4b392f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe8587f77b8fcff9d55f87fe0bcf415a2e033948f31f8ad7306b2c13e4b392f", kill_on_drop: false }` [INFO] [stdout] fbe8587f77b8fcff9d55f87fe0bcf415a2e033948f31f8ad7306b2c13e4b392f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51326e83068272fe5bf1719bb53adf5b97e07b318b3aa37ed8a7b6289179b8a1 [INFO] running `Command { std: "docker" "start" "-a" "51326e83068272fe5bf1719bb53adf5b97e07b318b3aa37ed8a7b6289179b8a1", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_spanned v1.0.4 [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 rav1e v0.8.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling y4m v0.8.0 [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 fax_derive v0.2.0 [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 simd_helpers v0.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.32 [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 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 getrandom v0.2.17 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling pxfm v0.1.28 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling approxim v0.6.10 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling glib-macros v0.21.5 [INFO] [stderr] Compiling compare_variables_macro v0.2.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.11.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bounding_box v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling cairo_viewport v0.2.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling compare_variables v0.2.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [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 cairo-rs v0.21.5 [INFO] [stderr] Compiling image-compare v0.4.2 [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> examples/grid_and_coordinate_system.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | 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[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> examples/polygonizer_comparison.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | style_poly.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/polygonizer_comparison.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | style_poly.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/polygonizer_comparison.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | style_poly.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/grid_and_coordinate_system.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | 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/grid_and_coordinate_system.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | 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/grid_and_coordinate_system.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | 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/grid_and_coordinate_system.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | 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/polygonizer_comparison.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let mut style_arc = 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/polygonizer_comparison.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let mut style_poly = 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] --> examples/polygonizer_comparison.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | style_poly.line_style = LineStyle::default_dashed(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LineStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grid` in this scope [INFO] [stdout] --> examples/grid_and_coordinate_system.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | return 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] --> examples/grid_and_coordinate_system.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | 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] --> examples/grid_and_coordinate_system.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | return coordinate_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [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 "grid_and_coordinate_system") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `draw` found for enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> examples/polygonizer_comparison.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | s.draw(&style_arc, 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/polygonizer_comparison.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | poly_one_seg.draw(&style_poly, 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::Polysegment` in the current scope [INFO] [stdout] --> examples/polygonizer_comparison.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | poly_two_seg.draw(&style_poly, 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::Polysegment` in the current scope [INFO] [stdout] --> examples/polygonizer_comparison.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | poly_three_seg.draw(&style_poly, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Polysegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | 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 type `Style` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | 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/intersection_segments.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | 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 `Style` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let mut pt_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/intersection_segments.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | pt_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] Some errors have detailed explanations: E0422, 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 "polygonizer_comparison") due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `draw` found for enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> examples/intersection_segments.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | line_1.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] --> examples/intersection_segments.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | 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] --> examples/intersection_segments.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Anchor::BottomRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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 enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> examples/intersection_segments.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | line_2.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] --> examples/intersection_segments.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | 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] --> examples/intersection_segments.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Anchor::BottomLeft, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | 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 enum `planar_geo::prelude::Segment` in the current scope [INFO] [stdout] --> examples/intersection_segments.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | arc.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] --> examples/intersection_segments.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | 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] --> examples/intersection_segments.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | Anchor::BottomRight, [INFO] [stdout] | ^^^^^^ use of undeclared type `Anchor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | 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] --> examples/intersection_segments.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | c.draw(&pt_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] --> examples/intersection_segments.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | c.draw(&pt_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] --> examples/intersection_segments.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | c.draw(&pt_style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `IntersectionStyle` in this scope [INFO] [stdout] --> examples/intersection_segments.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let i_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] 94 - let i_style = IntersectionStyle::default(); [INFO] [stdout] 94 + let i_style = Intersection::default(); [INFO] [stdout] | [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] --> examples/intersection_segments.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | i.draw(&i_style, None, None, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cairo` in this scope [INFO] [stdout] --> examples/type_overview.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | 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 type `Text` in this scope [INFO] [stdout] --> examples/type_overview.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let line_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] --> examples/type_overview.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | 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] --> examples/type_overview.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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 `Text` in this scope [INFO] [stdout] --> examples/type_overview.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let arc_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] --> examples/type_overview.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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] --> examples/type_overview.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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 `Text` in this scope [INFO] [stdout] --> examples/type_overview.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let polysegment_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] --> examples/type_overview.rs:68:9 [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 `Color` in this scope [INFO] [stdout] --> examples/type_overview.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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 `Text` in this scope [INFO] [stdout] --> examples/type_overview.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let contour_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] --> examples/type_overview.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | 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] --> examples/type_overview.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | 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 `Text` in this scope [INFO] [stdout] --> examples/type_overview.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let shape_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] --> examples/type_overview.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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] --> examples/type_overview.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | 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 `Style` in this scope [INFO] [stdout] --> examples/type_overview.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | 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/type_overview.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | style.background_color = Color::new(1.0, 0.2, 0.2, 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::Intersection` in the current scope [INFO] [stdout] --> examples/intersection_segments.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | i.draw(&i_style, None, None, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Intersection` [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/type_overview.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | line.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::Intersection` in the current scope [INFO] [stdout] --> examples/intersection_segments.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | i.draw(&i_style, None, None, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Intersection` [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] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::ArcSegment` in the current scope [INFO] [stdout] --> examples/type_overview.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | arc.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::ArcSegment` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `planar_geo` (example "intersection_segments") due to 24 previous errors [INFO] [stdout] error[E0599]: no method named `draw` found for struct `planar_geo::prelude::Polysegment` in the current scope [INFO] [stdout] --> examples/type_overview.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 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/type_overview.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | 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::Shape` in the current scope [INFO] [stdout] --> examples/type_overview.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | shape.draw(&style, cr)?; [INFO] [stdout] | ^^^^ method not found in `planar_geo::prelude::Shape` [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 "type_overview") due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "51326e83068272fe5bf1719bb53adf5b97e07b318b3aa37ed8a7b6289179b8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51326e83068272fe5bf1719bb53adf5b97e07b318b3aa37ed8a7b6289179b8a1", kill_on_drop: false }` [INFO] [stdout] 51326e83068272fe5bf1719bb53adf5b97e07b318b3aa37ed8a7b6289179b8a1