[INFO] fetching crate plotters-unsable 0.1.13-5c709bb... [INFO] checking plotters-unsable-0.1.13-5c709bb against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate plotters-unsable 0.1.13-5c709bb into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate plotters-unsable 0.1.13-5c709bb on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate plotters-unsable 0.1.13-5c709bb [INFO] finished tweaking crates.io crate plotters-unsable 0.1.13-5c709bb [INFO] tweaked toml for crates.io crate plotters-unsable 0.1.13-5c709bb written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] [stderr] Adding approx v0.3.2 (available: v0.5.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding core-foundation v0.6.4 (available: v0.10.0) [INFO] [stderr] Adding core-foundation-sys v0.6.2 (available: v0.8.7) [INFO] [stderr] Adding core-graphics v0.14.0 (available: v0.24.0) [INFO] [stderr] Adding core-text v10.0.0 (available: v21.0.0) [INFO] [stderr] Adding deflate v0.7.20 (available: v1.0.0) [INFO] [stderr] Adding font-loader v0.8.0 (available: v0.11.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding gif v0.10.3 (available: v0.13.1) [INFO] [stderr] Adding image v0.21.3 (available: v0.25.2) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (available: v0.3.1) [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding png v0.14.1 (available: v0.17.13) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding rusttype v0.7.9 (available: v0.9.3) [INFO] [stderr] Adding rusttype v0.8.3 (available: v0.9.3) [INFO] [stderr] Adding servo-fontconfig v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding servo-fontconfig-sys v4.0.9 (available: v5.1.0) [INFO] [stderr] Adding svg v0.5.12 (available: v0.17.0) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding tiff v0.2.2 (available: v0.9.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded font-loader v0.8.0 [INFO] [stderr] Downloaded svg v0.5.12 [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded core-text v10.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 535bdf7cc56fa21d2c0ee7710f6caf7ad0f76ea5979f614c850290e76269f7b2 [INFO] running `Command { std: "docker" "start" "-a" "535bdf7cc56fa21d2c0ee7710f6caf7ad0f76ea5979f614c850290e76269f7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "535bdf7cc56fa21d2c0ee7710f6caf7ad0f76ea5979f614c850290e76269f7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "535bdf7cc56fa21d2c0ee7710f6caf7ad0f76ea5979f614c850290e76269f7b2", kill_on_drop: false }` [INFO] [stdout] 535bdf7cc56fa21d2c0ee7710f6caf7ad0f76ea5979f614c850290e76269f7b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61886065c040adfc19e92692ba584d5225239220aec3a6e5d8aed13170fa12d8 [INFO] running `Command { std: "docker" "start" "-a" "61886065c040adfc19e92692ba584d5225239220aec3a6e5d8aed13170fa12d8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking svg v0.5.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking font-loader v0.8.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Checking plotters-unsable v0.1.13-5c709bb (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/style/font/ttf.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | { Mutex::new(HashMap::new()) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 80 - { Mutex::new(HashMap::new()) }; [INFO] [stdout] 80 + Mutex::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/style/font/ttf.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | { Mutex::new(HashMap::new()) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 80 - { Mutex::new(HashMap::new()) }; [INFO] [stdout] 80 + Mutex::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, DateTime, Duration, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedDate(Date, Date); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedDate(Date, Date); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | impl From>> for RangedDate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | impl super::AsRangedCoord for Range> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(range: Range>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, DateTime, Duration, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | type ValueType = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn range(&self) -> Range> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedDate(Date, Date); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedDate(Date, Date); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | type Value = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | impl From>> for RangedDate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | impl super::AsRangedCoord for Range> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(range: Range>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | type ValueType = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn range(&self) -> Range> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/coord/datetime.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | type Value = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element/mod.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | points: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | points: &mut dyn Iterator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element/mod.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | points: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | points: &mut dyn Iterator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element/mod.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | points: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 | points: &mut dyn Iterator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element/mod.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | points: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 | points: &mut dyn Iterator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/mandelbrot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/histogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/chart.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/mandelbrot.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | BitMapBackend::new("examples/outputs/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 plotters_unsable::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::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 plotters_unsable::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 plotters_unsable::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/histogram.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | let root = BitMapBackend::new("examples/outputs/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 plotters_unsable::prelude::BitMapBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> examples/histogram.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | root.fill(&White)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/histogram.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | 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 plotters_unsable::prelude::ChartBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> examples/histogram.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | .line_style_1(&White.mix(0.3)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Histogram` [INFO] [stdout] --> examples/histogram.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | chart.draw_series(Histogram::::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Histogram` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Histogram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RangedCoordu32` in this scope [INFO] [stdout] --> examples/histogram.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | chart.draw_series(Histogram::::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::RangedCoordu32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShapeStyle` [INFO] [stdout] --> examples/histogram.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ShapeStyle::from(&Red.mix(0.5)).filled(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ShapeStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::ShapeStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Red` in this scope [INFO] [stdout] --> examples/histogram.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | ShapeStyle::from(&Red.mix(0.5)).filled(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitMapBackend` [INFO] [stdout] --> examples/stock.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let root = BitMapBackend::new("examples/outputs/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 plotters_unsable::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::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 plotters_unsable::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::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 plotters_unsable::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotters-unsable` (example "mandelbrot") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> examples/stock.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Duration}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> examples/stock.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse_time(t: &str) -> Date { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stdout] --> examples/histogram.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | .caption("Histogram Test", &("Arial", 50.0).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {float})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {float})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::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("examples/outputs/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 plotters_unsable::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 this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/chart.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | 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 plotters_unsable::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:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 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 plotters_unsable::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Red` in this scope [INFO] [stdout] --> examples/chart.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | &Red, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> examples/chart.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | .legend(|(x, y)| Path::new(vec![(x, y), (x + 20, y)], &Red)); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Path; [INFO] [stdout] | [INFO] [stdout] 1 + use svg::node::element::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Red` in this scope [INFO] [stdout] --> examples/chart.rs:35:60 [INFO] [stdout] | [INFO] [stdout] 35 | .legend(|(x, y)| Path::new(vec![(x, y), (x + 20, y)], &Red)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineSeries` [INFO] [stdout] --> examples/chart.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | 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 plotters_unsable::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Blue` in this scope [INFO] [stdout] --> examples/chart.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | &Blue, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Blue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> examples/chart.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | .legend(|(x, y)| Path::new(vec![(x, y), (x + 20, y)], &Blue)); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Path; [INFO] [stdout] | [INFO] [stdout] 1 + use svg::node::element::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> examples/stock.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | .datetime_from_str(&format!("{} 0:0", t), "%Y-%m-%d %H:%M") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Blue` in this scope [INFO] [stdout] --> examples/chart.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | .legend(|(x, y)| Path::new(vec![(x, y), (x + 20, y)], &Blue)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Blue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> examples/chart.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | cc.configure_series_labels().border_style(&Black).draw()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointSeries` [INFO] [stdout] --> examples/chart.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | 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 plotters_unsable::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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | 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 plotters_unsable::prelude::ShapeStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Red` in this scope [INFO] [stdout] --> examples/chart.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | ShapeStyle::from(&Red).filled(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmptyElement` [INFO] [stdout] --> examples/chart.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | 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 plotters_unsable::prelude::EmptyElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> examples/stock.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | .date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> examples/chart.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | + Circle::new((0, 0), size, style) [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Circle; [INFO] [stdout] | [INFO] [stdout] 1 + use svg::node::element::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Text` [INFO] [stdout] --> examples/chart.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | + Text::new(format!("{:?}", coord), (0, 15), &point_font) [INFO] [stdout] | ^^^^ use of undeclared type `Text` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Text; [INFO] [stdout] | [INFO] [stdout] 1 + use svg::node::Text; [INFO] [stdout] | [INFO] [stdout] 1 + use svg::node::element::Text; [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:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | .axis_desc_style(&("Arial", 15).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {integer})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::style::IntoFont; [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 plotters_unsable::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:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | 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 plotters_unsable::prelude::LineSeries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Blue` in this scope [INFO] [stdout] --> examples/chart.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | &Blue, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::prelude::Blue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {float})` in the current scope [INFO] [stdout] --> examples/stock.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | .caption("MSFT Stock Price", &("Arial", 50.0).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {float})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {float})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plotters-unsable` (example "histogram") due to 12 previous errors [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [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:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | .titled("Image Title", &("Arial", 60).into_font())? [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {integer})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [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:18:52 [INFO] [stdout] | [INFO] [stdout] 18 | .caption("Sine and Cosine", &("Arial", 40).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {integer})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plotters-unsable` (example "stock") due to 10 previous errors; 4 warnings emitted [INFO] [stdout] error[E0599]: no method named `into_font` found for tuple `(&'static str, {integer})` in the current scope [INFO] [stdout] --> examples/chart.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let point_font = ("Arial", 15).into_font(); [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {integer})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::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:78:71 [INFO] [stdout] | [INFO] [stdout] 78 | .caption(format!("y = x^{}", 1 + 2 * idx), &("Arial", 40).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/style/font/font_desc.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_font(self) -> FontDesc<'a>; [INFO] [stdout] | --------- the method is available for `(&'static str, {integer})` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoFont` which provides `into_font` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters_unsable::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotters-unsable` (example "chart") due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "61886065c040adfc19e92692ba584d5225239220aec3a6e5d8aed13170fa12d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61886065c040adfc19e92692ba584d5225239220aec3a6e5d8aed13170fa12d8", kill_on_drop: false }` [INFO] [stdout] 61886065c040adfc19e92692ba584d5225239220aec3a6e5d8aed13170fa12d8