[INFO] fetching crate plotchart 0.2.12... [INFO] testing plotchart-0.2.12 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate plotchart 0.2.12 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plotchart 0.2.12 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate plotchart 0.2.12 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a993d71bf2083ee291168bcae6bdbd552007ac9fbfad63e24906cf98425f7ac [INFO] running `Command { std: "docker" "start" "-a" "8a993d71bf2083ee291168bcae6bdbd552007ac9fbfad63e24906cf98425f7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a993d71bf2083ee291168bcae6bdbd552007ac9fbfad63e24906cf98425f7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a993d71bf2083ee291168bcae6bdbd552007ac9fbfad63e24906cf98425f7ac", kill_on_drop: false }` [INFO] [stdout] 8a993d71bf2083ee291168bcae6bdbd552007ac9fbfad63e24906cf98425f7ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e274ae9b4a1f2454c8d6713e8b1eaf015a4d16a9b55730ee8e6e749bc4d5f85e [INFO] running `Command { std: "docker" "start" "-a" "e274ae9b4a1f2454c8d6713e8b1eaf015a4d16a9b55730ee8e6e749bc4d5f85e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling euclid v0.20.10 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling font-kit v0.5.0 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/drawing/backend_impl/bitmap.rs:677:42 [INFO] [stdout] | [INFO] [stdout] 677 | ... let d: u64 = std::mem::transmute([ [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 678 | | ... b, g, r, 0, b, g, r, 0, // QW1 [INFO] [stdout] 679 | | ... ]); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/drawing/backend_impl/bitmap.rs:808:18 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 808 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/image.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn copy_to(&self, pos: Coord2) -> BitMapElement { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn copy_to(&self, pos: Coord2) -> BitMapElement<'_, Coord2, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/image.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_bitmap_backend(&mut self) -> BitMapBackend

{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_bitmap_backend(&mut self) -> BitMapBackend<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.54s [INFO] running `Command { std: "docker" "inspect" "e274ae9b4a1f2454c8d6713e8b1eaf015a4d16a9b55730ee8e6e749bc4d5f85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e274ae9b4a1f2454c8d6713e8b1eaf015a4d16a9b55730ee8e6e749bc4d5f85e", kill_on_drop: false }` [INFO] [stdout] e274ae9b4a1f2454c8d6713e8b1eaf015a4d16a9b55730ee8e6e749bc4d5f85e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4174c8651978e26a437050dbcae47717009416b71967e90d91d220e599a14247 [INFO] running `Command { std: "docker" "start" "-a" "4174c8651978e26a437050dbcae47717009416b71967e90d91d220e599a14247", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling plotters v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/drawing/backend_impl/bitmap.rs:677:42 [INFO] [stdout] | [INFO] [stdout] 677 | ... let d: u64 = std::mem::transmute([ [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 678 | | ... b, g, r, 0, b, g, r, 0, // QW1 [INFO] [stdout] 679 | | ... ]); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/drawing/backend_impl/bitmap.rs:808:18 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 808 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/image.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn copy_to(&self, pos: Coord2) -> BitMapElement { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn copy_to(&self, pos: Coord2) -> BitMapElement<'_, Coord2, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/image.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_bitmap_backend(&mut self) -> BitMapBackend

{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_bitmap_backend(&mut self) -> BitMapBackend<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling criterion v0.3.1 [INFO] [stderr] Compiling plotchart v0.2.12 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/errorbar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/two-scales.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/normal-dist2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/histogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/relative_size.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/relative_size.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/console.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::drawing::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use plotters::style::text_anchor::{HPos, VPos}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/console.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use plotters::style::RGBAColor; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `plotters::drawing::backend::BackendStyle`, `plotters::drawing::backend::DrawingErrorKind`, `plotters::drawing::DrawingBackend`, `plotters::style::text_anchor::HPos`, `plotters::style::text_anchor::VPos`, `plotters::style::RGBAColor` [INFO] [stdout] --> examples/console.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | backend::{BackendStyle, DrawingErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | DrawingBackend, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use plotters::style::text_anchor::{HPos, VPos}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 7 | use plotters::style::RGBAColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/sierpinski.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/sierpinski.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::coord::Shift; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [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 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] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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/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 constants [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] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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 constants [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] | ^^^^^^^^^ use of undeclared type `Histogram` [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 constants [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 unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/animation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/console.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | plotters::drawing::rasterizer::draw_line(self, from, to, style) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::rasterizer; [INFO] [stdout] | [INFO] [stdout] help: if you import `rasterizer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 117 - plotters::drawing::rasterizer::draw_line(self, from, to, style) [INFO] [stdout] 117 + rasterizer::draw_line(self, from, to, style) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FontDesc` in this scope [INFO] [stdout] --> examples/console.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | _font: &FontDesc<'a>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::FontDesc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TextStyle` in this scope [INFO] [stdout] --> examples/console.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | style: &TextStyle, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::TextStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawingArea` in this scope [INFO] [stdout] --> examples/console.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | b: 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/console.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | b: DrawingArea, [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::coord; [INFO] [stdout] | [INFO] [stdout] help: if you import `coord`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 155 - b: DrawingArea, [INFO] [stdout] 155 + b: DrawingArea, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/console.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let mut chart = ChartBuilder::on(&b) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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 `LabelAreaPosition` [INFO] [stdout] --> examples/console.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 163 | .set_label_area_size(LabelAreaPosition::Left, (5i32).percent_width()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/console.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | .set_label_area_size(LabelAreaPosition::Bottom, (10i32).percent_height()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/console.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | chart.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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/console.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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/console.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | chart.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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/console.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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/console.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let b = BitMapBackend::new("plotters-doc-data/console-example.png", (1024, 768)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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/console.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | b.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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/two-scales.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | BitMapBackend::new("plotters-doc-data/twoscale.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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 constants [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] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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 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 `LineSeries` [INFO] [stdout] --> examples/two-scales.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | .draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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/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 constants [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/two-scales.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PathElement` [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/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 constants [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 `LineSeries` [INFO] [stdout] --> examples/two-scales.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | .draw_secondary_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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 constants [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] | ^^^^^^^^^^^ use of undeclared type `PathElement` [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 constants [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[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/normal-dist2.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | BitMapBackend::new("plotters-doc-data/normal-dist2.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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/normal-dist2.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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-dist2.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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 `LabelAreaPosition` [INFO] [stdout] --> examples/normal-dist2.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | .set_label_area_size(LabelAreaPosition::Left, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/normal-dist2.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | .set_label_area_size(LabelAreaPosition::Bottom, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LabelAreaPosition` [INFO] [stdout] --> examples/normal-dist2.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | .set_label_area_size(LabelAreaPosition::Right, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Histogram` [INFO] [stdout] --> examples/normal-dist2.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let actual = Histogram::vertical(chart.borrow_secondary()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Histogram` [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-dist2.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | .style(GREEN.filled()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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 `Rectangle` [INFO] [stdout] --> examples/normal-dist2.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | .legend(|(x, y)| Rectangle::new([(x, y - 5), (x + 10, y + 5)], GREEN.filled())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [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 value `GREEN` in this scope [INFO] [stdout] --> examples/normal-dist2.rs:55:72 [INFO] [stdout] | [INFO] [stdout] 55 | .legend(|(x, y)| Rectangle::new([(x, y - 5), (x + 10, y + 5)], GREEN.filled())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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/normal-dist2.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let pdf = LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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/normal-dist2.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | &RED, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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/normal-dist2.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], RED.filled())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PathElement` [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/normal-dist2.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], RED.filled())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [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] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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/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 constants [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] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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 `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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::LabelAreaPosition; [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] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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 constants [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] | ^^^^^^^^^^^ use of undeclared type `PathElement` [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 constants [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] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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 constants [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] | ^^^^^^^^ use of undeclared type `ErrorBar` [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 constants [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] | ^^^^^^^^^^^ use of undeclared type `PathElement` [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 constants [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 constants [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[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 which provide `into_font` are implemented but not in scope; perhaps you want to import 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] 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[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[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 `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] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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] | ^^^^^^^^^^ use of undeclared type `LineSeries` [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 constants [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] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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 constants [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[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[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 constants [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 constants [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] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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 constants [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[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 which provide `into_font` are implemented but not in scope; perhaps you want to import 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[E0282]: type annotations needed [INFO] [stdout] --> examples/sierpinski.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | sub_area.fill(&BLUE)?; [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] [stderr] error: could not compile `plotchart` (example "console") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `plotchart` (example "sierpinski") due to 10 previous errors [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] [stderr] error: could not compile `plotchart` (example "histogram") due to 9 previous errors [INFO] [stderr] error: could not compile `plotchart` (example "relative_size") due to 11 previous errors [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 which provide `into_font` are implemented but not in scope; perhaps you want to import 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 `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] | ^^^^^^^^^^^^^ use of undeclared type `BitMapBackend` [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 constants [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] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [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] | ^^^^^^^ use of undeclared type `Polygon` [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 constants [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] | ^^^^^^^^^^^ use of undeclared type `PathElement` [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 constants [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. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_centric` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> examples/normal-dist2.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | .set_secondary_coord((-40i32..40i32).into_centric(), 0u32..500u32); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `into_centric` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::coord::IntoCentric; [INFO] [stdout] | [INFO] [stdout] 1 + use plotters::coord::IntoCentric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plotchart` (example "errorbar") due to 17 previous errors [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [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] 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] [stderr] error: could not compile `plotchart` (example "normal-dist2") due to 16 previous errors [INFO] [stderr] error: could not compile `plotchart` (example "two-scales") due to 15 previous errors [INFO] [stderr] error: could not compile `plotchart` (example "animation") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "4174c8651978e26a437050dbcae47717009416b71967e90d91d220e599a14247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4174c8651978e26a437050dbcae47717009416b71967e90d91d220e599a14247", kill_on_drop: false }` [INFO] [stdout] 4174c8651978e26a437050dbcae47717009416b71967e90d91d220e599a14247