[INFO] crate plotchart 0.2.12 is already in cache [INFO] testing plotchart-0.2.12 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate plotchart 0.2.12 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate plotchart 0.2.12 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-14/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9a3b2dfd317866b29915be4581cb33312a9f9f072b21d9738a09a6b7e0fc67c8 [INFO] running `"docker" "start" "-a" "9a3b2dfd317866b29915be4581cb33312a9f9f072b21d9738a09a6b7e0fc67c8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling euclid v0.20.10 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling font-kit v0.5.0 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling plotchart v0.2.12 (/opt/rustwide/workdir) [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: if this is intentional, prefix it with an underscore: `_iqr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.21s [INFO] running `"docker" "inspect" "9a3b2dfd317866b29915be4581cb33312a9f9f072b21d9738a09a6b7e0fc67c8"` [INFO] running `"docker" "rm" "-f" "9a3b2dfd317866b29915be4581cb33312a9f9f072b21d9738a09a6b7e0fc67c8"` [INFO] [stdout] 9a3b2dfd317866b29915be4581cb33312a9f9f072b21d9738a09a6b7e0fc67c8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05906720540d26f63ebb8bb42e2084fcb250e21ae4150e6858a0f90c3fe37e2b [INFO] running `"docker" "start" "-a" "05906720540d26f63ebb8bb42e2084fcb250e21ae4150e6858a0f90c3fe37e2b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling rand_distr v0.2.2 [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: if this is intentional, prefix it with an underscore: `_iqr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling criterion v0.3.1 [INFO] [stderr] Compiling plotchart v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/chart.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/chart.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | BitMapBackend::new("plotters-doc-data/sample.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/snowflake.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/snowflake.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | BitMapBackend::new("plotters-doc-data/snowflake.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/two-scales.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/two-scales.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | BitMapBackend::new("plotters-doc-data/twoscale.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/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/mandelbrot.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/mandelbrot.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | BitMapBackend::new("plotters-doc-data/mandelbrot.png", (800, 600)).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/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/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/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/slc-temp.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/slc-temp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::IntoMonthly; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `plotters::coord::IntoMonthly` [INFO] [stderr] --> examples/slc-temp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::coord::IntoMonthly; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BitMapBackend` [INFO] [stderr] --> examples/slc-temp.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | BitMapBackend::new("plotters-doc-data/slc-temp.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/area-chart.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/area-chart.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | BitMapBackend::new("plotters-doc-data/area-chart.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-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/boxplot.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | 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/boxplot.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use plotters::data::fitting_range; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `plotters::data::fitting_range` [INFO] [stderr] --> examples/boxplot.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use plotters::data::fitting_range; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SVGBackend` [INFO] [stderr] --> examples/boxplot.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | let root = SVGBackend::new("plotters-doc-data/boxplot.svg", (1024, 768)).into_drawing_area(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `SVGBackend` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stderr] --> examples/errorbar.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/errorbar.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | BitMapBackend::new("plotters-doc-data/errorbar.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/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] 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[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: consider importing one of these items [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: consider importing one of these items [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: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::Shift; [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: consider importing this type alias [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: consider importing one of these items [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: consider importing one of these items [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[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: consider importing one of these items [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: consider importing one of these items [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[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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::drawing::BitMapBackend; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BitMapBackend; [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: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::Shift; [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/mandelbrot.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | 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 `ChartBuilder` [INFO] [stderr] --> examples/slc-temp.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | 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/slc-temp.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | .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/slc-temp.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | .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 `LabelAreaPosition` [INFO] [stderr] --> examples/slc-temp.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | .set_label_area_size(LabelAreaPosition::Bottom, 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 `LineSeries` [INFO] [stderr] --> examples/slc-temp.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | chart.draw_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/mandelbrot.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `Circle` [INFO] [stderr] --> examples/slc-temp.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | .map(|(y, m, t)| Circle::new((Utc.ymd(*y, *m, 1), *t), 3, BLUE.filled())), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Circle` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HSLColor` in this scope [INFO] [stderr] --> examples/mandelbrot.rs:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | plotting_area.draw_pixel((x, y), &HSLColor(c as f64 / 100.0, 1.0, 0.5))?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `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[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/slc-temp.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/slc-temp.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | &BLUE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/slc-temp.rs:52:71 [INFO] [stderr] | [INFO] [stderr] 52 | .map(|(y, m, t)| Circle::new((Utc.ymd(*y, *m, 1), *t), 3, BLUE.filled())), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLACK` in this scope [INFO] [stderr] --> examples/mandelbrot.rs:33:47 [INFO] [stderr] | [INFO] [stderr] 33 | plotting_area.draw_pixel((x, y), &BLACK)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::BLACK; [INFO] [stderr] | [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[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: consider importing one of these items [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: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [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: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [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: consider importing one of these items [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: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [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: consider importing this trait [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: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [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: consider importing one of these items [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[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: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [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: consider importing one of these items [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[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: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::backend::DrawingErrorKind; [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/area-chart.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | 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/area-chart.rs:26:30 [INFO] [stderr] | [INFO] [stderr] 26 | .set_label_area_size(LabelAreaPosition::Left, 60) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 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[E0433]: failed to resolve: use of undeclared type or module `LabelAreaPosition` [INFO] [stderr] --> examples/area-chart.rs:27:30 [INFO] [stderr] | [INFO] [stderr] 27 | .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 `AreaSeries` [INFO] [stderr] --> examples/area-chart.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | AreaSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `AreaSeries` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/area-chart.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/area-chart.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | &RED.mix(0.2), [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/area-chart.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | .border_style(&RED), [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `Quartiles` [INFO] [stderr] --> examples/boxplot.rs:42:50 [INFO] [stderr] | [INFO] [stderr] 42 | .map(|(k, v)| (k.0.clone(), k.1.clone(), Quartiles::new(&v))) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Quartiles` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Category` [INFO] [stderr] --> examples/boxplot.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | let category = Category::new( [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Category` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Palette99` [INFO] [stderr] --> examples/boxplot.rs:55:32 [INFO] [stderr] | [INFO] [stderr] 55 | let mut colors = (0..).map(Palette99::pick); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Palette99` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/boxplot.rs:72:21 [INFO] [stderr] | [INFO] [stderr] 72 | let mut chart = ChartBuilder::on(&upper) [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/chart.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | let mut cc = ChartBuilder::on(&upper) [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/chart.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | cc.draw_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [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[E0433]: failed to resolve: use of undeclared type or module `PathElement` [INFO] [stderr] --> examples/chart.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PathElement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/chart.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | cc.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 `Boxplot` [INFO] [stderr] --> examples/boxplot.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | Boxplot::new_horizontal(category.get(&x.0).unwrap(), &x.1) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Boxplot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rectangle` [INFO] [stderr] --> examples/boxplot.rs:99:35 [INFO] [stderr] | [INFO] [stderr] 99 | .legend(move |(x, y)| Rectangle::new([(x, y - 6), (x + 12, y + 6)], style.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 `PathElement` [INFO] [stderr] --> examples/chart.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PathElement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointSeries` [INFO] [stderr] --> examples/chart.rs:57:20 [INFO] [stderr] | [INFO] [stderr] 57 | cc.draw_series(PointSeries::of_element( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PointSeries` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ShapeStyle` [INFO] [stderr] --> examples/chart.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | ShapeStyle::from(&RED).filled(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ShapeStyle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EmptyElement` [INFO] [stderr] --> examples/chart.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | EmptyElement::at(coord) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `EmptyElement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Circle` [INFO] [stderr] --> examples/chart.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | + Circle::new((0, 0), size, style) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Circle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Text` [INFO] [stderr] --> examples/chart.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | + Text::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Text` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/chart.rs:75:22 [INFO] [stderr] | [INFO] [stderr] 75 | let mut cc = ChartBuilder::on(&drawing_area) [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/chart.rs:86:24 [INFO] [stderr] | [INFO] [stderr] 86 | cc.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 `SeriesLabelPosition` [INFO] [stderr] --> examples/boxplot.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | .position(SeriesLabelPosition::UpperRight) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SeriesLabelPosition` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/chart.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | root_area.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/chart.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | &RED, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/chart.rs:32:67 [INFO] [stderr] | [INFO] [stderr] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `Quartiles` [INFO] [stderr] --> examples/boxplot.rs:112:23 [INFO] [stderr] | [INFO] [stderr] 112 | let quartiles_a = Quartiles::new(&[ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Quartiles` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Quartiles` [INFO] [stderr] --> examples/boxplot.rs:115:23 [INFO] [stderr] | [INFO] [stderr] 115 | let quartiles_b = Quartiles::new(&[16.0, 17.0, 50.0, 60.0, 40.2, 41.3, 42.7, 43.3, 47.0]); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Quartiles` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stderr] --> examples/chart.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | &BLUE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/chart.rs:44:67 [INFO] [stderr] | [INFO] [stderr] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLACK` in this scope [INFO] [stderr] --> examples/chart.rs:46:48 [INFO] [stderr] | [INFO] [stderr] 46 | cc.configure_series_labels().border_style(&BLACK).draw()?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::BLACK; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/chart.rs:60:27 [INFO] [stderr] | [INFO] [stderr] 60 | ShapeStyle::from(&RED).filled(), [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/chart.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | &BLUE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `Category` [INFO] [stderr] --> examples/boxplot.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | let category_ab = Category::new("", vec!["a", "b"]); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Category` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/boxplot.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | let mut chart = ChartBuilder::on(&left) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Boxplot` [INFO] [stderr] --> examples/boxplot.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | Boxplot::new_vertical(category_ab.get(&"a").unwrap(), &quartiles_a), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Boxplot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Boxplot` [INFO] [stderr] --> examples/boxplot.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | Boxplot::new_vertical(category_ab.get(&"b").unwrap(), &quartiles_b), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Boxplot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/boxplot.rs:138:21 [INFO] [stderr] | [INFO] [stderr] 138 | let mut chart = ChartBuilder::on(&right) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Boxplot` [INFO] [stderr] --> examples/boxplot.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | Boxplot::new_horizontal(1, &quartiles_a), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Boxplot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Boxplot` [INFO] [stderr] --> examples/boxplot.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | Boxplot::new_horizontal(2, &Quartiles::new(&[30])), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Boxplot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Quartiles` [INFO] [stderr] --> examples/boxplot.rs:147:37 [INFO] [stderr] | [INFO] [stderr] 147 | Boxplot::new_horizontal(2, &Quartiles::new(&[30])), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Quartiles` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/boxplot.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `Quartiles` in this scope [INFO] [stderr] --> examples/boxplot.rs:40:39 [INFO] [stderr] | [INFO] [stderr] 40 | let dataset: Vec<(String, String, Quartiles)> = ds [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::data::Quartiles; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::Quartiles; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `fitting_range` in this scope [INFO] [stderr] --> examples/boxplot.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | let values_range = fitting_range(values.iter()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::data::fitting_range; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/boxplot.rs:86:24 [INFO] [stderr] | [INFO] [stderr] 86 | .line_style_2(&WHITE) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/boxplot.rs:104:27 [INFO] [stderr] | [INFO] [stderr] 104 | .background_style(WHITE.filled()) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLACK` in this scope [INFO] [stderr] --> examples/boxplot.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | .border_style(&BLACK.mix(0.5)) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::BLACK; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::colors::palette_ext::BLACK; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `fitting_range` in this scope [INFO] [stderr] --> examples/boxplot.rs:117:24 [INFO] [stderr] | [INFO] [stderr] 117 | let values_range = fitting_range( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::data::fitting_range; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/boxplot.rs:132:42 [INFO] [stderr] | [INFO] [stderr] 132 | chart.configure_mesh().line_style_2(&WHITE).draw()?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/boxplot.rs:144:42 [INFO] [stderr] | [INFO] [stderr] 144 | chart.configure_mesh().line_style_2(&WHITE).draw()?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stderr] --> examples/chart.rs:9:72 [INFO] [stderr] | [INFO] [stderr] 9 | let root_area = root_area.titled("Image Title", ("sans-serif", 60).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[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stderr] --> examples/chart.rs:16:56 [INFO] [stderr] | [INFO] [stderr] 16 | .caption("Sine and Cosine", ("sans-serif", 40).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[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stderr] --> examples/chart.rs:67:40 [INFO] [stderr] | [INFO] [stderr] 67 | ("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[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/snowflake.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | let mut chart = ChartBuilder::on(&root) [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `ChartBuilder` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stderr] --> examples/chart.rs:81:36 [INFO] [stderr] | [INFO] [stderr] 81 | ("sans-serif", 40).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[E0433]: failed to resolve: use of undeclared type or module `Polygon` [INFO] [stderr] --> examples/snowflake.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | chart.draw_series(std::iter::once(Polygon::new( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Polygon` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PathElement` [INFO] [stderr] --> examples/snowflake.rs:47:39 [INFO] [stderr] | [INFO] [stderr] 47 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [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/snowflake.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/snowflake.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | &RED.mix(0.2), [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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: aborting due to 9 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] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0425]: cannot find value `RED` in this scope [INFO] [stderr] --> examples/snowflake.rs:47:77 [INFO] [stderr] | [INFO] [stderr] 47 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `monthly` found for struct `std::ops::Range>` in the current scope [INFO] [stderr] --> examples/slc-temp.rs:24:57 [INFO] [stderr] | [INFO] [stderr] 24 | (Utc.ymd(2010, 1, 1)..Utc.ymd(2018, 12, 1)).monthly(), [INFO] [stderr] | ^^^^^^^ method not found in `std::ops::Range>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/workdir/src/coord/datetime.rs:396:8 [INFO] [stderr] | [INFO] [stderr] 396 | fn monthly(self) -> Monthly; [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>>` here [INFO] [stderr] | the method is available for `std::sync::Arc>>` here [INFO] [stderr] | the method is available for `std::rc::Rc>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::IntoMonthly; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `monthly` found for struct `std::ops::Range>` in the current scope [INFO] [stderr] --> examples/slc-temp.rs:28:57 [INFO] [stderr] | [INFO] [stderr] 28 | (Utc.ymd(2010, 1, 1)..Utc.ymd(2018, 12, 1)).monthly(), [INFO] [stderr] | ^^^^^^^ method not found in `std::ops::Range>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/workdir/src/coord/datetime.rs:396:8 [INFO] [stderr] | [INFO] [stderr] 396 | fn monthly(self) -> Monthly; [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>>` here [INFO] [stderr] | the method is available for `std::sync::Arc>>` here [INFO] [stderr] | the method is available for `std::rc::Rc>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::IntoMonthly; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Datelike` [INFO] [stderr] --> examples/slc-temp.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use chrono::{Datelike, TimeZone, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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: aborting due to 8 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[E0433]: failed to resolve: use of undeclared type or module `ChartBuilder` [INFO] [stderr] --> examples/errorbar.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | 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/errorbar.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | .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/errorbar.rs:24:30 [INFO] [stderr] | [INFO] [stderr] 24 | .set_label_area_size(LabelAreaPosition::Bottom, 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 `LineSeries` [INFO] [stderr] --> examples/errorbar.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | .draw_series(LineSeries::new(data, &GREEN.mix(0.3)))? [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/errorbar.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &GREEN)); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PathElement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/errorbar.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | 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 `ChartBuilder` [INFO] [stderr] --> examples/two-scales.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 `ErrorBar` [INFO] [stderr] --> examples/errorbar.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | ErrorBar::new_vertical(*x, *yl, *ym, *yh, BLUE.filled(), 20) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ErrorBar` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PathElement` [INFO] [stderr] --> examples/errorbar.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PathElement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/two-scales.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | .draw_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stderr] --> examples/errorbar.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `PathElement` [INFO] [stderr] --> examples/two-scales.rs:36:26 [INFO] [stderr] | [INFO] [stderr] 36 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PathElement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stderr] --> examples/two-scales.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | .draw_secondary_series(LineSeries::new( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stderr] --> examples/errorbar.rs:30:45 [INFO] [stderr] | [INFO] [stderr] 30 | .draw_series(LineSeries::new(data, &GREEN.mix(0.3)))? [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/errorbar.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &GREEN)); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/errorbar.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | &BLUE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/errorbar.rs:42:59 [INFO] [stderr] | [INFO] [stderr] 42 | ErrorBar::new_vertical(*x, *yl, *ym, *yh, BLUE.filled(), 20) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/errorbar.rs:46:71 [INFO] [stderr] | [INFO] [stderr] 46 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/errorbar.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | .background_style(WHITE.filled()) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type or module `PathElement` [INFO] [stderr] --> examples/two-scales.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [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/two-scales.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | root.fill(&WHITE)?; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `LogRange` in this scope [INFO] [stderr] --> examples/two-scales.rs:14:36 [INFO] [stderr] | [INFO] [stderr] 14 | .build_ranged(0f32..10f32, LogRange(0.1f32..1e10f32))? [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::coord::LogRange; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::LogRange; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stderr] --> examples/two-scales.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | &BLUE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `BLUE` in this scope [INFO] [stderr] --> examples/two-scales.rs:36:71 [INFO] [stderr] | [INFO] [stderr] 36 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 `RED` in this scope [INFO] [stderr] --> examples/two-scales.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | &RED, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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/two-scales.rs:44:71 [INFO] [stderr] | [INFO] [stderr] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [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 function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stderr] --> examples/two-scales.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | .background_style(&RGBColor(128, 128, 128)) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::prelude::RGBColor; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::RGBColor; [INFO] [stderr] | [INFO] [stderr] 1 | use plotchart::style::color::RGBColor; [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[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[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[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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: consider importing one of these items [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: aborting due to 26 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: 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[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stderr] --> examples/boxplot.rs:75:53 [INFO] [stderr] | [INFO] [stderr] 75 | .caption("Ping Boxplot", ("sans-serif", 20).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 plotchart::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `0` on type `&_` [INFO] [stderr] --> examples/boxplot.rs:92:57 [INFO] [stderr] | [INFO] [stderr] 92 | Boxplot::new_horizontal(category.get(&x.0).unwrap(), &x.1) [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/boxplot.rs:126:57 [INFO] [stderr] | [INFO] [stderr] 126 | .caption("Vertical Boxplot", ("sans-serif", 20).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 plotchart::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::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/boxplot.rs:141:59 [INFO] [stderr] | [INFO] [stderr] 141 | .caption("Horizontal Boxplot", ("sans-serif", 20).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 plotchart::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::style::IntoFont; [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/two-scales.rs:13:62 [INFO] [stderr] | [INFO] [stderr] 13 | .caption("Dual Y-Axis Example", ("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 plotchart::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] 1 | use plotters::style::IntoFont; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 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] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> examples/boxplot.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 15 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] warning: unused variable: `iqr` [INFO] [stderr] --> src/data/quartiles.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let iqr = upper - lower; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_iqr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "05906720540d26f63ebb8bb42e2084fcb250e21ae4150e6858a0f90c3fe37e2b"` [INFO] running `"docker" "rm" "-f" "05906720540d26f63ebb8bb42e2084fcb250e21ae4150e6858a0f90c3fe37e2b"` [INFO] [stdout] 05906720540d26f63ebb8bb42e2084fcb250e21ae4150e6858a0f90c3fe37e2b