[INFO] crate plotchart 0.2.12 is already in cache [INFO] checking plotchart-0.2.12 against try#1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 for pr-69530 [INFO] extracting crate plotchart 0.2.12 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate plotchart 0.2.12 on toolchain 1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate plotchart 0.2.12 [INFO] finished tweaking crates.io crate plotchart 0.2.12 [INFO] tweaked toml for crates.io crate plotchart 0.2.12 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate plotchart 0.2.12 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7fe61d4cd355034c717cff72d66b945c443ea65cf5e247efb16d7d4e1e214f0d [INFO] running `"docker" "start" "-a" "7fe61d4cd355034c717cff72d66b945c443ea65cf5e247efb16d7d4e1e214f0d"` [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking euclid v0.20.10 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking font-kit v0.5.0 [INFO] [stderr] Checking palette v0.5.0 [INFO] [stderr] Checking plotchart v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] warning: unused variable: `iqr` [INFO] [stderr] --> src/data/quartiles.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let iqr = upper - lower; [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_iqr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/histogram.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/histogram.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | BitMapBackend::new("plotters-doc-data/histogram.png", (640, 480)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/console.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/console.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::drawing::{ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/console.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use plotters::style::text_anchor::{HPos, VPos}; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/console.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use plotters::style::RGBAColor; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `plotters::drawing::backend::BackendStyle`, `plotters::drawing::backend::DrawingErrorKind`, `plotters::drawing::DrawingBackend`, `plotters::style::text_anchor::HPos`, `plotters::style::text_anchor::VPos`, `plotters::style::RGBAColor` [INFO] [stderr] --> examples/console.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | backend::{BackendStyle, DrawingErrorKind}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | DrawingBackend, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use plotters::style::text_anchor::{HPos, VPos}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] 7 | use plotters::style::RGBAColor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/normal-dist.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/normal-dist.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | BitMapBackend::new("plotters-doc-data/normal-dist.png", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/sierpinski.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/sierpinski.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::Shift; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `plotters::coord::Shift` [INFO] [stderr] --> examples/sierpinski.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::Shift; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/blit-bitmap.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/blit-bitmap.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | BitMapBackend::new("plotters-doc-data/blit-bitmap.png", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/relative_size.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/relative_size.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::Shift; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `plotters::coord::Shift` [INFO] [stderr] --> examples/relative_size.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::Shift; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/matshow.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/matshow.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | let root = BitMapBackend::new("plotters-doc-data/matshow.png", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/normal-dist2.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::prelude::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/normal-dist2.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | BitMapBackend::new("plotters-doc-data/normal-dist2.png", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/histogram.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | let mut chart = ChartBuilder::on(&root) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Histogram` [INFO] [stderr] --> examples/histogram.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | Histogram::vertical(&chart) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Histogram` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/histogram.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/histogram.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | .line_style_1(&WHITE.mix(0.3)) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/histogram.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | .style(RED.mix(0.5).filled()) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stderr] --> examples/histogram.rs:12:57 [INFO] [stderr] | [INFO] [stderr] 12 | .caption("Histogram Test", ("sans-serif", 50.0).into_font()) [INFO] [stderr] | ^^^^^^^^^ method not found in `(&'static str, {float})` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stderr] --> examples/histogram.rs:22:45 [INFO] [stderr] | [INFO] [stderr] 22 | .axis_desc_style(("sans-serif", 15).into_font()) [INFO] [stderr] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/normal-dist.rs:26:26 [INFO] [stderr] | [INFO] [stderr] 26 | let mut x_hist_ctx = ChartBuilder::on(&areas[0]) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/normal-dist.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | let mut y_hist_ctx = ChartBuilder::on(&areas[3]) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/normal-dist.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | let mut scatter_ctx = ChartBuilder::on(&areas[2]) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Circle` [INFO] [stderr] --> examples/normal-dist.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | .map(|(x, y)| Circle::new((*x, *y), 2, GREEN.filled())), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Circle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Histogram` [INFO] [stderr] --> examples/normal-dist.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | let x_hist = Histogram::vertical(&x_hist_ctx) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Histogram` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Histogram` [INFO] [stderr] --> examples/normal-dist.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | let y_hist = Histogram::horizontal(&y_hist_ctx) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Histogram` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/normal-dist2.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | let mut chart = ChartBuilder::on(&root) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/normal-dist2.rs:27:30 [INFO] [stderr] | [INFO] [stderr] 27 | .set_label_area_size(LabelAreaPosition::Left, 60) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/normal-dist2.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | .set_label_area_size(LabelAreaPosition::Bottom, 60) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/normal-dist2.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | .set_label_area_size(LabelAreaPosition::Right, 60) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Histogram` [INFO] [stderr] --> examples/normal-dist2.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | let actual = Histogram::vertical(chart.borrow_secondary()) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Histogram` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rectangle` [INFO] [stderr] --> examples/normal-dist2.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | .legend(|(x, y)| Rectangle::new([(x, y - 5), (x + 10, y + 5)], GREEN.filled())); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Rectangle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/normal-dist2.rs:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | let pdf = LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PathElement` [INFO] [stderr] --> examples/normal-dist2.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], RED.filled())); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PathElement` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/normal-dist2.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stderr] --> examples/normal-dist2.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | .style(GREEN.filled()) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stderr] --> examples/normal-dist2.rs:55:72 [INFO] [stderr] | [INFO] [stderr] 55 | .legend(|(x, y)| Rectangle::new([(x, y - 5), (x + 10, y + 5)], GREEN.filled())); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/normal-dist2.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | &RED, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/normal-dist2.rs:71:70 [INFO] [stderr] | [INFO] [stderr] 71 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], RED.filled())); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/normal-dist.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stderr] --> examples/normal-dist.rs:44:52 [INFO] [stderr] | [INFO] [stderr] 44 | .map(|(x, y)| Circle::new((*x, *y), 2, GREEN.filled())), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stderr] --> examples/normal-dist.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | .style(GREEN.filled()) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stderr] --> examples/normal-dist.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | .style(GREEN.filled()) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::GREEN; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/console.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | plotters::drawing::rasterizer::draw_line(self, from, to, style) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HPos` [INFO] [stderr] --> examples/console.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | HPos::Left => 0, [INFO] [stderr] | ^^^^ use of undeclared type or module `HPos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HPos` [INFO] [stderr] --> examples/console.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | HPos::Right => -width, [INFO] [stderr] | ^^^^ use of undeclared type or module `HPos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HPos` [INFO] [stderr] --> examples/console.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | HPos::Center => -width / 2, [INFO] [stderr] | ^^^^ use of undeclared type or module `HPos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `VPos` [INFO] [stderr] --> examples/console.rs:142:13 [INFO] [stderr] | [INFO] [stderr] 142 | VPos::Top => 0, [INFO] [stderr] | ^^^^ use of undeclared type or module `VPos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `VPos` [INFO] [stderr] --> examples/console.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | VPos::Center => -height / 2, [INFO] [stderr] | ^^^^ use of undeclared type or module `VPos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `VPos` [INFO] [stderr] --> examples/console.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | VPos::Bottom => -height, [INFO] [stderr] | ^^^^ use of undeclared type or module `VPos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/console.rs:155:24 [INFO] [stderr] | [INFO] [stderr] 155 | b: DrawingArea, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/console.rs:160:21 [INFO] [stderr] | [INFO] [stderr] 160 | let mut chart = ChartBuilder::on(&b) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/console.rs:163:30 [INFO] [stderr] | [INFO] [stderr] 163 | .set_label_area_size(LabelAreaPosition::Left, (5i32).percent_width()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/console.rs:164:30 [INFO] [stderr] | [INFO] [stderr] 164 | .set_label_area_size(LabelAreaPosition::Bottom, (10i32).percent_height()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/console.rs:173:23 [INFO] [stderr] | [INFO] [stderr] 173 | chart.draw_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/console.rs:178:23 [INFO] [stderr] | [INFO] [stderr] 178 | chart.draw_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/console.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | let b = BitMapBackend::new("plotters-doc-data/console-example.png", (1024, 768)) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_centric` found for struct `std::ops::Range` in the current scope [INFO] [stderr] --> examples/normal-dist2.rs:31:46 [INFO] [stderr] | [INFO] [stderr] 31 | .set_secondary_coord((-40i32..40i32).into_centric(), 0u32..500u32); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::ops::Range` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::IntoCentric; [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::IntoCentric; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `DrawingBackend` in this scope [INFO] [stderr] --> examples/console.rs:57:6 [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingErrorKind` in this scope [INFO] [stderr] --> examples/console.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | fn ensure_prepared(&mut self) -> Result<(), DrawingErrorKind> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingErrorKind` in this scope [INFO] [stderr] --> examples/console.rs:68:41 [INFO] [stderr] | [INFO] [stderr] 68 | fn present(&mut self) -> Result<(), DrawingErrorKind> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RGBAColor` in this scope [INFO] [stderr] --> examples/console.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | color: &RGBAColor, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RGBAColor; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::color::RGBAColor; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingErrorKind` in this scope [INFO] [stderr] --> examples/console.rs:84:21 [INFO] [stderr] | [INFO] [stderr] 84 | ) -> Result<(), DrawingErrorKind> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `BackendStyle` in this scope [INFO] [stderr] --> examples/console.rs:91:21 [INFO] [stderr] | [INFO] [stderr] 91 | fn draw_line( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::BackendStyle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingErrorKind` in this scope [INFO] [stderr] --> examples/console.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | ) -> Result<(), DrawingErrorKind> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FontDesc` in this scope [INFO] [stderr] --> examples/console.rs:123:17 [INFO] [stderr] | [INFO] [stderr] 123 | _font: &FontDesc<'a>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::FontDesc; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::FontDesc; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0412]: cannot find type `DrawingErrorKind` in this scope [INFO] [stderr] --> examples/console.rs:124:29 [INFO] [stderr] | [INFO] [stderr] 124 | ) -> Result<(u32, u32), DrawingErrorKind> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextStyle` in this scope [INFO] [stderr] --> examples/console.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | style: &TextStyle, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::TextStyle; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::TextStyle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0412]: cannot find type `DrawingErrorKind` in this scope [INFO] [stderr] --> examples/console.rs:133:21 [INFO] [stderr] | [INFO] [stderr] 133 | ) -> Result<(), DrawingErrorKind> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 57 | impl DrawingBackend for TextDrawingBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `DrawingBackend` in this scope [INFO] [stderr] --> examples/console.rs:154:19 [INFO] [stderr] | [INFO] [stderr] 154 | fn draw_chart( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stderr] --> examples/console.rs:155:8 [INFO] [stderr] | [INFO] [stderr] 155 | b: DrawingArea, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::DrawingArea; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawingArea; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/console.rs:175:10 [INFO] [stderr] | [INFO] [stderr] 175 | &RED, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/console.rs:180:10 [INFO] [stderr] | [INFO] [stderr] 180 | &RED, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/console.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | b.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 35 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/blit-bitmap.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | let mut chart = ChartBuilder::on(&root) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/blit-bitmap.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | .set_label_area_size(LabelAreaPosition::Left, 40) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/blit-bitmap.rs:17:30 [INFO] [stderr] | [INFO] [stderr] 17 | .set_label_area_size(LabelAreaPosition::Bottom, 40) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/blit-bitmap.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BitMapElement` in this scope [INFO] [stderr] --> examples/blit-bitmap.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | let elem: BitMapElement<_> = ((0.05, 0.95), image).into(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::element::BitMapElement; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BitMapElement; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/matshow.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | let mut chart = ChartBuilder::on(&root) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rectangle` [INFO] [stderr] --> examples/matshow.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | Rectangle::new( [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Rectangle` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/matshow.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HSLColor` in this scope [INFO] [stderr] --> examples/matshow.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | HSLColor( [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::HSLColor; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::HSLColor; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::color::HSLColor; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/sierpinski.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | BitMapBackend::new("plotters-doc-data/sierpinski.png", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stderr] --> examples/sierpinski.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | drawing_area: &DrawingArea, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::DrawingArea; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawingArea; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BitMapBackend` in this scope [INFO] [stderr] --> examples/sierpinski.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | drawing_area: &DrawingArea, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::BitMapBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 4 | pub fn sierpinski_carpet( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shift` in this scope [INFO] [stderr] --> examples/sierpinski.rs:6:47 [INFO] [stderr] | [INFO] [stderr] 6 | drawing_area: &DrawingArea, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::Shift; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 4 | pub fn sierpinski_carpet( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stderr] --> examples/sierpinski.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | sub_area.fill(&BLUE)?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BLUE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::BLUE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::BLUE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/sierpinski.rs:15:32 [INFO] [stderr] | [INFO] [stderr] 15 | sub_area.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/sierpinski.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/relative_size.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | let mut chart = ChartBuilder::on(root) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/relative_size.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | chart.draw_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/relative_size.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | BitMapBackend::new("plotters-doc-data/relative_size.png", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `BitMapBackend` [INFO] [stderr] [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0405]: cannot find trait `DrawingBackend` in this scope [INFO] [stderr] --> examples/relative_size.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingBackend; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stderr] --> examples/relative_size.rs:4:41 [INFO] [stderr] | [INFO] [stderr] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::DrawingArea; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawingArea; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shift` in this scope [INFO] [stderr] --> examples/relative_size.rs:4:56 [INFO] [stderr] | [INFO] [stderr] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::Shift; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DrawResult` in this scope [INFO] [stderr] --> examples/relative_size.rs:4:67 [INFO] [stderr] | [INFO] [stderr] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::DrawResult; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/relative_size.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | &RED, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::RED; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/relative_size.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 35 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::WHITE; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `plotchart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7fe61d4cd355034c717cff72d66b945c443ea65cf5e247efb16d7d4e1e214f0d"` [INFO] running `"docker" "rm" "-f" "7fe61d4cd355034c717cff72d66b945c443ea65cf5e247efb16d7d4e1e214f0d"` [INFO] [stdout] 7fe61d4cd355034c717cff72d66b945c443ea65cf5e247efb16d7d4e1e214f0d