[INFO] fetching crate plotters-canvas 0.3.0... [INFO] checking plotters-canvas-0.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate plotters-canvas 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate plotters-canvas 0.3.0 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-canvas 0.3.0 [INFO] finished tweaking crates.io crate plotters-canvas 0.3.0 [INFO] tweaked toml for crates.io crate plotters-canvas 0.3.0 written to /workspace/builds/worker-3/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] 1ea9eb0bc328e702e36cd4029b985e4dd1232a27db45db464d2a429bdef68493 [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" "1ea9eb0bc328e702e36cd4029b985e4dd1232a27db45db464d2a429bdef68493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea9eb0bc328e702e36cd4029b985e4dd1232a27db45db464d2a429bdef68493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea9eb0bc328e702e36cd4029b985e4dd1232a27db45db464d2a429bdef68493", kill_on_drop: false }` [INFO] [stdout] 1ea9eb0bc328e702e36cd4029b985e4dd1232a27db45db464d2a429bdef68493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 5c69a31cbe3ccf38ef42554a672c039b1a3ad3df84ff74bf7d85a865ff64c6bc [INFO] running `Command { std: "docker" "start" "-a" "5c69a31cbe3ccf38ef42554a672c039b1a3ad3df84ff74bf7d85a865ff64c6bc", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.21 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Checking wasm-bindgen v0.2.71 [INFO] [stderr] Checking js-sys v0.3.48 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.21 [INFO] [stderr] Checking web-sys v0.3.48 [INFO] [stderr] Checking wasm-bindgen-test v0.3.21 [INFO] [stderr] Checking plotters-canvas v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `plotters` [INFO] [stdout] --> src/canvas.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | 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] --> src/canvas.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use plotters::element::Circle; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `plotters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `plotters::element::Circle` [INFO] [stdout] --> src/canvas.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use plotters::element::Circle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> src/canvas.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | 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 `ChartBuilder` [INFO] [stdout] --> src/canvas.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 379 | 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/canvas.rs:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | 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/canvas.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TextStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextStyle` [INFO] [stdout] --> src/canvas.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TextStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartBuilder` [INFO] [stdout] --> src/canvas.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | 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/canvas.rs:476:42 [INFO] [stdout] | [INFO] [stdout] 476 | .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/canvas.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | .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/canvas.rs:482:42 [INFO] [stdout] | [INFO] [stdout] 482 | .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/canvas.rs:485:30 [INFO] [stdout] | [INFO] [stdout] 485 | .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/canvas.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | 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/canvas.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | 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/canvas.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | 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/canvas.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | 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/canvas.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | 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/canvas.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | 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/canvas.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | 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/canvas.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | 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/canvas.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | 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/canvas.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | SeriesLabelPosition::Coordinate(70, 70), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SeriesLabelPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK` in this scope [INFO] [stdout] --> src/canvas.rs:410:60 [INFO] [stdout] | [INFO] [stdout] 410 | 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 `RED` in this scope [INFO] [stdout] --> src/canvas.rs:476:67 [INFO] [stdout] | [INFO] [stdout] 476 | .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/canvas.rs:479:53 [INFO] [stdout] | [INFO] [stdout] 479 | .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/canvas.rs:482:68 [INFO] [stdout] | [INFO] [stdout] 482 | .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/canvas.rs:485:53 [INFO] [stdout] | [INFO] [stdout] 485 | .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/canvas.rs:503:32 [INFO] [stdout] | [INFO] [stdout] 503 | .border_style(&BLACK.mix(0.5)) [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/canvas.rs:527:48 [INFO] [stdout] | [INFO] [stdout] 527 | 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 `canvas::CanvasBackend` in the current scope [INFO] [stdout] --> src/canvas.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CanvasBackend { [INFO] [stdout] | ------------------------ method `into_drawing_area` not found for this [INFO] [stdout] ... [INFO] [stdout] 342 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `canvas::CanvasBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `canvas::CanvasBackend` in the current scope [INFO] [stdout] --> src/canvas.rs:374:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CanvasBackend { [INFO] [stdout] | ------------------------ method `into_drawing_area` not found for this [INFO] [stdout] ... [INFO] [stdout] 374 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `canvas::CanvasBackend` [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/canvas.rs:376:55 [INFO] [stdout] | [INFO] [stdout] 376 | .titled("Image Title", ("sans-serif", 60).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [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/canvas.rs:411:72 [INFO] [stdout] | [INFO] [stdout] 411 | let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `canvas::CanvasBackend` in the current scope [INFO] [stdout] --> src/canvas.rs:431:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CanvasBackend { [INFO] [stdout] | ------------------------ method `into_drawing_area` not found for this [INFO] [stdout] ... [INFO] [stdout] 431 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `canvas::CanvasBackend` [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/canvas.rs:433:56 [INFO] [stdout] | [INFO] [stdout] 433 | let style = TextStyle::from(("sans-serif", 20).into_font()) [INFO] [stdout] | ^^^^^^^^^ method not found in `(&'static str, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `canvas::CanvasBackend` in the current scope [INFO] [stdout] --> src/canvas.rs:460:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CanvasBackend { [INFO] [stdout] | ------------------------ method `into_drawing_area` not found for this [INFO] [stdout] ... [INFO] [stdout] 460 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `canvas::CanvasBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_drawing_area` found for struct `canvas::CanvasBackend` in the current scope [INFO] [stdout] --> src/canvas.rs:523:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CanvasBackend { [INFO] [stdout] | ------------------------ method `into_drawing_area` not found for this [INFO] [stdout] ... [INFO] [stdout] 523 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `canvas::CanvasBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [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-canvas` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5c69a31cbe3ccf38ef42554a672c039b1a3ad3df84ff74bf7d85a865ff64c6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c69a31cbe3ccf38ef42554a672c039b1a3ad3df84ff74bf7d85a865ff64c6bc", kill_on_drop: false }` [INFO] [stdout] 5c69a31cbe3ccf38ef42554a672c039b1a3ad3df84ff74bf7d85a865ff64c6bc