[INFO] fetching crate plotters-unsable 0.1.13-5c709bb... [INFO] checking plotters-unsable-0.1.13-5c709bb against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate plotters-unsable 0.1.13-5c709bb into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate plotters-unsable 0.1.13-5c709bb on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a9cd2192850a1eba31ef4079f91b03ec40aa1e78dae0c18fe2b5b700ea7c1693 [INFO] running `Command { std: "docker" "start" "-a" "a9cd2192850a1eba31ef4079f91b03ec40aa1e78dae0c18fe2b5b700ea7c1693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9cd2192850a1eba31ef4079f91b03ec40aa1e78dae0c18fe2b5b700ea7c1693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9cd2192850a1eba31ef4079f91b03ec40aa1e78dae0c18fe2b5b700ea7c1693", kill_on_drop: false }` [INFO] [stdout] a9cd2192850a1eba31ef4079f91b03ec40aa1e78dae0c18fe2b5b700ea7c1693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8db1c2cce2908c53914725582adf9e7a338becaaccf15c26a1dc73c517034cb5 [INFO] running `Command { std: "docker" "start" "-a" "8db1c2cce2908c53914725582adf9e7a338becaaccf15c26a1dc73c517034cb5", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking svg v0.5.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling cmake v0.1.45 [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 gif v0.10.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [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] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking font-loader v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> examples/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 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] | ^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^ not found in this scope [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[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[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 `(&'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 trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotters-unsable` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[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 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] | ^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::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] | ^^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use svg::node::element::Path; [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] | ^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^ not found in this scope [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] 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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [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] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [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[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> examples/chart.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut cc = ChartBuilder::on(&drawing_area) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use 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] | ^^^^^^^^^^ not found in this scope [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[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] | ^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^ not found in this scope [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/mandelbrot.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | BitMapBackend::new("examples/outputs/mandelbrot.png", (800, 600)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use 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] | ^^^^^^^^^^^^ not found in this scope [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[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 `(&'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 trait is implemented but not in scope; perhaps add a `use` for 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:18:52 [INFO] [stdout] | [INFO] [stdout] 18 | .caption("Sine and Cosine", &("Arial", 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 trait is implemented but not in scope; perhaps add a `use` for 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:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let point_font = ("Arial", 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 trait is implemented but not in scope; perhaps add a `use` for 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, {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 `(&'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 trait is implemented but not in scope; perhaps add a `use` for 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/histogram.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | .axis_desc_style(&("Arial", 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 trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::IntoFont; [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, {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 `(&'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 trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::IntoFont; [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "8db1c2cce2908c53914725582adf9e7a338becaaccf15c26a1dc73c517034cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db1c2cce2908c53914725582adf9e7a338becaaccf15c26a1dc73c517034cb5", kill_on_drop: false }` [INFO] [stdout] 8db1c2cce2908c53914725582adf9e7a338becaaccf15c26a1dc73c517034cb5