[INFO] fetching crate plotchart 0.2.12... [INFO] checking plotchart-0.2.12 against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] extracting crate plotchart 0.2.12 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate plotchart 0.2.12 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking crates.io crate plotchart 0.2.12 [INFO] finished tweaking crates.io crate plotchart 0.2.12 [INFO] tweaked toml for crates.io crate plotchart 0.2.12 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate plotchart 0.2.12 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-channel v0.3.4 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.10 [INFO] [stderr] Downloaded palette v0.5.0 [INFO] [stderr] Downloaded lyon_geom v0.14.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.10 [INFO] [stderr] Downloaded lyon_path v0.14.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.9.2 [INFO] [stderr] Downloaded core-graphics v0.19.0 [INFO] [stderr] Downloaded futures-util v0.3.4 [INFO] [stderr] Downloaded nodrop v0.1.14 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded futures-core v0.3.4 [INFO] [stderr] Downloaded gobject-sys v0.9.1 [INFO] [stderr] Downloaded futures-executor v0.3.4 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded dwrote v0.9.0 [INFO] [stderr] Downloaded futures-macro v0.3.4 [INFO] [stderr] Downloaded pistoncore-input v0.28.0 [INFO] [stderr] Downloaded euclid v0.20.10 [INFO] [stderr] Downloaded piston-gfx_texture v0.40.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.49.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.63.0 [INFO] [stderr] Downloaded piston2d-graphics v0.35.0 [INFO] [stderr] Downloaded pistoncore-window v0.44.0 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Downloaded futures-task v0.3.4 [INFO] [stderr] Downloaded glib-sys v0.9.1 [INFO] [stderr] Downloaded cairo-rs v0.8.1 [INFO] [stderr] Downloaded piston-graphics_api_version v0.2.0 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded piston v0.49.0 [INFO] [stderr] Downloaded shader_version v0.6.0 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded glib v0.9.3 [INFO] [stderr] Downloaded palette_derive v0.5.0 [INFO] [stderr] Downloaded piston_window v0.105.0 [INFO] [stderr] Downloaded xml-rs v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.10 [INFO] [stderr] Downloaded font-kit v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3985487e376d72ce0b44e10ce193bda23eb44eae971a1eece0faeef8e31ae955 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3985487e376d72ce0b44e10ce193bda23eb44eae971a1eece0faeef8e31ae955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3985487e376d72ce0b44e10ce193bda23eb44eae971a1eece0faeef8e31ae955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3985487e376d72ce0b44e10ce193bda23eb44eae971a1eece0faeef8e31ae955", kill_on_drop: false }` [INFO] [stdout] 3985487e376d72ce0b44e10ce193bda23eb44eae971a1eece0faeef8e31ae955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b8598bf3e6522193228089d7fb205213fabc8e5a37a7bb4af6762b01e146915 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b8598bf3e6522193228089d7fb205213fabc8e5a37a7bb4af6762b01e146915", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking euclid v0.20.10 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking font-kit v0.5.0 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking plotchart v0.2.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `iqr` [INFO] [stdout] --> src/data/quartiles.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let iqr = upper - lower; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iqr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/errorbar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/matshow.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/chart.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/relative_size.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/relative_size.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `plotters::coord::Shift` [INFO] [stdout] --> examples/relative_size.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/normal-dist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/animation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/area-chart.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/two-scales.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/snowflake.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/histogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/sierpinski.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/sierpinski.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `plotters::coord::Shift` [INFO] [stdout] --> examples/sierpinski.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> benches/benches/data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::data::Quartiles; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> benches/benches/parallel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> benches/benches/rasterizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> benches/benches/parallel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> benches/benches/rasterizer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::drawing::bitmap_pixel::BGRXPixel; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `plotters::coord::Shift`, `plotters::drawing::bitmap_pixel::BGRXPixel` [INFO] [stdout] --> benches/benches/parallel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: benches/benches/rasterizer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::drawing::bitmap_pixel::BGRXPixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/errorbar.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | .set_label_area_size(LabelAreaPosition::Left, 40) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/errorbar.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | .set_label_area_size(LabelAreaPosition::Bottom, 40) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stdout] --> examples/sierpinski.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | drawing_area: &DrawingArea, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::DrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BitMapBackend` in this scope [INFO] [stdout] --> examples/sierpinski.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | drawing_area: &DrawingArea, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/matshow.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let root = BitMapBackend::new("plotters-doc-data/matshow.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Shift` in this scope [INFO] [stdout] --> examples/sierpinski.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | drawing_area: &DrawingArea, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::coord::Shift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/sierpinski.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | sub_area.fill(&BLUE)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/sierpinski.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | sub_area.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/sierpinski.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | BitMapBackend::new("plotters-doc-data/sierpinski.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/sierpinski.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/matshow.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/matshow.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> examples/matshow.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HSLColor` in this scope [INFO] [stdout] --> examples/matshow.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | HSLColor( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::HSLColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DrawingBackend` in this scope [INFO] [stdout] --> examples/relative_size.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::DrawingBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/stock.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let root = BitMapBackend::new("plotters-doc-data/stock.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stdout] --> examples/relative_size.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::DrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Shift` in this scope [INFO] [stdout] --> examples/relative_size.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::coord::Shift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawResult` in this scope [INFO] [stdout] --> examples/relative_size.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | fn draw_chart(root: &DrawingArea) -> DrawResult<(), B> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::DrawResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/relative_size.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut chart = ChartBuilder::on(root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/relative_size.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | chart.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/relative_size.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/relative_size.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | BitMapBackend::new("plotters-doc-data/relative_size.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/relative_size.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/stock.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/stock.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/stock.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | chart.configure_mesh().line_style_2(&WHITE).draw()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CandleStick` [INFO] [stdout] --> examples/stock.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|x| CandleStick::new(parse_time(x.0), x.1, x.2, x.3, x.4, &GREEN, &RED, 15)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::CandleStick; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/stock.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|x| CandleStick::new(parse_time(x.0), x.1, x.2, x.3, x.4, &GREEN, &RED, 15)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/stock.rs:30:85 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|x| CandleStick::new(parse_time(x.0), x.1, x.2, x.3, x.4, &GREEN, &RED, 15)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/animation.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let root = BitMapBackend::gif("plotters-doc-data/animation.gif", (800, 600), 1_000)? [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/animation.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/animation.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polygon` [INFO] [stdout] --> examples/animation.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | chart.draw_series(std::iter::once(Polygon::new( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/animation.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | &RED.mix(0.2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/animation.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/animation.rs:52:81 [INFO] [stdout] | [INFO] [stdout] 52 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/snowflake.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | BitMapBackend::new("plotters-doc-data/snowflake.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/snowflake.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/snowflake.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polygon` [INFO] [stdout] --> examples/snowflake.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | chart.draw_series(std::iter::once(Polygon::new( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/snowflake.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | &RED.mix(0.2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/snowflake.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/snowflake.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 47 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/errorbar.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | BitMapBackend::new("plotters-doc-data/errorbar.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/errorbar.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/errorbar.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/errorbar.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | .draw_series(LineSeries::new(data, &GREEN.mix(0.3)))? [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/errorbar.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | .draw_series(LineSeries::new(data, &GREEN.mix(0.3)))? [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/errorbar.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &GREEN)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/errorbar.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &GREEN)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/errorbar.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | chart.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/errorbar.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | &BLUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorBar` [INFO] [stdout] --> examples/errorbar.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ErrorBar::new_vertical(*x, *yl, *ym, *yh, BLUE.filled(), 20) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ErrorBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/errorbar.rs:42:59 [INFO] [stdout] | [INFO] [stdout] 42 | ErrorBar::new_vertical(*x, *yl, *ym, *yh, BLUE.filled(), 20) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/errorbar.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/errorbar.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/errorbar.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | .background_style(WHITE.filled()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/histogram.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | BitMapBackend::new("plotters-doc-data/histogram.png", (640, 480)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/area-chart.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | .set_label_area_size(LabelAreaPosition::Left, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/area-chart.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | .set_label_area_size(LabelAreaPosition::Bottom, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/histogram.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/histogram.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/histogram.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | .line_style_1(&WHITE.mix(0.3)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Histogram` [INFO] [stdout] --> examples/histogram.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Histogram::vertical(&chart) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Histogram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/histogram.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | .style(RED.mix(0.5).filled()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/two-scales.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | BitMapBackend::new("plotters-doc-data/twoscale.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/normal-dist.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | BitMapBackend::new("plotters-doc-data/normal-dist.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/area-chart.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | BitMapBackend::new("plotters-doc-data/area-chart.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/two-scales.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/two-scales.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/area-chart.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/normal-dist.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/normal-dist.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let mut x_hist_ctx = ChartBuilder::on(&areas[0]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/normal-dist.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let mut y_hist_ctx = ChartBuilder::on(&areas[3]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LogRange` in this scope [INFO] [stdout] --> examples/two-scales.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | .build_ranged(0f32..10f32, LogRange(0.1f32..1e10f32))? [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LogRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/area-chart.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/two-scales.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | .draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AreaSeries` [INFO] [stdout] --> examples/area-chart.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | AreaSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::AreaSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/two-scales.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | &BLUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/normal-dist.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let mut scatter_ctx = ChartBuilder::on(&areas[2]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/area-chart.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | &RED.mix(0.2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/two-scales.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/area-chart.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | .border_style(&RED), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/two-scales.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 36 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> examples/normal-dist.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|(x, y)| Circle::new((*x, *y), 2, GREEN.filled())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/normal-dist.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|(x, y)| Circle::new((*x, *y), 2, GREEN.filled())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Histogram` [INFO] [stdout] --> examples/normal-dist.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let x_hist = Histogram::vertical(&x_hist_ctx) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Histogram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/normal-dist.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | .style(GREEN.filled()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Histogram` [INFO] [stdout] --> examples/normal-dist.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let y_hist = Histogram::horizontal(&y_hist_ctx) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Histogram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/normal-dist.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | .style(GREEN.filled()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/two-scales.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | .draw_secondary_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/two-scales.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/two-scales.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/two-scales.rs:44:71 [INFO] [stdout] | [INFO] [stdout] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stdout] --> examples/two-scales.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | .background_style(&RGBColor(128, 128, 128)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RGBColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/chart.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | BitMapBackend::new("plotters-doc-data/sample.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/chart.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | root_area.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/chart.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cc = ChartBuilder::on(&upper) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/chart.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/chart.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/chart.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/chart.rs:32:67 [INFO] [stdout] | [INFO] [stdout] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/chart.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/chart.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | &BLUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/chart.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/chart.rs:44:67 [INFO] [stdout] | [INFO] [stdout] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> examples/chart.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | cc.configure_series_labels().border_style(&BLACK).draw()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLACK; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLACK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointSeries` [INFO] [stdout] --> examples/chart.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | cc.draw_series(PointSeries::of_element( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PointSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShapeStyle` [INFO] [stdout] --> examples/chart.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ShapeStyle::from(&RED).filled(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ShapeStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/chart.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | ShapeStyle::from(&RED).filled(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmptyElement` [INFO] [stdout] --> examples/chart.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | EmptyElement::at(coord) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::EmptyElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> examples/chart.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | + Circle::new((0, 0), size, style) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Text` [INFO] [stdout] --> examples/chart.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | + Text::new( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/chart.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut cc = ChartBuilder::on(&drawing_area) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/chart.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> examples/chart.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | &BLUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stdout] --> examples/two-scales.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | .caption("Dual Y-Axis Example", ("sans-serif", 50.0).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {float})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stdout] --> examples/stock.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | .caption("MSFT Stock Price", ("sans-serif", 50.0).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {float})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stdout] --> examples/histogram.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | .caption("Histogram Test", ("sans-serif", 50.0).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {float})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/histogram.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | .axis_desc_style(("sans-serif", 15).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | let root_area = root_area.titled("Image Title", ("sans-serif", 60).into_font())?; [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | .caption("Sine and Cosine", ("sans-serif", 40).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quartiles` [INFO] [stdout] --> benches/benches/data.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Quartiles::new(&src); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::Quartiles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | fn draw_plot(root: &DrawingArea, pow: f64) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::DrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BitMapBackend` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn draw_plot(root: &DrawingArea, pow: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Shift` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | fn draw_plot(root: &DrawingArea, pow: f64) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::coord::Shift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | ("sans-serif", 15).into_font(), [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> benches/benches/parallel.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | let mut chart = ChartBuilder::on(root) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> benches/benches/parallel.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | .draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> benches/benches/parallel.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::PathElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 26 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | .background_style(&WHITE.mix(0.8)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | .border_style(&BLACK) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BLACK; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::BLACK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/parallel.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapElement` [INFO] [stdout] --> benches/benches/parallel.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | let mut e = BitMapElement::with_mut((0, 0), (s / 2, s / 2), b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let mut back = BitMapBackend::with_buffer(&mut buffer, (s, s)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | ("sans-serif", 40).into_font(), [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapElement` [INFO] [stdout] --> benches/benches/parallel.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | ... BitMapElement::with_mut((0, 0), (s / 2, s / 2), b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapElement` [INFO] [stdout] --> benches/benches/parallel.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | ... BitMapElement::with_mut((0, 0), (s, s / 2), buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let mut back = BitMapBackend::with_buffer(&mut buffer, (s, s)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/parallel.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let mut root = BitMapBackend::with_buffer(&mut buffer, (W, H)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | root.draw_pixel((x as i32, y as i32), &RGBColor(255, 0, 234).to_rgba()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RGBColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | root.draw_pixel((x as i32, y as i32), &RGBColor(255, 0, 234).to_rgba()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RGBColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut root = BitMapBackend::with_buffer(&mut buffer, (W, H)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | &RGBColor(255, 0, 234).to_rgba(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RGBColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | &RGBColor(255, 0, 234).to_rgba(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RGBColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let root = BitMapBackend::with_buffer(&mut buffer, (W, H)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let root = BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | let root = BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let root = BitMapBackend::with_buffer(&mut buffer, (W, H)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | root.fill(&WHITE.mix(0.1)).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let root = BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let root = BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | root.fill(&WHITE.mix(0.1)).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let mut root = BitMapBackend::with_buffer(&mut buffer, (W, H)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | root.draw_circle((W as i32 / 2, H as i32 / 2), W / 2, &WHITE.to_rgba(), true) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | root.draw_circle((W as i32 / 2, H as i32 / 2), W / 2, &WHITE.to_rgba(), true) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::WHITE; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::WHITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let root = BitMapBackend::with_buffer(&mut buffer, (W, H)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | root.fill(&RED).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let root = BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let root = BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | root.fill(&RED).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | let mut root = BitMapBackend::with_buffer(&mut buffer, (W, H)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:179:46 [INFO] [stdout] | [INFO] [stdout] 179 | root.fill_polygon(vert.clone(), &RED).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> benches/benches/rasterizer.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BGRXPixel` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | BitMapBackend::::with_buffer_and_format(&mut buffer, (W, H)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::bitmap_pixel::BGRXPixel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> benches/benches/rasterizer.rs:188:46 [INFO] [stdout] | [INFO] [stdout] 188 | root.fill_polygon(vert.clone(), &RED).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::prelude::RED; [INFO] [stdout] | [INFO] [stdout] 1 | use plotchart::style::colors::palette_ext::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iqr` [INFO] [stdout] --> src/data/quartiles.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let iqr = upper - lower; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iqr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0b8598bf3e6522193228089d7fb205213fabc8e5a37a7bb4af6762b01e146915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8598bf3e6522193228089d7fb205213fabc8e5a37a7bb4af6762b01e146915", kill_on_drop: false }` [INFO] [stdout] 0b8598bf3e6522193228089d7fb205213fabc8e5a37a7bb4af6762b01e146915