[INFO] fetching crate stm32f0xx-hal 0.17.1... [INFO] checking stm32f0xx-hal-0.17.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate stm32f0xx-hal 0.17.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate stm32f0xx-hal 0.17.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking crates.io crate stm32f0xx-hal 0.17.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate stm32f0xx-hal 0.17.1 [INFO] tweaked toml for crates.io crate stm32f0xx-hal 0.17.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate stm32f0xx-hal 0.17.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.39 [INFO] [stderr] Downloaded stm32f0 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98dbfe000cd4e2ddf5c0b64201042220a73ae09bd8a258853fe26d0b3ccb5049 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "98dbfe000cd4e2ddf5c0b64201042220a73ae09bd8a258853fe26d0b3ccb5049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98dbfe000cd4e2ddf5c0b64201042220a73ae09bd8a258853fe26d0b3ccb5049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98dbfe000cd4e2ddf5c0b64201042220a73ae09bd8a258853fe26d0b3ccb5049", kill_on_drop: false }` [INFO] [stdout] 98dbfe000cd4e2ddf5c0b64201042220a73ae09bd8a258853fe26d0b3ccb5049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f44fc74cec25f44adb0c00b865fe9d911b1df6c8a91d227b8e36d7fe488f74a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4f44fc74cec25f44adb0c00b865fe9d911b1df6c8a91d227b8e36d7fe488f74a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling stm32f0 v0.11.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking usb-device v0.2.5 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking usbd-serial v0.1.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking stm32f0xx-hal v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::delay`, `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/blinky_multiple.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{delay::Delay, pac, prelude::*}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | | [INFO] [stdout] | | no `pac` in the root [INFO] [stdout] | could not find `delay` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::pac`, `crate::hal::prelude`, `crate::hal::serial`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/serial_echo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{pac, prelude::*, serial::Serial}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^ could not find `serial` in `hal` [INFO] [stdout] | | | [INFO] [stdout] | | could not find `prelude` in `hal` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_multiple.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/blinky.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{pac, prelude::*}; [INFO] [stdout] | ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f0xx-hal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::adc`, `crate::hal::delay`, `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/blinky_adc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{adc::Adc, delay::Delay, pac, prelude::*}; [INFO] [stdout] | ^^^ ^^^^^ ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `pac` in the root [INFO] [stdout] | | could not find `delay` in `hal` [INFO] [stdout] | could not find `adc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::gpio`, `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/flash_systick.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{gpio::*, pac, prelude::*}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | | [INFO] [stdout] | | no `pac` in the root [INFO] [stdout] | could not find `gpio` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::delay`, `crate::hal::pac`, `crate::hal::prelude`, `crate::hal::serial`, `crate::hal::time`, `crate::hal::watchdog`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/watchdog.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{delay::Delay, pac, prelude::*, serial::Serial, time::Hertz, watchdog::Watchdog}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^ could not find `watchdog` in `hal` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | could not find `time` in `hal` [INFO] [stdout] | | | | could not find `serial` in `hal` [INFO] [stdout] | | | could not find `prelude` in `hal` [INFO] [stdout] | | no `pac` in the root [INFO] [stdout] | could not find `delay` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::gpio`, `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/flash_systick_fancier.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{gpio::*, pac, prelude::*}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | | [INFO] [stdout] | | no `pac` in the root [INFO] [stdout] | could not find `gpio` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::i2c`, `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/i2c_find_address.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{i2c::I2c, pac, prelude::*}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | | [INFO] [stdout] | | no `pac` in the root [INFO] [stdout] | could not find `i2c` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::pac`, `crate::hal::prelude`, `crate::hal::serial`, `crate::hal::spi`, `crate::hal::spi`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/serial_spi_bridge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pac, [INFO] [stdout] | ^^^ no `pac` in the root [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] 11 | serial::Serial, [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [INFO] [stdout] 12 | spi::Spi, [INFO] [stdout] | ^^^ could not find `spi` in `hal` [INFO] [stdout] 13 | spi::{Mode, Phase, Polarity}, [INFO] [stdout] | ^^^ could not find `spi` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/adc_values.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{pac, prelude::*}; [INFO] [stdout] | ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::pac`, `crate::hal::prelude`, `crate::hal::spi`, `crate::hal::spi`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/spi_hal_apa102c.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pac, [INFO] [stdout] | ^^^ no `pac` in the root [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] 11 | spi::Spi, [INFO] [stdout] | ^^^ could not find `spi` in `hal` [INFO] [stdout] 12 | spi::{Mode, Phase, Polarity}, [INFO] [stdout] | ^^^ could not find `spi` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::pac`, `crate::hal::prelude`, `crate::hal::time`, `crate::hal::timers`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/blinky_timer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{pac, prelude::*, time::Hertz, timers::*}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^ ^^^^^^ could not find `timers` in `hal` [INFO] [stdout] | | | | [INFO] [stdout] | | | could not find `time` in `hal` [INFO] [stdout] | | could not find `prelude` in `hal` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `adc` in `hal` [INFO] [stdout] --> examples/adc_values.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | adc: hal::adc::Adc, [INFO] [stdout] | ^^^ could not find `adc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serial` in `hal` [INFO] [stdout] --> examples/adc_values.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | tx: hal::serial::Tx, [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_adc.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpiob` [INFO] [stdout] --> examples/flash_systick_fancier.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | type LEDPIN = gpiob::PB3>; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `gpiob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> examples/flash_systick_fancier.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | type LEDPIN = gpiob::PB3>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> examples/flash_systick_fancier.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | type LEDPIN = gpiob::PB3>; [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpioa` [INFO] [stdout] --> examples/flash_systick.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> examples/flash_systick.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> examples/flash_systick.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serial` in `hal` [INFO] [stdout] --> examples/adc_values.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | hal::serial::Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), &mut rcc).split(); [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `adc` in `hal` [INFO] [stdout] --> examples/adc_values.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | let adc = hal::adc::Adc::new(p.ADC, &mut rcc); [INFO] [stdout] | ^^^ could not find `adc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `adc` in `hal` [INFO] [stdout] --> examples/adc_values.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let t = hal::adc::VTemp::read(&mut shared.adc, None); [INFO] [stdout] | ^^^ could not find `adc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `adc` in `hal` [INFO] [stdout] --> examples/adc_values.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let t = hal::adc::VRef::read_vdda(&mut shared.adc); [INFO] [stdout] | ^^^ could not find `adc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in `hal` [INFO] [stdout] --> examples/adc_values.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | hal::pac::Peripherals::take(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `hal::pac` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/blinky_timer.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut timer = Timer::tim1(p.TIM1, Hertz(1), &mut rcc); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::delay`, `crate::hal::pac`, `crate::hal::prelude`, `panic_halt`, `stm32f0xx_hal` [INFO] [stdout] --> examples/blinky_delay.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use stm32f0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::hal::{delay::Delay, pac, prelude::*}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^ could not find `prelude` in `hal` [INFO] [stdout] | | | [INFO] [stdout] | | no `pac` in the root [INFO] [stdout] | could not find `delay` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/flash_systick_fancier.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | let mut rcc = p.RCC.configure().sysclk(48.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_echo.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut rcc = p.RCC.configure().sysclk(48.mhz()).freeze(&mut flash); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_echo.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | let mut serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/i2c_find_address.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 100.khz(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/adc_values.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut flash); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/adc_values.rs:54:73 [INFO] [stdout] | [INFO] [stdout] 54 | hal::serial::Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), &mut rcc).split(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/watchdog.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut flash); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_spi_bridge.rs:52:68 [INFO] [stdout] | [INFO] [stdout] 52 | let mut spi = Spi::spi1(p.SPI1, (sck, miso, mosi), MODE, 1.mhz(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> examples/adc_values.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use core::{cell::RefCell, fmt::Write}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/flash_systick.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let mut rcc = p.RCC.configure().sysclk(48.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/watchdog.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | let mut serial = Serial::usart1tx(p.USART1, tx, 115_200.bps(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> examples/watchdog.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_spi_bridge.rs:54:65 [INFO] [stdout] | [INFO] [stdout] 54 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::DerefMut` [INFO] [stdout] --> examples/flash_systick.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/spi_hal_apa102c.rs:40:74 [INFO] [stdout] | [INFO] [stdout] 40 | let mut spi = Spi::spi1(p.SPI1, (sck, miso, mosi), MODE, 100_000.hz(), &mut rcc); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_timer.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_delay.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | let mut rcc = p.RCC.configure().sysclk(8.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4f44fc74cec25f44adb0c00b865fe9d911b1df6c8a91d227b8e36d7fe488f74a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f44fc74cec25f44adb0c00b865fe9d911b1df6c8a91d227b8e36d7fe488f74a", kill_on_drop: false }` [INFO] [stdout] 4f44fc74cec25f44adb0c00b865fe9d911b1df6c8a91d227b8e36d7fe488f74a