[INFO] fetching crate ssd1306 0.10.0... [INFO] checking ssd1306-0.10.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ssd1306 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate ssd1306 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ssd1306 0.10.0 [INFO] tweaked toml for crates.io crate ssd1306 0.10.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ssd1306 0.10.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ssd1306 0.10.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c5ce91bd4ea6129b40c23d7f92058bfd5db83138b67eef2d33b42bbb35d1679 [INFO] running `Command { std: "docker" "start" "-a" "0c5ce91bd4ea6129b40c23d7f92058bfd5db83138b67eef2d33b42bbb35d1679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c5ce91bd4ea6129b40c23d7f92058bfd5db83138b67eef2d33b42bbb35d1679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c5ce91bd4ea6129b40c23d7f92058bfd5db83138b67eef2d33b42bbb35d1679", kill_on_drop: false }` [INFO] [stdout] 0c5ce91bd4ea6129b40c23d7f92058bfd5db83138b67eef2d33b42bbb35d1679 [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac64ea431a8b22098fb65eb83d39dde096f6d7125413e87e03b6031a4f9e9c87 [INFO] running `Command { std: "docker" "start" "-a" "ac64ea431a8b22098fb65eb83d39dde096f6d7125413e87e03b6031a4f9e9c87", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling pulldown-cmark v0.11.2 [INFO] [stderr] Checking display-interface v0.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking display-interface-spi v0.5.0 [INFO] [stderr] Checking display-interface-i2c v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Compiling maybe-async-cfg v0.2.4 [INFO] [stderr] Checking ssd1306 v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/graphics.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/graphics.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/graphics.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/graphics.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use embassy_stm32::{ [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_stm32` [INFO] [stdout] --> examples/graphics.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use embassy_stm32::{ [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 `panic_probe` [INFO] [stdout] --> examples/graphics.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/graphics.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] 50 + let spi = embedded_hal::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/text_i2c.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [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/graphics.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let p = embassy_stm32::init(Default::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 `cortex_m` [INFO] [stdout] --> examples/pixelsquare.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` 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_time` [INFO] [stdout] --> examples/graphics.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | .reset(&mut rst, &mut 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "graphics") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/graphics_i2c_128x32.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/dvd.bmp`: No such file or directory (os error 2) [INFO] [stdout] --> examples/rtic_dvd.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | let bmp = Bmp::from_slice(include_bytes!("dvd.bmp")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/text_i2c.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/text_i2c.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/rotation_i2c.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/./rust.bmp`: No such file or directory (os error 2) [INFO] [stdout] --> examples/bmp_i2c.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let bmp = Bmp::from_slice(include_bytes!("./rust.bmp")).expect("Failed to load BMP image"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/bmp_i2c.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` 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/rtic_dvd.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use embassy_stm32::pac::*; [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: couldn't read `examples/dvd.bmp`: No such file or directory (os error 2) [INFO] [stdout] --> examples/rtic_brightness.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | let bmp = Bmp::from_slice(include_bytes!("dvd.bmp")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/image_i2c.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/terminal_i2c.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/terminal_i2c.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/terminal_i2c.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/terminal_i2c.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rtic_brightness.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use embassy_stm32::pac::*; [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 `defmt_rtt` [INFO] [stdout] --> examples/text_i2c.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/text_i2c.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tinybmp` [INFO] [stdout] --> examples/rtic_dvd.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use tinybmp::Bmp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tinybmp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tinybmp`, use `cargo add tinybmp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/rtic_dvd.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rtic_dvd.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use embassy_stm32::{ [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_stm32` [INFO] [stdout] --> examples/rtic_dvd.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use embassy_stm32::{ [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/rtic_dvd.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use embassy_stm32::pac::Interrupt as interrupt; [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 `panic_probe` [INFO] [stdout] --> examples/rtic_dvd.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rtic` [INFO] [stdout] --> examples/rtic_dvd.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[rtic::app(device = crate::pac, peripherals= false, dispatchers = [EXTI0])] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> examples/rtic_dvd.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> examples/rtic_dvd.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/rtic_dvd.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/rtic_dvd.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[task(binds = TIM1_UP, local = [display, top_left, velocity, timer, bmp ])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/rtic_dvd.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | embedded_hal_bus::spi::ExclusiveDevice< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 40 - embedded_hal_bus::spi::ExclusiveDevice< [INFO] [stdout] 40 + embedded_hal::spi::ExclusiveDevice< [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/rtic_dvd.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | embedded_hal_bus::spi::NoDelay, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - embedded_hal_bus::spi::NoDelay, [INFO] [stdout] 43 + embedded_hal::spi::NoDelay, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/graphics_i2c_72x40.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` 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/rtic_dvd.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | timer: Timer<'static, embassy_stm32::peripherals::TIM1>, [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/rtic_dvd.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | config.rcc.hse = Some(embassy_stm32::rcc::Hse { [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/rtic_dvd.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | mode: embassy_stm32::rcc::HseMode::Oscillator, [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/rtic_dvd.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | config.rcc.sys = embassy_stm32::rcc::Sysclk::PLL1_P; [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/rtic_dvd.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | config.rcc.pll = Some(embassy_stm32::rcc::Pll { [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/terminal_i2c.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 20 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 51 + let i2c = I2c::new_blocking( [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/rtic_dvd.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | src: embassy_stm32::rcc::PllSource::HSE, [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 `cortex_m_rt` [INFO] [stdout] --> examples/pixelsquare.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/pixelsquare.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/pixelsquare.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use embassy_stm32::{ [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/rtic_dvd.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | prediv: embassy_stm32::rcc::PllPreDiv::DIV1, [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/rtic_dvd.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | mul: embassy_stm32::rcc::PllMul::MUL9, // 8 * 9 = 72Mhz [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/rtic_dvd.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | config.rcc.apb1_pre = embassy_stm32::rcc::APBPrescaler::DIV2; [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 `embedded_hal_bus` [INFO] [stdout] --> examples/rtic_dvd.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 87 - let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] 87 + let spi = embedded_hal::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/graphics_i2c_128x32.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/graphics_i2c_128x32.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 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: `#[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/rtic_dvd.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | 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: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic_dvd.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | init::Monotonics(), [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/graphics_i2c_128x32.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/graphics_i2c_128x32.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_stm32` [INFO] [stdout] --> examples/pixelsquare.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use embassy_stm32::{ [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 `panic_probe` [INFO] [stdout] --> examples/pixelsquare.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/rotation_i2c.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/rotation_i2c.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 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] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/rotation_i2c.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/rotation_i2c.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/terminal_i2c.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let p = embassy_stm32::init(Default::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: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic_dvd.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | fn init(_cx: init::Context) -> (SharedResources, Resources, init::Monotonics) { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic_dvd.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | fn init(_cx: init::Context) -> (SharedResources, Resources, init::Monotonics) { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `update` is not a crate or module [INFO] [stdout] --> examples/rtic_dvd.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let update::LocalResources { [INFO] [stdout] | ^^^^^^ function `update` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_time` [INFO] [stdout] --> examples/rtic_dvd.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | .reset(&mut rst, &mut 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: function `update` is not a crate or module [INFO] [stdout] --> examples/rtic_dvd.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn update(cx: update::Context) { [INFO] [stdout] | ^^^^^^ function `update` is not a crate or module [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/graphics_i2c_128x32.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 20 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 56 + let i2c = I2c::new_blocking( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/image_i2c.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/image_i2c.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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] error[E0432]: unresolved import `tinybmp` [INFO] [stdout] --> examples/rtic_brightness.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use tinybmp::Bmp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tinybmp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tinybmp`, use `cargo add tinybmp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/rtic_brightness.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rtic_brightness.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use embassy_stm32::{ [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 `defmt_rtt` [INFO] [stdout] --> examples/image_i2c.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/image_i2c.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_stm32` [INFO] [stdout] --> examples/rtic_brightness.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use embassy_stm32::{ [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/rtic_brightness.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | pub use embassy_stm32::pac::Interrupt as interrupt; [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 `panic_probe` [INFO] [stdout] --> examples/rtic_brightness.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rtic` [INFO] [stdout] --> examples/rtic_brightness.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[rtic::app(device = crate::pac, peripherals= false, dispatchers = [EXTI0])] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/graphics_i2c_72x40.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` to add it to your `Cargo.toml` [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/graphics_i2c_72x40.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/graphics_i2c_72x40.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/graphics_i2c_72x40.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/graphics_i2c_128x32.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let p = embassy_stm32::init(Default::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/graphics_i2c_72x40.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 20 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 56 + let i2c = I2c::new_blocking( [INFO] [stdout] | [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rotation_i2c.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 26 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 62 + let i2c = I2c::new_blocking( [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/image_i2c.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 26 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 63 + let i2c = I2c::new_blocking( [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: `#[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 `rand` [INFO] [stdout] --> examples/noise_i2c.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/bmp_i2c.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/graphics_i2c_72x40.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let p = embassy_stm32::init(Default::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/rotation_i2c.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let p = embassy_stm32::init(Default::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/bmp_i2c.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/text_i2c.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 21 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 58 + let i2c = I2c::new_blocking( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/bmp_i2c.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/bmp_i2c.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tinybmp` [INFO] [stdout] --> examples/bmp_i2c.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use tinybmp::Bmp; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tinybmp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tinybmp`, use `cargo add tinybmp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> examples/rtic_brightness.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> examples/rtic_brightness.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/pixelsquare.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 46 - let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] 46 + let spi = embedded_hal::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "rtic_dvd") due to 34 previous errors [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/text_i2c.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let p = embassy_stm32::init(Default::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 `ssd1306` (example "terminal_i2c") due to 8 previous errors [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/rtic_brightness.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [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/image_i2c.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let p = embassy_stm32::init(Default::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] 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] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/rtic_brightness.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[task(binds = TIM1_UP, local = [display, top_left, velocity, timer, bmp, brightness])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/rtic_brightness.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | embedded_hal_bus::spi::ExclusiveDevice< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 39 - embedded_hal_bus::spi::ExclusiveDevice< [INFO] [stdout] 39 + embedded_hal::spi::ExclusiveDevice< [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/noise_i2c.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/noise_i2c.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/graphics_i2c.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cortex_m::asm::nop; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/noise_i2c.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [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/pixelsquare.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let p = embassy_stm32::init(Default::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[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/noise_i2c.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/rtic_brightness.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | embedded_hal_bus::spi::NoDelay, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - embedded_hal_bus::spi::NoDelay, [INFO] [stdout] 42 + embedded_hal::spi::NoDelay, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "rotation_i2c") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/bmp_i2c.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 24 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 58 + let i2c = I2c::new_blocking( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "graphics_i2c_128x32") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/noise_i2c.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 22 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 54 + let i2c = I2c::new_blocking( [INFO] [stdout] | [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 `ssd1306` (example "text_i2c") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/bmp_i2c.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | let p: embassy_stm32::Peripherals = embassy_stm32::init(Default::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 `ssd1306` (example "graphics_i2c_72x40") due to 9 previous errors [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/noise_i2c.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let p = embassy_stm32::init(Default::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 undeclared type `SmallRng` [INFO] [stdout] --> examples/noise_i2c.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut rng = SmallRng::seed_from_u64(0xdead_beef_cafe_d00d); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SmallRng` [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rtic_brightness.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | timer: Timer<'static, embassy_stm32::peripherals::TIM1>, [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] 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/bmp_i2c.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | let p: embassy_stm32::Peripherals = embassy_stm32::init(Default::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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "noise_i2c") due to 10 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/graphics_i2c.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` 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/graphics_i2c.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/graphics_i2c.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use defmt_rtt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/graphics_i2c.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_time` [INFO] [stdout] --> examples/pixelsquare.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | .reset(&mut rst, &mut 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "image_i2c") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/graphics_i2c.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let i2c = embassy_stm32::i2c::I2c::new_blocking( [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 this trait [INFO] [stdout] | [INFO] [stdout] 20 + use embedded_hal::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `I2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let i2c = embassy_stm32::i2c::I2c::new_blocking( [INFO] [stdout] 56 + let i2c = I2c::new_blocking( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "bmp_i2c") due to 12 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rtic_brightness.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | config.rcc.hse = Some(embassy_stm32::rcc::Hse { [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: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1306` (example "pixelsquare") due to 11 previous errors [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/rtic_brightness.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | mode: embassy_stm32::rcc::HseMode::Oscillator, [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/graphics_i2c.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let p = embassy_stm32::init(Default::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/rtic_brightness.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | config.rcc.sys = embassy_stm32::rcc::Sysclk::PLL1_P; [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/rtic_brightness.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | config.rcc.pll = Some(embassy_stm32::rcc::Pll { [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/rtic_brightness.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | src: embassy_stm32::rcc::PllSource::HSE, [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/rtic_brightness.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | prediv: embassy_stm32::rcc::PllPreDiv::DIV1, [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] 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] --> examples/rtic_brightness.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | mul: embassy_stm32::rcc::PllMul::MUL9, // 8 * 9 = 72Mhz [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/rtic_brightness.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | config.rcc.apb1_pre = embassy_stm32::rcc::APBPrescaler::DIV2; [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 `ssd1306` (example "graphics_i2c") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/rtic_brightness.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 87 - let spi = embedded_hal_bus::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [INFO] [stdout] 87 + let spi = embedded_hal::spi::ExclusiveDevice::new_no_delay(spi, cs).unwrap(); [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/rtic_brightness.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | 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: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic_brightness.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | init::Monotonics(), [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic_brightness.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | fn init(_cx: init::Context) -> (SharedResources, Resources, init::Monotonics) { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic_brightness.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | fn init(_cx: init::Context) -> (SharedResources, Resources, init::Monotonics) { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `update` is not a crate or module [INFO] [stdout] --> examples/rtic_brightness.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let update::LocalResources { [INFO] [stdout] | ^^^^^^ function `update` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_time` [INFO] [stdout] --> examples/rtic_brightness.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | .reset(&mut rst, &mut 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: function `update` is not a crate or module [INFO] [stdout] --> examples/rtic_brightness.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn update(cx: update::Context) { [INFO] [stdout] | ^^^^^^ function `update` is not a crate or module [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] [stderr] error: could not compile `ssd1306` (example "rtic_brightness") due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "ac64ea431a8b22098fb65eb83d39dde096f6d7125413e87e03b6031a4f9e9c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac64ea431a8b22098fb65eb83d39dde096f6d7125413e87e03b6031a4f9e9c87", kill_on_drop: false }` [INFO] [stdout] ac64ea431a8b22098fb65eb83d39dde096f6d7125413e87e03b6031a4f9e9c87