[INFO] fetching crate oled_async 0.2.0... [INFO] checking oled_async-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate oled_async 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking crates.io crate oled_async 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate oled_async 0.2.0 [INFO] tweaked toml for crates.io crate oled_async 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oled_async 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oled_async 0.2.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9719275369dd19ca47c23c5d5c13fe18481492f0211a92140f7aa6832df820b2 [INFO] running `Command { std: "docker" "start" "-a" "9719275369dd19ca47c23c5d5c13fe18481492f0211a92140f7aa6832df820b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9719275369dd19ca47c23c5d5c13fe18481492f0211a92140f7aa6832df820b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9719275369dd19ca47c23c5d5c13fe18481492f0211a92140f7aa6832df820b2", kill_on_drop: false }` [INFO] [stdout] 9719275369dd19ca47c23c5d5c13fe18481492f0211a92140f7aa6832df820b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10ccc3eff48d8fd56925b589598362852928bb794e218a0cbbd4c7857b0f000a [INFO] running `Command { std: "docker" "start" "-a" "10ccc3eff48d8fd56925b589598362852928bb794e218a0cbbd4c7857b0f000a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling embassy-time-queue-driver v0.1.0 [INFO] [stderr] Compiling embassy-time-driver v0.1.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking display-interface v0.5.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling cortex-m-rtic v0.5.9 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling oled_async v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling defmt-rtt v0.4.2 [INFO] [stderr] Compiling embassy-executor v0.5.1 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking display-interface-spi v0.5.0 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking display-interface-i2c v0.5.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.3 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling embassy-executor-macros v0.4.2 [INFO] [stderr] Checking defmt v0.3.100 [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::v2` [INFO] [stdout] --> src/builder.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^ could not find `v2` in `digital` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `board` in `bsp` [INFO] [stdout] --> examples/image.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let (di, mut reset, mut delay) = bsp::board::get_board(); [INFO] [stdout] | ^^^^^ could not find `board` in `bsp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/bsp.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "embassy-stm32")] [INFO] [stdout] | ------------------------- the item is gated behind the `embassy-stm32` feature [INFO] [stdout] 6 | pub mod board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `bsp` [INFO] [stdout] --> examples/bsp.rs:97:2 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/bsp.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `board` in `bsp` [INFO] [stdout] --> examples/pixelsquare.rs:30:43 [INFO] [stdout] | [INFO] [stdout] 30 | let (di, mut reset, mut delay) = bsp::board::get_board(); [INFO] [stdout] | ^^^^^ could not find `board` in `bsp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/bsp.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "embassy-stm32")] [INFO] [stdout] | ------------------------- the item is gated behind the `embassy-stm32` feature [INFO] [stdout] 6 | pub mod board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oled_async` (example "bsp") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `oled_async` (example "image") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use embassy_stm32::time::Hertz; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oled_async` (example "pixelsquare") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use embassy_stm32::{bind_interrupts, Config}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use embassy_stm32::gpio::{Level, Output, Speed}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use embassy_stm32::time::mhz; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use embassy_stm32::rcc::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_time` [INFO] [stdout] --> examples/i2c.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use embassy_time::Delay; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_time`, use `cargo add embassy_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use embassy_stm32::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use embassy_stm32::rcc::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_time` [INFO] [stdout] --> examples/spi.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use embassy_time::Delay; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_time`, use `cargo add embassy_time` 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 `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | let mut spi_config = embassy_stm32::spi::Config::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let spi = embassy_stm32::spi::Spi::new( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `embedded_hal_bus::spi::DeviceError::Spi`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 63 - let spi = embassy_stm32::spi::Spi::new( [INFO] [stdout] 63 + let spi = embedded_hal_bus::spi::DeviceError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sysclk` [INFO] [stdout] --> examples/spi.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | config.rcc.sys = Sysclk::HSI; [INFO] [stdout] | ^^^^^^ use of undeclared type `Sysclk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/spi.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let p = embassy_stm32::init(config); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `board` in `bsp` [INFO] [stdout] --> examples/graphics.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | let (di, mut reset, mut delay) = bsp::board::get_board(); [INFO] [stdout] | ^^^^^ could not find `board` in `bsp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/bsp.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "embassy-stm32")] [INFO] [stdout] | ------------------------- the item is gated behind the `embassy-stm32` feature [INFO] [stdout] 6 | pub mod board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oled_async` (example "spi") due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let mut i2c_cfg = embassy_stm32::i2c::Config::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oled_async` (example "graphics") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | embassy_stm32::peripherals::I2C2, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `board` in `bsp` [INFO] [stdout] --> examples/rotation.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let (di, mut reset, mut delay) = bsp::board::get_board(); [INFO] [stdout] | ^^^^^ could not find `board` in `bsp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/bsp.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "embassy-stm32")] [INFO] [stdout] | ------------------------- the item is gated behind the `embassy-stm32` feature [INFO] [stdout] 6 | pub mod board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | embassy_stm32::mode::Async, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | type I2c = embassy_stm32::i2c::I2c< [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 22 + use embedded_hal::i2c; [INFO] [stdout] | [INFO] [stdout] 22 + use embedded_hal_async::i2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `i2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - type I2c = embassy_stm32::i2c::I2c< [INFO] [stdout] 57 + type I2c = i2c::I2c< [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let i2c: I2c = embassy_stm32::i2c::I2c::new( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 22 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] 22 + use embedded_hal_async::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - let i2c: I2c = embassy_stm32::i2c::I2c::new( [INFO] [stdout] 63 + let i2c: I2c = I2c::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Irqs` in this scope [INFO] [stdout] --> examples/i2c.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Irqs, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sysclk` [INFO] [stdout] --> examples/i2c.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | config.rcc.sys = Sysclk::HSI; [INFO] [stdout] | ^^^^^^ use of undeclared type `Sysclk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/i2c.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let p = embassy_stm32::init(config); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oled_async` (example "rotation") due to 3 previous errors [INFO] [stderr] error: could not compile `oled_async` (lib test) due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oled_async` (example "i2c") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "10ccc3eff48d8fd56925b589598362852928bb794e218a0cbbd4c7857b0f000a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ccc3eff48d8fd56925b589598362852928bb794e218a0cbbd4c7857b0f000a", kill_on_drop: false }` [INFO] [stdout] 10ccc3eff48d8fd56925b589598362852928bb794e218a0cbbd4c7857b0f000a