[INFO] crate plotters-unsable 0.1.13-5c709bb is already in cache [INFO] testing plotters-unsable-0.1.13-5c709bb against 1.45.2 for beta-1.46-1 [INFO] extracting crate plotters-unsable 0.1.13-5c709bb into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate plotters-unsable 0.1.13-5c709bb on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c54ba742f21dd5e9bc6633a7ad27b2138aac39f43a3ca9a9d4c40efa7da8640f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c54ba742f21dd5e9bc6633a7ad27b2138aac39f43a3ca9a9d4c40efa7da8640f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c54ba742f21dd5e9bc6633a7ad27b2138aac39f43a3ca9a9d4c40efa7da8640f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54ba742f21dd5e9bc6633a7ad27b2138aac39f43a3ca9a9d4c40efa7da8640f", kill_on_drop: false }` [INFO] [stdout] c54ba742f21dd5e9bc6633a7ad27b2138aac39f43a3ca9a9d4c40efa7da8640f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7333c870d199657d2d59d6b3eb81ed5f26f28957bac1f1bf3adb676a34fb271f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7333c870d199657d2d59d6b3eb81ed5f26f28957bac1f1bf3adb676a34fb271f", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling svg v0.5.12 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling font-loader v0.8.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.25s [INFO] running `Command { std: "docker" "inspect" "7333c870d199657d2d59d6b3eb81ed5f26f28957bac1f1bf3adb676a34fb271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7333c870d199657d2d59d6b3eb81ed5f26f28957bac1f1bf3adb676a34fb271f", kill_on_drop: false }` [INFO] [stdout] 7333c870d199657d2d59d6b3eb81ed5f26f28957bac1f1bf3adb676a34fb271f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--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] b814aafb909707a861c74f3ecddb2fec51ce4bb086a64070341be44ce5323da7 [INFO] running `Command { std: "docker" "start" "-a" "b814aafb909707a861c74f3ecddb2fec51ce4bb086a64070341be44ce5323da7", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stdout] --> examples/mandelbrot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `BitMapBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ChartBuilder` [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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::White; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::HSLColor; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Black; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stdout] --> examples/histogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `BitMapBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stdout] --> examples/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `BitMapBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `plotters` [INFO] [stdout] --> examples/chart.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `BitMapBackend` [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`. [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 type or module `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 or module `ChartBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Histogram` [INFO] [stdout] --> examples/histogram.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | chart.draw_series(Histogram::::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Histogram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ShapeStyle` [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::White; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::White; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::coord::RangedCoordu32; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::RangedCoordu32; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ChartBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `CandleStick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ChartBuilder` [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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::White; [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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::White; [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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Green; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stdout] --> examples/chart.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stdout] --> examples/chart.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `PointSeries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ShapeStyle` [INFO] [stdout] --> examples/chart.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | ShapeStyle::from(&Red).filled(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ShapeStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EmptyElement` [INFO] [stdout] --> examples/chart.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | EmptyElement::at(coord) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `EmptyElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ChartBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LineSeries` [INFO] [stdout] --> examples/chart.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | cc.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `LineSeries` [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 items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::White; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::White; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Red; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Red; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Blue; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Blue; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Blue; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Black; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Black; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Red; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Red; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::prelude::Blue; [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_unsable::style::Blue; [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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] 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, {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 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] [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, {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[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 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] [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] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b814aafb909707a861c74f3ecddb2fec51ce4bb086a64070341be44ce5323da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b814aafb909707a861c74f3ecddb2fec51ce4bb086a64070341be44ce5323da7", kill_on_drop: false }` [INFO] [stdout] b814aafb909707a861c74f3ecddb2fec51ce4bb086a64070341be44ce5323da7