[INFO] fetching crate plotchart 0.2.12... [INFO] checking plotchart-0.2.12 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate plotchart 0.2.12 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plotchart 0.2.12 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa4933c10155d18b5c6ea112686fe884114f8b2049e5559127cb7803da8bc78e [INFO] running `Command { std: "docker" "start" "-a" "fa4933c10155d18b5c6ea112686fe884114f8b2049e5559127cb7803da8bc78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa4933c10155d18b5c6ea112686fe884114f8b2049e5559127cb7803da8bc78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4933c10155d18b5c6ea112686fe884114f8b2049e5559127cb7803da8bc78e", kill_on_drop: false }` [INFO] [stdout] fa4933c10155d18b5c6ea112686fe884114f8b2049e5559127cb7803da8bc78e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d547bd3d4016162bdb9d0641439294f2d9d4c5f98bf08ff1df23d866f10fe0f [INFO] running `Command { std: "docker" "start" "-a" "5d547bd3d4016162bdb9d0641439294f2d9d4c5f98bf08ff1df23d866f10fe0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cmake v0.1.42 [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 memchr v2.3.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking euclid v0.20.10 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking font-kit v0.5.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking plotchart v0.2.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `iqr` [INFO] [stdout] --> src/data/quartiles.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let iqr = upper - lower; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iqr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] Checking criterion v0.3.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/boxplot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/boxplot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::data::fitting_range; [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::data::fitting_range` [INFO] [stdout] --> examples/boxplot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::data::fitting_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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 undeclared type `SVGBackend` [INFO] [stdout] --> examples/boxplot.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | let root = SVGBackend::new("plotters-doc-data/boxplot.svg", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SVGBackend` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::SVGBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/boxplot.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[E0412]: cannot find type `Quartiles` in this scope [INFO] [stdout] --> examples/boxplot.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | let dataset: Vec<(String, String, Quartiles)> = ds [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Quartiles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quartiles` [INFO] [stdout] --> examples/boxplot.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | .map(|(k, v)| (k.0.clone(), k.1.clone(), Quartiles::new(&v))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Quartiles` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Quartiles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> examples/boxplot.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let category = Category::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Category` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Category; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Palette99` [INFO] [stdout] --> examples/boxplot.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let mut colors = (0..).map(Palette99::pick); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Palette99` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Palette99; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/boxplot.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let mut chart = 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[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/boxplot.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | .line_style_2(&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 `Boxplot` [INFO] [stdout] --> examples/boxplot.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | Boxplot::new_horizontal(category.get(&x.0).unwrap(), &x.1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Boxplot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Boxplot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> examples/boxplot.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | .legend(move |(x, y)| Rectangle::new([(x, y - 6), (x + 12, y + 6)], style.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[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> examples/boxplot.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | .position(SeriesLabelPosition::UpperRight) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::SeriesLabelPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/boxplot.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | .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[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> examples/boxplot.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | .border_style(&BLACK.mix(0.5)) [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]: failed to resolve: use of undeclared type `Quartiles` [INFO] [stdout] --> examples/boxplot.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let quartiles_a = Quartiles::new(&[ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Quartiles` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Quartiles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quartiles` [INFO] [stdout] --> examples/boxplot.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let quartiles_b = Quartiles::new(&[16.0, 17.0, 50.0, 60.0, 40.2, 41.3, 42.7, 43.3, 47.0]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Quartiles` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Quartiles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> examples/boxplot.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let category_ab = Category::new("", vec!["a", "b"]); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Category` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Category; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/boxplot.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut chart = ChartBuilder::on(&left) [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/boxplot.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | chart.configure_mesh().line_style_2(&WHITE).draw()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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 `Boxplot` [INFO] [stdout] --> examples/boxplot.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | Boxplot::new_vertical(category_ab.get(&"a").unwrap(), &quartiles_a), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Boxplot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Boxplot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Boxplot` [INFO] [stdout] --> examples/boxplot.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Boxplot::new_vertical(category_ab.get(&"b").unwrap(), &quartiles_b), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Boxplot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Boxplot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/boxplot.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let mut chart = ChartBuilder::on(&right) [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/boxplot.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | chart.configure_mesh().line_style_2(&WHITE).draw()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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 `Boxplot` [INFO] [stdout] --> examples/boxplot.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | Boxplot::new_horizontal(1, &quartiles_a), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Boxplot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Boxplot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Boxplot` [INFO] [stdout] --> examples/boxplot.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | Boxplot::new_horizontal(2, &Quartiles::new(&[30])), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Boxplot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Boxplot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quartiles` [INFO] [stdout] --> examples/boxplot.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | Boxplot::new_horizontal(2, &Quartiles::new(&[30])), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Quartiles` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::Quartiles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [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]: failed to resolve: use of unresolved module or unlinked crate `plotters` [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]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/area-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]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/mandelbrot.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 undeclared type `BitMapBackend` [INFO] [stdout] --> examples/stock.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let root = BitMapBackend::new("plotters-doc-data/stock.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ 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/stock.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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/stock.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[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> examples/stock.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | chart.configure_mesh().line_style_2(&WHITE).draw()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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 `CandleStick` [INFO] [stdout] --> examples/stock.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|x| CandleStick::new(parse_time(x.0), x.1, x.2, x.3, x.4, &GREEN, &RED, 15)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CandleStick` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::CandleStick; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> examples/stock.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|x| CandleStick::new(parse_time(x.0), x.1, x.2, x.3, x.4, &GREEN, &RED, 15)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/stock.rs:30:85 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|x| CandleStick::new(parse_time(x.0), x.1, x.2, x.3, x.4, &GREEN, &RED, 15)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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/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 undeclared type `BitMapBackend` [INFO] [stdout] --> examples/area-chart.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | BitMapBackend::new("plotters-doc-data/area-chart.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ 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/area-chart.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | root.fill(&WHITE)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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/area-chart.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | 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/area-chart.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | .set_label_area_size(LabelAreaPosition::Left, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] 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/area-chart.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | .set_label_area_size(LabelAreaPosition::Bottom, 60) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LabelAreaPosition` [INFO] [stdout] | [INFO] [stdout] 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 `AreaSeries` [INFO] [stdout] --> examples/area-chart.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | AreaSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AreaSeries` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::AreaSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> examples/area-chart.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | &RED.mix(0.2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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 value `RED` in this scope [INFO] [stdout] --> examples/area-chart.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | .border_style(&RED), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these 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[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/snowflake.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | BitMapBackend::new("plotters-doc-data/snowflake.png", (1024, 768)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ 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]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/snowflake.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ 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/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]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/snowflake.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, &RED)))?; [INFO] [stdout] | ^^^^^^^^^^^ 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[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/mandelbrot.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | BitMapBackend::new("plotters-doc-data/mandelbrot.png", (800, 600)).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/mandelbrot.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | 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/mandelbrot.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `HSLColor` in this scope [INFO] [stdout] --> examples/mandelbrot.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | plotting_area.draw_pixel((x, y), &HSLColor(c as f64 / 100.0, 1.0, 0.5))?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotchart::prelude::HSLColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> examples/mandelbrot.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | plotting_area.draw_pixel((x, y), &BLACK)?; [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] 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 "mandelbrot") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `plotchart` (example "area-chart") 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]: 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[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stdout] --> examples/stock.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | .caption("MSFT Stock Price", ("sans-serif", 50.0).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {float})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits 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/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]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/chart.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cc = ChartBuilder::on(&upper) [INFO] [stdout] | ^^^^^^^^^^^^ 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/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]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/chart.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &RED)); [INFO] [stdout] | ^^^^^^^^^^^ 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]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/chart.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ 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]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> examples/chart.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &BLUE)); [INFO] [stdout] | ^^^^^^^^^^^ 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]: failed to resolve: use of undeclared type `PointSeries` [INFO] [stdout] --> examples/chart.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | cc.draw_series(PointSeries::of_element( [INFO] [stdout] | ^^^^^^^^^^^ 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]: failed to resolve: use of undeclared type `ShapeStyle` [INFO] [stdout] --> examples/chart.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ShapeStyle::from(&RED).filled(), [INFO] [stdout] | ^^^^^^^^^^ 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]: failed to resolve: use of undeclared type `EmptyElement` [INFO] [stdout] --> examples/chart.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | EmptyElement::at(coord) [INFO] [stdout] | ^^^^^^^^^^^^ 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] [stderr] error: could not compile `plotchart` (example "snowflake") due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> examples/chart.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | + Circle::new((0, 0), size, style) [INFO] [stdout] | ^^^^^^ 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]: failed to resolve: use of undeclared type `Text` [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]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/chart.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut cc = ChartBuilder::on(&drawing_area) [INFO] [stdout] | ^^^^^^^^^^^^ 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/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] [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 "stock") due to 9 previous errors [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] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | let root_area = root_area.titled("Image Title", ("sans-serif", 60).into_font())?; [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits 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 `(&'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[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | .caption("Sine and Cosine", ("sans-serif", 40).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits 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 `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/boxplot.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | .caption("Ping Boxplot", ("sans-serif", 20).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] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | ("sans-serif", 15).into_font(), [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits 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 "histogram") due to 9 previous errors [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | ("sans-serif", 40).into_font(), [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits 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 `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/boxplot.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | .caption("Vertical Boxplot", ("sans-serif", 20).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] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/boxplot.rs:141:59 [INFO] [stdout] | [INFO] [stdout] 141 | .caption("Horizontal Boxplot", ("sans-serif", 20).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] [stderr] error: could not compile `plotchart` (example "chart") due to 26 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotchart` (example "boxplot") due to 31 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)]` 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] running `Command { std: "docker" "inspect" "5d547bd3d4016162bdb9d0641439294f2d9d4c5f98bf08ff1df23d866f10fe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d547bd3d4016162bdb9d0641439294f2d9d4c5f98bf08ff1df23d866f10fe0f", kill_on_drop: false }` [INFO] [stdout] 5d547bd3d4016162bdb9d0641439294f2d9d4c5f98bf08ff1df23d866f10fe0f