[INFO] fetching crate plotchart 0.2.12... [INFO] testing plotchart-0.2.12 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate plotchart 0.2.12 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plotchart 0.2.12 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f18bf1d11259661068c94aa677265a0fec4d7b306269b36a00bdad5784a8b55f [INFO] running `Command { std: "docker" "start" "-a" "f18bf1d11259661068c94aa677265a0fec4d7b306269b36a00bdad5784a8b55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f18bf1d11259661068c94aa677265a0fec4d7b306269b36a00bdad5784a8b55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18bf1d11259661068c94aa677265a0fec4d7b306269b36a00bdad5784a8b55f", kill_on_drop: false }` [INFO] [stdout] f18bf1d11259661068c94aa677265a0fec4d7b306269b36a00bdad5784a8b55f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e13b5cf7cdfdaac9fd130c5773fa85e771d71002ab95a263e154b77a2945afc [INFO] running `Command { std: "docker" "start" "-a" "8e13b5cf7cdfdaac9fd130c5773fa85e771d71002ab95a263e154b77a2945afc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.3 [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 cmake v0.1.42 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling euclid v0.20.10 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling font-kit v0.5.0 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling plotchart v0.2.12 (/opt/rustwide/workdir) [INFO] [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] 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] help: replace this with [INFO] [stdout] | [INFO] [stdout] 677 - let d: u64 = std::mem::transmute([ [INFO] [stdout] 677 + let d: u64 = u64::from_ne_bytes([ [INFO] [stdout] | [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 28.39s [INFO] running `Command { std: "docker" "inspect" "8e13b5cf7cdfdaac9fd130c5773fa85e771d71002ab95a263e154b77a2945afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e13b5cf7cdfdaac9fd130c5773fa85e771d71002ab95a263e154b77a2945afc", kill_on_drop: false }` [INFO] [stdout] 8e13b5cf7cdfdaac9fd130c5773fa85e771d71002ab95a263e154b77a2945afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 989f9a89de9ac6a9d36f9cb1a232326dea27354d42a77a7fb7c7e0f2ca2e1c6e [INFO] running `Command { std: "docker" "start" "-a" "989f9a89de9ac6a9d36f9cb1a232326dea27354d42a77a7fb7c7e0f2ca2e1c6e", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.106 [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 itoa v0.4.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [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 textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling plotters v0.2.12 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling regex v1.3.6 [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 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] 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] help: replace this with [INFO] [stdout] | [INFO] [stdout] 677 - let d: u64 = std::mem::transmute([ [INFO] [stdout] 677 + let d: u64 = u64::from_ne_bytes([ [INFO] [stdout] | [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 serde_json v1.0.51 [INFO] [stderr] Compiling bstr v0.2.12 [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]: cannot find module or crate `plotters` in this scope [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]: cannot find module or crate `plotters` in this scope [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]: cannot find module or crate `plotters` in this scope [INFO] [stdout] --> examples/snowflake.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]: cannot find module or crate `plotters` in this scope [INFO] [stdout] --> examples/blit-bitmap.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]: cannot find module or crate `plotters` in this scope [INFO] [stdout] --> examples/normal-dist.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]: cannot find module or crate `plotters` in this scope [INFO] [stdout] --> examples/chart.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]: cannot find module or crate `plotters` in this scope [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]: cannot find module or crate `plotters` in this scope [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]: cannot find type `BitMapBackend` in this scope [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]: cannot find type `ChartBuilder` in this scope [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]: cannot find type `Histogram` in this scope [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]: cannot find type `BitMapBackend` in this scope [INFO] [stdout] --> examples/blit-bitmap.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | BitMapBackend::new("plotters-doc-data/blit-bitmap.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/blit-bitmap.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 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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/blit-bitmap.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | 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]: cannot find type `LabelAreaPosition` in this scope [INFO] [stdout] --> examples/blit-bitmap.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | .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]: cannot find type `LabelAreaPosition` in this scope [INFO] [stdout] --> examples/blit-bitmap.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | .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[E0425]: cannot find type `BitMapElement` in this scope [INFO] [stdout] --> examples/blit-bitmap.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | let elem: BitMapElement<_> = ((0.05, 0.95), image).into(); [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] 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 "blit-bitmap") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find type `BitMapBackend` in this scope [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] | ^^^^^^^^^^^^^ 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/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 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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/snowflake.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | 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]: cannot find type `Polygon` in this scope [INFO] [stdout] --> examples/snowflake.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | 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/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 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]: cannot find type `PathElement` in this scope [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] | ^^^^^^^^^^^ 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/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 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 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[E0425]: 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]: cannot find type `BitMapBackend` in this scope [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] Some errors have detailed explanations: E0425, E0432, 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 `(&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 `(&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] [stderr] error: could not compile `plotchart` (example "sierpinski") due to 9 previous errors [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 `(&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 `(&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] [stderr] error: could not compile `plotchart` (example "snowflake") due to 8 previous errors [INFO] [stdout] error[E0433]: cannot find type `BitMapBackend` in this scope [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]: cannot find type `ChartBuilder` in this scope [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]: cannot find type `LabelAreaPosition` in this scope [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]: cannot find type `LabelAreaPosition` in this scope [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]: cannot find type `LineSeries` in this scope [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]: cannot find type `PathElement` in this scope [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]: cannot find type `LineSeries` in this scope [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]: cannot find type `ErrorBar` in this scope [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]: cannot find type `PathElement` in this scope [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[E0433]: cannot find type `BitMapBackend` in this scope [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] | ^^^^^^^^^^^^^ 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-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 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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/normal-dist.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let mut x_hist_ctx = ChartBuilder::on(&areas[0]) [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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/normal-dist.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let mut y_hist_ctx = ChartBuilder::on(&areas[3]) [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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/normal-dist.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let mut scatter_ctx = ChartBuilder::on(&areas[2]) [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]: cannot find type `Circle` in this scope [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] | ^^^^^^ use of undeclared type `Circle` [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 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]: cannot find type `Histogram` in this scope [INFO] [stdout] --> examples/normal-dist.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let x_hist = Histogram::vertical(&x_hist_ctx) [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-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 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]: cannot find type `Histogram` in this scope [INFO] [stdout] --> examples/normal-dist.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let y_hist = Histogram::horizontal(&y_hist_ctx) [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-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 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] 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] [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]: cannot find type `BitMapBackend` in this scope [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] | ^^^^^^^^^^^^^ 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/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 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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/chart.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cc = ChartBuilder::on(&upper) [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]: cannot find type `LineSeries` in this scope [INFO] [stdout] --> examples/chart.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | cc.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/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 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]: cannot find type `PathElement` in this scope [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] | ^^^^^^^^^^^ 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/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 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]: cannot find type `LineSeries` in this scope [INFO] [stdout] --> examples/chart.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | cc.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/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 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]: cannot find type `PathElement` in this scope [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] | ^^^^^^^^^^^ 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/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 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 `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 constants [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]: cannot find type `PointSeries` in this scope [INFO] [stdout] --> examples/chart.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | cc.draw_series(PointSeries::of_element( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PointSeries` [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]: cannot find type `ShapeStyle` in this scope [INFO] [stdout] --> examples/chart.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ShapeStyle::from(&RED).filled(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ShapeStyle` [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 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]: cannot find type `EmptyElement` in this scope [INFO] [stdout] --> examples/chart.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | EmptyElement::at(coord) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmptyElement` [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]: cannot find type `Circle` in this scope [INFO] [stdout] --> examples/chart.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | + Circle::new((0, 0), size, style) [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [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]: cannot find type `Text` in this scope [INFO] [stdout] --> examples/chart.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | + Text::new( [INFO] [stdout] | ^^^^ use of undeclared type `Text` [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]: cannot find type `ChartBuilder` in this scope [INFO] [stdout] --> examples/chart.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut cc = ChartBuilder::on(&drawing_area) [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]: cannot find type `LineSeries` in this scope [INFO] [stdout] --> examples/chart.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | cc.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/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 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] [stderr] error: could not compile `plotchart` (example "normal-dist") due to 12 previous errors [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 "errorbar") due to 17 previous errors [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&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 `(&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[E0599]: no method named `into_font` found for tuple `(&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 `(&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[E0599]: no method named `into_font` found for tuple `(&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 `(&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[E0599]: no method named `into_font` found for tuple `(&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 `(&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] 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 "chart") due to 26 previous errors [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] 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] help: replace this with [INFO] [stdout] | [INFO] [stdout] 677 - let d: u64 = std::mem::transmute([ [INFO] [stdout] 677 + let d: u64 = u64::from_ne_bytes([ [INFO] [stdout] | [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] running `Command { std: "docker" "inspect" "989f9a89de9ac6a9d36f9cb1a232326dea27354d42a77a7fb7c7e0f2ca2e1c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989f9a89de9ac6a9d36f9cb1a232326dea27354d42a77a7fb7c7e0f2ca2e1c6e", kill_on_drop: false }` [INFO] [stdout] 989f9a89de9ac6a9d36f9cb1a232326dea27354d42a77a7fb7c7e0f2ca2e1c6e