[INFO] fetching crate plotters-canvas 0.3.0... [INFO] checking plotters-canvas-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate plotters-canvas 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate plotters-canvas 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate plotters-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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bd9a31f2a2c2255d786a8037dad149dadafdeb422406ae52a0c3261698bdb37 [INFO] running `Command { std: "docker" "start" "-a" "2bd9a31f2a2c2255d786a8037dad149dadafdeb422406ae52a0c3261698bdb37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bd9a31f2a2c2255d786a8037dad149dadafdeb422406ae52a0c3261698bdb37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd9a31f2a2c2255d786a8037dad149dadafdeb422406ae52a0c3261698bdb37", kill_on_drop: false }` [INFO] [stdout] 2bd9a31f2a2c2255d786a8037dad149dadafdeb422406ae52a0c3261698bdb37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7f4b10ffca929a2c2e04c07d3ad2ac5829cdd27c61fcaca08aab0e5e53cb607 [INFO] running `Command { std: "docker" "start" "-a" "d7f4b10ffca929a2c2e04c07d3ad2ac5829cdd27c61fcaca08aab0e5e53cb607", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [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[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 struct [INFO] [stdout] ... [INFO] [stdout] 342 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `CanvasBackend` [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[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 struct [INFO] [stdout] ... [INFO] [stdout] 374 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `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 `(&str, {integer})` [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 `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[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 `(&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 struct [INFO] [stdout] ... [INFO] [stdout] 431 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `CanvasBackend` [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[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 `(&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 struct [INFO] [stdout] ... [INFO] [stdout] 460 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `CanvasBackend` [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 `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[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 struct [INFO] [stdout] ... [INFO] [stdout] 523 | let root = backend.into_drawing_area(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `CanvasBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 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` (lib test) due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "d7f4b10ffca929a2c2e04c07d3ad2ac5829cdd27c61fcaca08aab0e5e53cb607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7f4b10ffca929a2c2e04c07d3ad2ac5829cdd27c61fcaca08aab0e5e53cb607", kill_on_drop: false }` [INFO] [stdout] d7f4b10ffca929a2c2e04c07d3ad2ac5829cdd27c61fcaca08aab0e5e53cb607