[INFO] fetching crate ssd1306-i2c 0.1.5... [INFO] testing ssd1306-i2c-0.1.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ssd1306-i2c 0.1.5 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ssd1306-i2c 0.1.5 [INFO] finished tweaking crates.io crate ssd1306-i2c 0.1.5 [INFO] tweaked toml for crates.io crate ssd1306-i2c 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ssd1306-i2c 0.1.5 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] crate crates.io crate ssd1306-i2c 0.1.5 already has a lockfile, it will not be regenerated [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 85e1ecaf1dcc8959b471598b07483a224f833eaec2f79711e19de23aa7448705 [INFO] running `Command { std: "docker" "start" "-a" "85e1ecaf1dcc8959b471598b07483a224f833eaec2f79711e19de23aa7448705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e1ecaf1dcc8959b471598b07483a224f833eaec2f79711e19de23aa7448705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e1ecaf1dcc8959b471598b07483a224f833eaec2f79711e19de23aa7448705", kill_on_drop: false }` [INFO] [stdout] 85e1ecaf1dcc8959b471598b07483a224f833eaec2f79711e19de23aa7448705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 468c022bc897e89a473847776339bb7c6478bfecd3b250185a3cd56262ced2a5 [INFO] running `Command { std: "docker" "start" "-a" "468c022bc897e89a473847776339bb7c6478bfecd3b250185a3cd56262ced2a5", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling ssd1306-i2c v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/builder.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay::DelayNs` [INFO] [stdout] --> src/interface/i2c.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_hal::{delay::DelayNs, i2c::I2c, i2c::ErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interface/i2c.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (cmds.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - if (cmds.len() == 1) { [INFO] [stdout] 40 + if cmds.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interface/i2c.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | } else if (cmds.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - } else if (cmds.len() > 1) { [INFO] [stdout] 42 + } else if cmds.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "468c022bc897e89a473847776339bb7c6478bfecd3b250185a3cd56262ced2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468c022bc897e89a473847776339bb7c6478bfecd3b250185a3cd56262ced2a5", kill_on_drop: false }` [INFO] [stdout] 468c022bc897e89a473847776339bb7c6478bfecd3b250185a3cd56262ced2a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bc6236b44ceac5712ccb05388b62f9a44d8be99cf80c985e4bc1b4cae9e6078e [INFO] running `Command { std: "docker" "start" "-a" "bc6236b44ceac5712ccb05388b62f9a44d8be99cf80c985e4bc1b4cae9e6078e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/builder.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay::DelayNs` [INFO] [stdout] --> src/interface/i2c.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_hal::{delay::DelayNs, i2c::I2c, i2c::ErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interface/i2c.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (cmds.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - if (cmds.len() == 1) { [INFO] [stdout] 40 + if cmds.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interface/i2c.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | } else if (cmds.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - } else if (cmds.len() > 1) { [INFO] [stdout] 42 + } else if cmds.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ssd1306-i2c v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> examples/simple-text.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use esp_idf_hal::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` 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 `esp_idf_hal` [INFO] [stdout] --> examples/simple-text.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use esp_idf_hal::prelude::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/builder.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay::DelayNs` [INFO] [stdout] --> src/interface/i2c.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_hal::{delay::DelayNs, i2c::I2c, i2c::ErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interface/i2c.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if (cmds.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - if (cmds.len() == 1) { [INFO] [stdout] 40 + if cmds.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interface/i2c.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | } else if (cmds.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - } else if (cmds.len() > 1) { [INFO] [stdout] 42 + } else if cmds.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/simple-text.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` 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 `embedded_graphics` [INFO] [stdout] --> examples/simple-text.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_graphics` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 53 | use embedded_graphics_core::{ [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_idf_sys` [INFO] [stdout] --> examples/simple-text.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | use esp_idf_sys::{self as _}; [INFO] [stdout] | ^^^^^^^^^ no external crate `esp_idf_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] --> examples/simple-text.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | esp_idf_svc::sys::link_patches(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_svc`, use `cargo add esp_idf_svc` 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 `esp_idf_svc` [INFO] [stdout] --> examples/simple-text.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | esp_idf_svc::log::EspLogger::initialize_default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_svc`, use `cargo add esp_idf_svc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> examples/simple-text.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | Text::with_baseline("Hello world!.........", Point::zero(), text_style_bold, Baseline::Top) [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 43 + use embedded_graphics_core::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> examples/simple-text.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | Text::with_baseline("Hello Rust!", Point::new(0, 19), text_style, Baseline::Top) [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 43 + use embedded_graphics_core::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> examples/simple-text.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | Text::with_baseline("SH1106 crate modified", Point::new(0, 31), text_style, Baseline::Top) [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 43 + use embedded_graphics_core::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> examples/simple-text.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 125 | Text::with_baseline("for SSD1306 use", Point::new(0, 43), text_style, Baseline::Top) [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 43 + use embedded_graphics_core::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> examples/simple-text.rs:128:47 [INFO] [stdout] | [INFO] [stdout] 128 | Text::with_baseline("embedded-hal 1.0 !", Point::new(0, 56), text_style, Baseline::Top) [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 43 + use embedded_graphics_core::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `kHz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/simple-text.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | let config = I2cConfig::new().baudrate(100.kHz().into()); // works ok at 400 kHz with short bus length [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306-i2c` (example "simple-text") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bc6236b44ceac5712ccb05388b62f9a44d8be99cf80c985e4bc1b4cae9e6078e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6236b44ceac5712ccb05388b62f9a44d8be99cf80c985e4bc1b4cae9e6078e", kill_on_drop: false }` [INFO] [stdout] bc6236b44ceac5712ccb05388b62f9a44d8be99cf80c985e4bc1b4cae9e6078e