[INFO] fetching crate plotters-bitmap 0.3.7... [INFO] testing plotters-bitmap-0.3.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate plotters-bitmap 0.3.7 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate plotters-bitmap 0.3.7 [INFO] finished tweaking crates.io crate plotters-bitmap 0.3.7 [INFO] tweaked toml for crates.io crate plotters-bitmap 0.3.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plotters-bitmap 0.3.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding gif v0.12.0 (available: v0.13.3) [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fd2807d2fc152e86007effa735ad302efbb57b5fbd59e974cecbc222343ae8a [INFO] running `Command { std: "docker" "start" "-a" "1fd2807d2fc152e86007effa735ad302efbb57b5fbd59e974cecbc222343ae8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fd2807d2fc152e86007effa735ad302efbb57b5fbd59e974cecbc222343ae8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd2807d2fc152e86007effa735ad302efbb57b5fbd59e974cecbc222343ae8a", kill_on_drop: false }` [INFO] [stdout] 1fd2807d2fc152e86007effa735ad302efbb57b5fbd59e974cecbc222343ae8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ce96e696a120968c197284254b54db068d9c9838a9fd7b169df7ff20611a29c [INFO] running `Command { std: "docker" "start" "-a" "5ce96e696a120968c197284254b54db068d9c9838a9fd7b169df7ff20611a29c", kill_on_drop: false }` [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bitmap_pixel/bgrx.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | ... let d: u64 = std::mem::transmute([ [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 197 | | ... b, g, r, 0, b, g, r, 0, // QW1 [INFO] [stdout] 198 | | ... ]); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bitmap.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.96s [INFO] running `Command { std: "docker" "inspect" "5ce96e696a120968c197284254b54db068d9c9838a9fd7b169df7ff20611a29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce96e696a120968c197284254b54db068d9c9838a9fd7b169df7ff20611a29c", kill_on_drop: false }` [INFO] [stdout] 5ce96e696a120968c197284254b54db068d9c9838a9fd7b169df7ff20611a29c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23b972b9bd3113ecce79335d395acf84d1c6d66cf050348c099b0c865a4c2ff6 [INFO] running `Command { std: "docker" "start" "-a" "23b972b9bd3113ecce79335d395acf84d1c6d66cf050348c099b0c865a4c2ff6", kill_on_drop: false }` [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bitmap_pixel/bgrx.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | ... let d: u64 = std::mem::transmute([ [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 197 | | ... b, g, r, 0, b, g, r, 0, // QW1 [INFO] [stdout] 198 | | ... ]); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bitmap.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn split(&mut self, area_size: &[u32]) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | use plotters::prelude::{Color, RGBColor, BLACK, BLUE, GREEN, RED, WHITE, YELLOW}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> src/bitmap/test.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | use plotters::style::text_anchor::{HPos, Pos, VPos}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `plotters::style::text_anchor::HPos`, `plotters::style::text_anchor::Pos`, `plotters::style::text_anchor::VPos` [INFO] [stdout] --> src/bitmap/test.rs:396:40 [INFO] [stdout] | [INFO] [stdout] 396 | use plotters::style::text_anchor::{HPos, Pos, VPos}; [INFO] [stdout] | ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | area.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | area.draw(&PathElement::new(vec![(0, 0), (10, 10)], RED.filled())) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | area.draw(&Rectangle::new([(0, 0), (5, 10)], RED.filled())) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 62 | area.draw(&Rectangle::new([(0, 0), (10, 5)], RED.filled())) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:119:72 [INFO] [stdout] | [INFO] [stdout] 119 | for (sub_backend, color) in back.split(&[5]).into_iter().zip([&RED, &GREEN].iter()) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> src/bitmap/test.rs:119:78 [INFO] [stdout] | [INFO] [stdout] 119 | for (sub_backend, color) in back.split(&[5]).into_iter().zip([&RED, &GREEN].iter()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:143:49 [INFO] [stdout] | [INFO] [stdout] 143 | back.draw_line((1100, 0), (1100, 999), &RED.to_rgba()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | back.draw_line((0, 1100), (999, 1100), &RED.to_rgba()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:147:49 [INFO] [stdout] | [INFO] [stdout] 147 | back.draw_rect((1100, 0), (1100, 999), &RED.to_rgba(), true) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | back.draw_rect((0, 0), (0, 0), &RED.to_rgba(), true) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:185:55 [INFO] [stdout] | [INFO] [stdout] 185 | back.draw_line((-1000, -1000), (2000, 2000), &WHITE.to_rgba()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:188:52 [INFO] [stdout] | [INFO] [stdout] 188 | back.draw_line((999, -1000), (999, 2000), &WHITE.to_rgba()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | for fill_color in [RED, GREEN, BLUE].iter() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> src/bitmap/test.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | for fill_color in [RED, GREEN, BLUE].iter() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | for fill_color in [RED, GREEN, BLUE].iter() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:214:51 [INFO] [stdout] | [INFO] [stdout] 214 | back.draw_rect((0, 0), (1000, 1000), &WHITE.mix(0.1), true) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:341:48 [INFO] [stdout] | [INFO] [stdout] 341 | back.draw_line((500, 0), (500, 1000), &WHITE.filled().stroke_width(5)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FontTransform` [INFO] [stdout] --> src/bitmap/test.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | FontTransform::None, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FontTransform` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 393 + use plotters_backend::FontTransform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FontTransform` [INFO] [stdout] --> src/bitmap/test.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | FontTransform::Rotate90, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FontTransform` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 393 + use plotters_backend::FontTransform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FontTransform` [INFO] [stdout] --> src/bitmap/test.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | FontTransform::Rotate180, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FontTransform` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 393 + use plotters_backend::FontTransform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FontTransform` [INFO] [stdout] --> src/bitmap/test.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | FontTransform::Rotate270, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FontTransform` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 393 + use plotters_backend::FontTransform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> src/bitmap/test.rs:489:64 [INFO] [stdout] | [INFO] [stdout] 489 | ... root.draw(&Circle::new((x, y), 3, &BLACK.mix(0.5))).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:512:24 [INFO] [stdout] | [INFO] [stdout] 512 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:541:24 [INFO] [stdout] | [INFO] [stdout] 541 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:557:71 [INFO] [stdout] | [INFO] [stdout] 557 | .draw_series(std::iter::once(Circle::new((5, 15), 5, &RED))) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/bitmap/test.rs:560:57 [INFO] [stdout] | [INFO] [stdout] 560 | .legend(|(x, y)| Circle::new((x, y), 3, RED.filled())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:563:72 [INFO] [stdout] | [INFO] [stdout] 563 | .draw_series(std::iter::once(Circle::new((5, 15), 10, &BLUE))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:566:57 [INFO] [stdout] | [INFO] [stdout] 566 | .legend(|(x, y)| Circle::new((x, y), 3, BLUE.filled())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> src/bitmap/test.rs:584:36 [INFO] [stdout] | [INFO] [stdout] 584 | .border_style(&BLACK.mix(0.5)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/bitmap/test.rs:600:24 [INFO] [stdout] | [INFO] [stdout] 600 | root.fill(&WHITE).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> src/bitmap/test.rs:603:52 [INFO] [stdout] | [INFO] [stdout] 603 | root.draw_pixel((50 + i, 50 + i), &BLACK.mix(alpha)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let area = back.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathElement` [INFO] [stdout] --> src/bitmap/test.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | area.draw(&PathElement::new(vec![(0, 0), (10, 10)], RED.filled())) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PathElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let area = back.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/bitmap/test.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | area.draw(&Rectangle::new([(0, 0), (5, 10)], RED.filled())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let area = back.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/bitmap/test.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | area.draw(&Rectangle::new([(0, 0), (10, 5)], RED.filled())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let area = back.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/bitmap/test.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | area.draw(&Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGBColor` in this scope [INFO] [stdout] --> src/bitmap/test.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | RGBColor(0, 100, 200).mix(0.2).filled(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:419:81 [INFO] [stdout] | [INFO] [stdout] 419 | let root = BitMapBackend::with_buffer(&mut buffer, (width, height)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 393 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> src/bitmap/test.rs:422:29 [INFO] [stdout] | [INFO] [stdout] 422 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:452:81 [INFO] [stdout] | [INFO] [stdout] 452 | let root = BitMapBackend::with_buffer(&mut buffer, (width, height)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 393 + use plotters::drawing::IntoDrawingArea; [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] --> src/bitmap/test.rs:455:59 [INFO] [stdout] | [INFO] [stdout] 455 | .titled("Image Title", ("sans-serif", 60).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/style/font/font_desc.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 393 + use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> src/bitmap/test.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/bitmap/test.rs:489:40 [INFO] [stdout] | [INFO] [stdout] 489 | ... root.draw(&Circle::new((x, y), 3, &BLACK.mix(0.5))).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextStyle` [INFO] [stdout] --> src/bitmap/test.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | ... let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TextStyle` [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] --> src/bitmap/test.rs:490:76 [INFO] [stdout] | [INFO] [stdout] 490 | ... let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/style/font/font_desc.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 393 + use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:511:18 [INFO] [stdout] | [INFO] [stdout] 510 | let root = BitMapBackend::with_buffer(&mut buffer, (width as u32, height as u32)) [INFO] [stdout] | ________________________- [INFO] [stdout] 511 | | .into_drawing_area(); [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 393 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextStyle` [INFO] [stdout] --> src/bitmap/test.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TextStyle` [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] --> src/bitmap/test.rs:514:60 [INFO] [stdout] | [INFO] [stdout] 514 | let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/style/font/font_desc.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 393 + use plotters::style::IntoFont; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:540:81 [INFO] [stdout] | [INFO] [stdout] 540 | let root = BitMapBackend::with_buffer(&mut buffer, (width, height)).into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 393 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> src/bitmap/test.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | let mut chart = ChartBuilder::on(&root) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/bitmap/test.rs:557:46 [INFO] [stdout] | [INFO] [stdout] 557 | .draw_series(std::iter::once(Circle::new((5, 15), 5, &RED))) [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/bitmap/test.rs:560:34 [INFO] [stdout] | [INFO] [stdout] 560 | .legend(|(x, y)| Circle::new((x, y), 3, RED.filled())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/bitmap/test.rs:563:46 [INFO] [stdout] | [INFO] [stdout] 563 | .draw_series(std::iter::once(Circle::new((5, 15), 10, &BLUE))) [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/bitmap/test.rs:566:34 [INFO] [stdout] | [INFO] [stdout] 566 | .legend(|(x, y)| Circle::new((x, y), 3, BLUE.filled())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | SeriesLabelPosition::UpperLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 570 | SeriesLabelPosition::MiddleLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | SeriesLabelPosition::LowerLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | SeriesLabelPosition::UpperMiddle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | SeriesLabelPosition::MiddleMiddle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | SeriesLabelPosition::LowerMiddle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | SeriesLabelPosition::UpperRight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | SeriesLabelPosition::MiddleRight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:577:17 [INFO] [stdout] | [INFO] [stdout] 577 | SeriesLabelPosition::LowerRight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesLabelPosition` [INFO] [stdout] --> src/bitmap/test.rs:578:17 [INFO] [stdout] | [INFO] [stdout] 578 | SeriesLabelPosition::Coordinate(70, 70), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `bitmap::BitMapBackend<'a, P>` in the current scope [INFO] [stdout] --> src/bitmap/test.rs:599:18 [INFO] [stdout] | [INFO] [stdout] 598 | let root = BitMapBackend::with_buffer(&mut buffer, (width as u32, height as u32)) [INFO] [stdout] | ________________________- [INFO] [stdout] 599 | | .into_drawing_area(); [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^ method not found in `bitmap::BitMapBackend<'_>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/bitmap.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BitMapBackend<'a, P: PixelFormat = RGBPixel> { [INFO] [stdout] | ------------------------------------------------------- method `into_drawing_area` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/drawing/area.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn into_drawing_area(self) -> DrawingArea; [INFO] [stdout] | ----------------- the method is available for `bitmap::BitMapBackend<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoDrawingArea` which provides `into_drawing_area` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 393 + use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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-bitmap` (lib test) due to 84 previous errors [INFO] running `Command { std: "docker" "inspect" "23b972b9bd3113ecce79335d395acf84d1c6d66cf050348c099b0c865a4c2ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b972b9bd3113ecce79335d395acf84d1c6d66cf050348c099b0c865a4c2ff6", kill_on_drop: false }` [INFO] [stdout] 23b972b9bd3113ecce79335d395acf84d1c6d66cf050348c099b0c865a4c2ff6