[INFO] crate stm32wb-hal 0.1.2 is already in cache [INFO] testing stm32wb-hal-0.1.2 against 1.45.2 for beta-1.46-1 [INFO] extracting crate stm32wb-hal 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate stm32wb-hal 0.1.2 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking crates.io crate stm32wb-hal 0.1.2 [INFO] finished tweaking crates.io crate stm32wb-hal 0.1.2 [INFO] tweaked toml for crates.io crate stm32wb-hal 0.1.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate stm32wb-hal 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd95dc5781d496ba73158d687d2e177e4d418f236b106e1a18c6d5577bcdcb3f [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" "dd95dc5781d496ba73158d687d2e177e4d418f236b106e1a18c6d5577bcdcb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd95dc5781d496ba73158d687d2e177e4d418f236b106e1a18c6d5577bcdcb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd95dc5781d496ba73158d687d2e177e4d418f236b106e1a18c6d5577bcdcb3f", kill_on_drop: false }` [INFO] [stdout] dd95dc5781d496ba73158d687d2e177e4d418f236b106e1a18c6d5577bcdcb3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2bdda56e949bcda938e485bfd916a7bb56a0f70dc8d93ce3f6a30e17549d827 [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" "a2bdda56e949bcda938e485bfd916a7bb56a0f70dc8d93ce3f6a30e17549d827", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32wb-pac v0.2.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32-device-signature v0.3.0 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling heapless v0.5.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling stm32wb-hal v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bit_field v0.10.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rtc.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | (tmp + (value & 0x0F)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "a2bdda56e949bcda938e485bfd916a7bb56a0f70dc8d93ce3f6a30e17549d827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2bdda56e949bcda938e485bfd916a7bb56a0f70dc8d93ce3f6a30e17549d827", kill_on_drop: false }` [INFO] [stdout] a2bdda56e949bcda938e485bfd916a7bb56a0f70dc8d93ce3f6a30e17549d827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dcca3b1916e34c853703d3d0df2b02ea96e144862211779f437fd45da284ad9 [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" "9dcca3b1916e34c853703d3d0df2b02ea96e144862211779f437fd45da284ad9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.1 [INFO] [stderr] Compiling usb-device v0.2.5 [INFO] [stderr] Compiling rtfm-core v0.3.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling panic-semihosting v0.5.3 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rtc.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | (tmp + (value & 0x0F)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling usbd-serial v0.1.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Compiling stm32wb-hal v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::hal::dma` [INFO] [stdout] --> examples/serial_dma.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::hal::dma::Half; [INFO] [stdout] | ^^^ could not find `dma` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial` [INFO] [stdout] --> examples/serial_dma.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::hal::serial::Serial; [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial` [INFO] [stdout] --> examples/pll_config.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::hal::serial::Serial; [INFO] [stdout] | ^^^^^^ could not find `serial` 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 import `crate::hal::serial` [INFO] [stdout] --> examples/serial_vcom.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::hal::serial::Serial; [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal::tsc` [INFO] [stdout] --> examples/touch.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::hal::tsc::Tsc; [INFO] [stdout] | ^^^ could not find `tsc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial` [INFO] [stdout] --> examples/serial.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::hal::serial::Serial; [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [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] [stderr] error: could not compile `stm32wb-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: 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[E0432]: unresolved import `crate::hal::serial` [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::hal::serial::Serial; [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal::dma` [INFO] [stdout] --> examples/serial_dma_us2.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::hal::dma::Half; [INFO] [stdout] | ^^^ could not find `dma` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal::serial` [INFO] [stdout] --> examples/serial_dma_us2.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::hal::serial::Serial; [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [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[E0432]: unresolved import `crate::hal::spi` [INFO] [stdout] --> examples/spi_write.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::hal::spi::Spi; [INFO] [stdout] | ^^^ could not find `spi` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/serial_dma.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 22 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `hal::stm32wb_pac::DMA1` in the current scope [INFO] [stdout] --> examples/serial_dma.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let channels = p.DMA1.split(&mut rcc.ahb1); [INFO] [stdout] | ^^^^^ method not found in `hal::stm32wb_pac::DMA1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let channels = p.DMA1.split(&mut rcc.ahb1); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma.rs:52:83 [INFO] [stdout] | [INFO] [stdout] 52 | let serial = Serial::usart1(p.USART1, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::usb` [INFO] [stdout] --> examples/usb_serial.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::usb::{Peripheral, UsbBus}; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 22 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `usb_serial` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/serial_vcom.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 20 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/serial.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 20 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_vcom.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | let mut gpiod = p.GPIOD.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_vcom.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `hal::stm32wb_pac::DMA1` in the current scope [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let channels = p.DMA1.split(&mut rcc.ahb1); [INFO] [stdout] | ^^^^^ method not found in `hal::stm32wb_pac::DMA1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | let channels = p.DMA1.split(&mut rcc.ahb1); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `USART2` on type `hal::stm32wb_pac::Peripherals` [INFO] [stdout] --> examples/serial_vcom.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let serial = Serial::usart2(p.USART2, (tx, rx), 115_200.bps(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ help: a field with a similar name exists: `USART1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1r1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_vcom.rs:49:85 [INFO] [stdout] | [INFO] [stdout] 49 | let serial = Serial::usart2(p.USART2, (tx, rx), 115_200.bps(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_partial_peek.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | let serial = Serial::usart1(p.USART1, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .cfgr [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `USART2` on type `hal::stm32wb_pac::Peripherals` [INFO] [stdout] --> examples/serial.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | let serial = Serial::usart2(p.USART2, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ help: a field with a similar name exists: `USART1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/spi_write.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 14 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/spi_write.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .cfgr [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/spi_write.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1r1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial.rs:55:83 [INFO] [stdout] | [INFO] [stdout] 55 | let serial = Serial::usart2(p.USART2, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/spi_write.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let mut gpiob = p.GPIOB.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/spi_write.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | &mut rcc.apb2, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/serial_dma_us2.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 22 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/touch.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 16 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/touch.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | let mut gpiob = p.GPIOB.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/touch.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let _clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/touch.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | let tsc = Tsc::tsc(p.TSC, sample_pin, &mut rcc.ahb1, None); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_us2.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `hal::stm32wb_pac::DMA1` in the current scope [INFO] [stdout] --> examples/serial_dma_us2.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let channels = p.DMA1.split(&mut rcc.ahb1); [INFO] [stdout] | ^^^^^ method not found in `hal::stm32wb_pac::DMA1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_us2.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let channels = p.DMA1.split(&mut rcc.ahb1); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_us2.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `USART2` on type `hal::stm32wb_pac::Peripherals` [INFO] [stdout] --> examples/serial_dma_us2.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let serial = Serial::usart2(p.USART2, (tx, rx), 115200.bps(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ help: a field with a similar name exists: `USART1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1r1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/serial_dma_us2.rs:51:84 [INFO] [stdout] | [INFO] [stdout] 51 | let serial = Serial::usart2(p.USART2, (tx, rx), 115200.bps(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/pll_config.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 21 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/pll_config.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `p`, `q` in initializer of `hal::rcc::PllConfig` [INFO] [stdout] --> examples/pll_config.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let plls = PllConfig { [INFO] [stdout] | ^^^^^^^^^ missing `p`, `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/pll_config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .cfgr [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb2` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/pll_config.rs:62:83 [INFO] [stdout] | [INFO] [stdout] 62 | let serial = Serial::usart1(p.USART1, (tx, rx), 9_600.bps(), clocks, &mut rcc.apb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/rtc.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let mut flash = dp.FLASH.constrain(); // .constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 17 | use crate::hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axp173` [INFO] [stdout] --> examples/i2c_axp173.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use axp173::{AdcSampleRate, AdcSettings, Axp173, ChargingCurrent, TsPinMode}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `axp173` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/rtc.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `hal::stm32wb_pac::PWR` in the current scope [INFO] [stdout] --> examples/rtc.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let mut pwr = dp.PWR.constrain(&mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^^^^ method not found in `hal::stm32wb_pac::PWR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1r1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/rtc.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | let mut pwr = dp.PWR.constrain(&mut rcc.apb1r1); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/rtc.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let rtc = Rtc::rtc(dp.RTC, &mut rcc.apb1r1, &mut rcc.bdcr, &mut pwr.cr1, clocks); [INFO] [stdout] | ^^^^^^^^ ------ --------------- ------------- ------------ ------ supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1r1` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/rtc.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | let rtc = Rtc::rtc(dp.RTC, &mut rcc.apb1r1, &mut rcc.bdcr, &mut pwr.cr1, clocks); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bdcr` on type `hal::rcc::Rcc` [INFO] [stdout] --> examples/rtc.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | let rtc = Rtc::rtc(dp.RTC, &mut rcc.apb1r1, &mut rcc.bdcr, &mut pwr.cr1, clocks); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/rtc.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), 57.minutes(), 32.seconds(), false); [INFO] [stdout] | ^^^^^ multiple `hours` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(hal::datetime::U32Ext::hours(21), 57.minutes(), 32.seconds(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(hal::prelude::_stm32wb_hal_time_U32Ext::hours(21), 57.minutes(), 32.seconds(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/rtc.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), 57.minutes(), 32.seconds(), false); [INFO] [stdout] | ^^^^^^^ multiple `minutes` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), hal::datetime::U32Ext::minutes(57), 32.seconds(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), hal::prelude::_stm32wb_hal_time_U32Ext::minutes(57), 32.seconds(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/rtc.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), 57.minutes(), 32.seconds(), false); [INFO] [stdout] | ^^^^^^^ multiple `seconds` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), 57.minutes(), hal::datetime::U32Ext::seconds(32), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 45 | let mut time = Time::new(21.hours(), 57.minutes(), hal::prelude::_stm32wb_hal_time_U32Ext::seconds(32), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/rtc.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), 4.month(), 2018.year()); [INFO] [stdout] | ^^^ multiple `day` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(hal::datetime::U32Ext::day(1), 24.date(), 4.month(), 2018.year()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(hal::prelude::_stm32wb_hal_time_U32Ext::day(1), 24.date(), 4.month(), 2018.year()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/rtc.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), 4.month(), 2018.year()); [INFO] [stdout] | ^^^^^ multiple `month` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), hal::datetime::U32Ext::month(4), 2018.year()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), hal::prelude::_stm32wb_hal_time_U32Ext::month(4), 2018.year()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `i2c_axp173` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> examples/rtc.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), 4.month(), 2018.year()); [INFO] [stdout] | ^^^^ multiple `year` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `hal::datetime::U32Ext` for the type `u32` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `hal::prelude::_stm32wb_hal_time_U32Ext` for the type `u32` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), 4.month(), hal::datetime::U32Ext::year(2018)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 | let mut date = Date::new(1.day(), 24.date(), 4.month(), hal::prelude::_stm32wb_hal_time_U32Ext::year(2018)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0061, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32wb_pac::FLASH` in the current scope [INFO] [stdout] --> examples/pwm.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let mut flash = p.FLASH.constrain(); [INFO] [stdout] | ^^^^^^^^^ method not found in `stm32wb_pac::FLASH` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 11 | use stm32wb_hal::flash::FlashExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cfgr` on type `stm32wb_hal::rcc::Rcc` [INFO] [stdout] --> examples/pwm.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let clocks = rcc.cfgr.freeze(&mut flash.acr); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ahb2` on type `stm32wb_hal::rcc::Rcc` [INFO] [stdout] --> examples/pwm.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | let mut gpioa = p.GPIOA.split(&mut rcc.ahb2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pwm` found for struct `stm32wb_pac::TIM2` in the current scope [INFO] [stdout] --> examples/pwm.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | .pwm((c1, c2, c3, c4), 1.khz(), clocks, &mut rcc.apb1r1) [INFO] [stdout] | ^^^ method not found in `stm32wb_pac::TIM2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apb1r1` on type `stm32wb_hal::rcc::Rcc` [INFO] [stdout] --> examples/pwm.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | .pwm((c1, c2, c3, c4), 1.khz(), clocks, &mut rcc.apb1r1) [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clocks`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rtc.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | (tmp + (value & 0x0F)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9dcca3b1916e34c853703d3d0df2b02ea96e144862211779f437fd45da284ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dcca3b1916e34c853703d3d0df2b02ea96e144862211779f437fd45da284ad9", kill_on_drop: false }` [INFO] [stdout] 9dcca3b1916e34c853703d3d0df2b02ea96e144862211779f437fd45da284ad9