[INFO] fetching crate stm32wlxx-hal 0.4.1... [INFO] testing stm32wlxx-hal-0.4.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stm32wlxx-hal 0.4.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate stm32wlxx-hal 0.4.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32wlxx-hal 0.4.1 [INFO] finished tweaking crates.io crate stm32wlxx-hal 0.4.1 [INFO] tweaked toml for crates.io crate stm32wlxx-hal 0.4.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 808c9bcf839fb84a0bc404b79c0b2c2bbb130fd196f278fc6318c4ae5a69a038 [INFO] running `Command { std: "docker" "start" "-a" "808c9bcf839fb84a0bc404b79c0b2c2bbb130fd196f278fc6318c4ae5a69a038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "808c9bcf839fb84a0bc404b79c0b2c2bbb130fd196f278fc6318c4ae5a69a038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808c9bcf839fb84a0bc404b79c0b2c2bbb130fd196f278fc6318c4ae5a69a038", kill_on_drop: false }` [INFO] [stdout] 808c9bcf839fb84a0bc404b79c0b2c2bbb130fd196f278fc6318c4ae5a69a038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaadba0f9f2f15b90db5d7b89205fbb4238eba74e13e5803d22c5ed2bfa704e6 [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" "aaadba0f9f2f15b90db5d7b89205fbb4238eba74e13e5803d22c5ed2bfa704e6", kill_on_drop: false }` [INFO] [stderr] Compiling stm32wl v0.14.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling stm32wlxx-hal v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: You must select your hardware with a feature flag [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | core::compile_error!("You must select your hardware with a feature flag"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::pac` [INFO] [stdout] --> src/adc.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use super::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/aes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::pac` [INFO] [stdout] --> src/dac.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::pac` [INFO] [stdout] --> src/dma/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/flash.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpio.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{adc, pac}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/i2c.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pac::{self, rcc::ccipr::I2C3SEL_A, I2C1, I2C2, I2C3, RCC}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/i2c.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pac::{self, rcc::ccipr::I2C3SEL_A, I2C1, I2C2, I2C3, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/lptim/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pac, Ratio, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/pka.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::pac::{self, pka::cr::MODE_A}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/pka.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::pac::{self, pka::cr::MODE_A}; [INFO] [stdout] | --- ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/pwr.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{pac, rcc::MsiRange}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/rcc.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{pac, Ratio}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/rng.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/spi.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pac::{self, SPI1, SPI2}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/spi.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/subghz/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/uart.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pac, rcc, Ratio, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `pac` in the root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pac; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `dac` [INFO] [stdout] | no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | c1_c2!(self.flash.sr.read().bits(), self.flash.c2sr.read().bits()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/info.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub const CT: Core = c1_c2!(Core::Cm4, Core::Cm0p); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 836 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `c1_c2` in this scope [INFO] [stdout] --> src/flash.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | c1_c2!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | CKMODE_A::ADCLK => match rcc.ccipr.read().adcsel().variant() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:581:17 [INFO] [stdout] | [INFO] [stdout] 581 | ADCSEL_A::NOCLOCK => None, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | ADCSEL_A::HSI16 => Some(Clk::RccHsi), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | ADCSEL_A::PLLP => Some(Clk::RccPllP), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | ADCSEL_A::SYSCLK => Some(Clk::RccSysClk), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | CKMODE_A::PCLK_DIV2 => Some(Clk::PClkDiv2), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | CKMODE_A::PCLK_DIV4 => Some(Clk::PClkDiv4), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | CKMODE_A::PCLK => Some(Clk::PClk), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | CKMODE_A::ADCLK => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 659 | ADCSEL_A::NOCLOCK => Ratio::new_raw(0, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:660:21 [INFO] [stdout] | [INFO] [stdout] 660 | ADCSEL_A::HSI16 => Ratio::new_raw(16_000_000, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:661:21 [INFO] [stdout] | [INFO] [stdout] 661 | ADCSEL_A::PLLP => crate::rcc::pllpclk(rcc, &rcc.pllcfgr.read()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ADCSEL_A` [INFO] [stdout] --> src/adc.rs:662:21 [INFO] [stdout] | [INFO] [stdout] 662 | ADCSEL_A::SYSCLK => crate::rcc::sysclk(rcc, &rcc.cfgr.read()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ADCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:669:25 [INFO] [stdout] | [INFO] [stdout] 669 | PRESC_A::DIV1 => 1, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | PRESC_A::DIV2 => 2, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:671:25 [INFO] [stdout] | [INFO] [stdout] 671 | PRESC_A::DIV4 => 4, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:672:25 [INFO] [stdout] | [INFO] [stdout] 672 | PRESC_A::DIV6 => 6, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:673:25 [INFO] [stdout] | [INFO] [stdout] 673 | PRESC_A::DIV8 => 8, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:674:25 [INFO] [stdout] | [INFO] [stdout] 674 | PRESC_A::DIV10 => 10, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | PRESC_A::DIV12 => 12, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | PRESC_A::DIV16 => 16, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:677:25 [INFO] [stdout] | [INFO] [stdout] 677 | PRESC_A::DIV32 => 32, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:678:25 [INFO] [stdout] | [INFO] [stdout] 678 | PRESC_A::DIV64 => 64, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:679:25 [INFO] [stdout] | [INFO] [stdout] 679 | PRESC_A::DIV128 => 128, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESC_A` [INFO] [stdout] --> src/adc.rs:680:25 [INFO] [stdout] | [INFO] [stdout] 680 | PRESC_A::DIV256 => 256, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PRESC_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | CKMODE_A::PCLK_DIV2 => crate::rcc::pclk2(rcc, &rcc.cfgr.read()) / 2, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | CKMODE_A::PCLK_DIV4 => crate::rcc::pclk2(rcc, &rcc.cfgr.read()) / 4, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CKMODE_A` [INFO] [stdout] --> src/adc.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 692 | CKMODE_A::PCLK => crate::rcc::pclk2(rcc, &rcc.cfgr.read()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CKMODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwapMode` [INFO] [stdout] --> src/aes.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | swap_mode: SwapMode::NONE, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SwapMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwapMode` [INFO] [stdout] --> src/aes.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | swap_mode: SwapMode::NONE, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SwapMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwapMode` [INFO] [stdout] --> src/aes.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | swap_mode: SwapMode::NONE, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SwapMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeySize` [INFO] [stdout] --> src/aes.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | KeySize::BITS128 [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeySize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeySize` [INFO] [stdout] --> src/aes.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | KeySize::BITS256 [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeySize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | ModePin::NormBuf => MODE1_A::NORMALPINBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | ModePin::NormChipBuf => MODE1_A::NORMALPINCHIPBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | ModePin::NormNoBuf => MODE1_A::NORMALPINNOBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | ModePin::SampleHoldBuf => MODE1_A::SHPINBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | ModePin::SampleHoldChipBuf => MODE1_A::SHPINCHIPBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | ModePin::SampleHoldNoBuf => MODE1_A::SHPINNOBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | ModeChip::SampleHold => MODE1_A::SHCHIPNOBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE1_A` [INFO] [stdout] --> src/dac.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | ModeChip::Norm => MODE1_A::NORMALCHIPNOBUFFER, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MODE1_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 317 | dma_ch!(1, 1, DMA1_CH1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 318 | dma_ch!(1, 2, DMA1_CH2); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 319 | dma_ch!(1, 3, DMA1_CH3); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 320 | dma_ch!(1, 4, DMA1_CH4); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 321 | dma_ch!(1, 5, DMA1_CH5); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 322 | dma_ch!(1, 6, DMA1_CH6); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 323 | dma_ch!(1, 7, DMA1_CH7); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 324 | dma_ch!(2, 1, DMA2_CH1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 325 | dma_ch!(2, 2, DMA2_CH2); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 326 | dma_ch!(2, 3, DMA2_CH3); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 327 | dma_ch!(2, 4, DMA2_CH4); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 328 | dma_ch!(2, 5, DMA2_CH5); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 329 | dma_ch!(2, 6, DMA2_CH6); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `irq_num` [INFO] [stdout] --> src/dma/mod.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 330 | dma_ch!(2, 7, DMA2_CH7); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dma_ch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2C3SEL_A` [INFO] [stdout] --> src/i2c.rs:349:25 [INFO] [stdout] | [INFO] [stdout] 349 | I2C3SEL_A::HSI16 => 16_000_000, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `I2C3SEL_A` [INFO] [stdout] ... [INFO] [stdout] 482 | i2c!([1, 2, 3]); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clocks_reset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2C3SEL_A` [INFO] [stdout] --> src/i2c.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | I2C3SEL_A::SYSCLK => sysclk_hz(rcc), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `I2C3SEL_A` [INFO] [stdout] ... [INFO] [stdout] 482 | i2c!([1, 2, 3]); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clocks_reset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2C3SEL_A` [INFO] [stdout] --> src/i2c.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | I2C3SEL_A::PCLK => pclk1_hz(rcc), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `I2C3SEL_A` [INFO] [stdout] ... [INFO] [stdout] 482 | i2c!([1, 2, 3]); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clocks_reset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE_A` [INFO] [stdout] --> src/pka.rs:508:32 [INFO] [stdout] | [INFO] [stdout] 508 | self.start_process(MODE_A::ECDSASIGN); [INFO] [stdout] | ^^^^^^ use of undeclared type `MODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODE_A` [INFO] [stdout] --> src/pka.rs:642:32 [INFO] [stdout] | [INFO] [stdout] 642 | self.start_process(MODE_A::ECDSAVERIF); [INFO] [stdout] | ^^^^^^ use of undeclared type `MODE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LATENCY_A` [INFO] [stdout] --> src/rcc.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | 0..=18_000_000 => LATENCY_A::WS0, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LATENCY_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LATENCY_A` [INFO] [stdout] --> src/rcc.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | 18_000_001..=36_000_000 => LATENCY_A::WS1, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LATENCY_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LATENCY_A` [INFO] [stdout] --> src/rcc.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | _ => LATENCY_A::WS2, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LATENCY_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LATENCY_A` [INFO] [stdout] --> src/rcc.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | 0..=6_000_000 => LATENCY_A::WS0, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LATENCY_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LATENCY_A` [INFO] [stdout] --> src/rcc.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | 6_000_001..=12_000_000 => LATENCY_A::WS1, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LATENCY_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LATENCY_A` [INFO] [stdout] --> src/rcc.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | _ => LATENCY_A::WS2, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LATENCY_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HSEPRE_A` [INFO] [stdout] --> src/rcc.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | Vos::V1_2 => (HSEPRE_A::DIV1, 32_000_000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HSEPRE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HSEPRE_A` [INFO] [stdout] --> src/rcc.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | Vos::V1_0 => (HSEPRE_A::DIV2, 16_000_000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HSEPRE_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | PLLSRC::NOCLOCK => 0, [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | PLLSRC::MSI => MsiRange::from_rcc(rcc).to_hz(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | PLLSRC::HSI16 => 16_000_000, [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | PLLSRC::HSE32 => match rcc.cr.read().hsepre().variant() { [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | PLLSRC::NOCLOCK => unreachable!(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:568:17 [INFO] [stdout] | [INFO] [stdout] 568 | PLLSRC::MSI => MsiRange::from_rcc(rcc).to_hz(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | PLLSRC::HSI16 => 16_000_000, [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PLLSRC` [INFO] [stdout] --> src/rcc.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 570 | PLLSRC::HSE32 => match rcc.cr.read().hsepre().variant() { [INFO] [stdout] | ^^^^^^ use of undeclared type `PLLSRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | Div256 = BR_A::DIV256 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | Div128 = BR_A::DIV128 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Div64 = BR_A::DIV64 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Div32 = BR_A::DIV32 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Div16 = BR_A::DIV16 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Div8 = BR_A::DIV8 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | Div4 = BR_A::DIV4 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | Div2 = BR_A::DIV2 as u8, [INFO] [stdout] | ^^^^ use of undeclared type `BR_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LPUART1SEL_A` [INFO] [stdout] --> src/uart.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LPUART1SEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | PRESCALER_A::DIV1 => 1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | PRESCALER_A::DIV2 => 2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | PRESCALER_A::DIV4 => 4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | PRESCALER_A::DIV6 => 6, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | PRESCALER_A::DIV8 => 8, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | PRESCALER_A::DIV10 => 10, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | PRESCALER_A::DIV12 => 12, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | PRESCALER_A::DIV16 => 16, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | PRESCALER_A::DIV32 => 32, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | PRESCALER_A::DIV64 => 64, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | PRESCALER_A::DIV128 => 128, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | PRESCALER_A::DIV256 => 256, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 277 | impl_clock_hz!(LpUart, LPUART1SEL_A, lpuart, lpuart1sel, pclk1); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `USART1SEL_A` [INFO] [stdout] --> src/uart.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `USART1SEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | PRESCALER_A::DIV1 => 1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | PRESCALER_A::DIV2 => 2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | PRESCALER_A::DIV4 => 4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | PRESCALER_A::DIV6 => 6, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | PRESCALER_A::DIV8 => 8, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | PRESCALER_A::DIV10 => 10, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | PRESCALER_A::DIV12 => 12, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | PRESCALER_A::DIV16 => 16, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | PRESCALER_A::DIV32 => 32, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | PRESCALER_A::DIV64 => 64, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | PRESCALER_A::DIV128 => 128, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | PRESCALER_A::DIV256 => 256, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 278 | impl_clock_hz!(Uart1, USART1SEL_A, usart1, usart1sel, pclk2); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `USART1SEL_A` [INFO] [stdout] --> src/uart.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `USART1SEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | PRESCALER_A::DIV1 => 1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | PRESCALER_A::DIV2 => 2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | PRESCALER_A::DIV4 => 4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | PRESCALER_A::DIV6 => 6, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | PRESCALER_A::DIV8 => 8, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | PRESCALER_A::DIV10 => 10, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | PRESCALER_A::DIV12 => 12, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | PRESCALER_A::DIV16 => 16, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | PRESCALER_A::DIV32 => 32, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | PRESCALER_A::DIV64 => 64, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | PRESCALER_A::DIV128 => 128, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/uart.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | PRESCALER_A::DIV256 => 256, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] ... [INFO] [stdout] 279 | impl_clock_hz!(Uart2, USART1SEL_A, usart1, usart2sel, pclk1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_clock_hz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwapMode` in this scope [INFO] [stdout] --> src/aes.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | swap_mode: SwapMode, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:341:43 [INFO] [stdout] | [INFO] [stdout] 341 | fn set_key(&mut self, key: &[u32]) -> KeySize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:454:17 [INFO] [stdout] | [INFO] [stdout] 150 | impl Aes { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 454 | ) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | let keysize: KeySize = self.set_key(key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:487:18 [INFO] [stdout] | [INFO] [stdout] 487 | keysize: KeySize, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:541:22 [INFO] [stdout] | [INFO] [stdout] 541 | let keysize: KeySize = self.gcm_init_phase::(key, iv)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:604:22 [INFO] [stdout] | [INFO] [stdout] 604 | let keysize: KeySize = self.gcm_init_phase::(key, iv)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwapMode` in this scope [INFO] [stdout] --> src/aes.rs:663:42 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn set_dataswap(&mut self, mode: SwapMode) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:699:22 [INFO] [stdout] | [INFO] [stdout] 699 | let keysize: KeySize = self.set_key(key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:754:22 [INFO] [stdout] | [INFO] [stdout] 754 | let keysize: KeySize = self.set_key(key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:901:22 [INFO] [stdout] | [INFO] [stdout] 901 | let keysize: KeySize = self.set_key(key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySize` in this scope [INFO] [stdout] --> src/aes.rs:955:22 [INFO] [stdout] | [INFO] [stdout] 955 | let keysize: KeySize = self.set_key(key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE1_A` in this scope [INFO] [stdout] --> src/dac.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | impl From for MODE1_A { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE1_A` in this scope [INFO] [stdout] --> src/dac.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | impl From for MODE1_A { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE_A` in this scope [INFO] [stdout] --> src/pka.rs:412:39 [INFO] [stdout] | [INFO] [stdout] 412 | fn start_process(&mut self, mode: MODE_A) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LATENCY_A` in this scope [INFO] [stdout] --> src/rcc.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let ws: LATENCY_A = match vos { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HSEPRE_A` in this scope [INFO] [stdout] --> src/rcc.rs:275:35 [INFO] [stdout] | [INFO] [stdout] 275 | let (pre, target_sysclk_hz): (HSEPRE_A, u32) = match vos { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LsiPre` in this scope [INFO] [stdout] --> src/rcc.rs:911:50 [INFO] [stdout] | [INFO] [stdout] 911 | pub unsafe fn setup_lsi(rcc: &mut pac::RCC, pre: LsiPre) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Clk` in this scope [INFO] [stdout] --> src/rng.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(rng: pac::RNG, clk: Clk, rcc: &mut pac::RCC) -> Rng { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16 | use crate::adc::Clk; [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lptim::Clk; [INFO] [stdout] | [INFO] [stdout] 16 | use crate::uart::Clk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPI1_TX_DMA` in this scope [INFO] [stdout] --> src/spi.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | const DMA_TX_ID: u8 = SPI1_TX_DMA as u8; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPI1_RX_DMA` in this scope [INFO] [stdout] --> src/spi.rs:419:31 [INFO] [stdout] | [INFO] [stdout] 419 | const DMA_RX_ID: u8 = SPI1_RX_DMA as u8; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPI2_TX_DMA` in this scope [INFO] [stdout] --> src/spi.rs:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | const DMA_TX_ID: u8 = SPI2_TX_DMA as u8; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPI2_RX_DMA` in this scope [INFO] [stdout] --> src/spi.rs:425:31 [INFO] [stdout] | [INFO] [stdout] 425 | const DMA_RX_ID: u8 = SPI2_RX_DMA as u8; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUBGHZSPI_TX` in this scope [INFO] [stdout] --> src/spi.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | const DMA_TX_ID: u8 = SUBGHZSPI_TX as u8; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUBGHZSPI_RX` in this scope [INFO] [stdout] --> src/spi.rs:431:31 [INFO] [stdout] | [INFO] [stdout] 431 | const DMA_RX_ID: u8 = SUBGHZSPI_RX as u8; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `pulse_reset` [INFO] [stdout] --> src/spi.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | pub unsafe fn pulse_reset(rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `pulse_reset` [INFO] [stdout] ... [INFO] [stdout] 548 | pub unsafe fn pulse_reset(rcc: &mut pac::RCC) { [INFO] [stdout] | --------------------------------------------- other definition for `pulse_reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_clock` [INFO] [stdout] --> src/spi.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | pub unsafe fn disable_clock(rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_clock` [INFO] [stdout] ... [INFO] [stdout] 577 | pub unsafe fn disable_clock(rcc: &mut pac::RCC) { [INFO] [stdout] | ----------------------------------------------- other definition for `disable_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_clock` [INFO] [stdout] --> src/spi.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | pub fn enable_clock(rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_clock` [INFO] [stdout] ... [INFO] [stdout] 597 | pub fn enable_clock(rcc: &mut pac::RCC) { [INFO] [stdout] | --------------------------------------- other definition for `enable_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 184 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32wlxx-hal` due to 185 previous errors [INFO] running `Command { std: "docker" "inspect" "aaadba0f9f2f15b90db5d7b89205fbb4238eba74e13e5803d22c5ed2bfa704e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaadba0f9f2f15b90db5d7b89205fbb4238eba74e13e5803d22c5ed2bfa704e6", kill_on_drop: false }` [INFO] [stdout] aaadba0f9f2f15b90db5d7b89205fbb4238eba74e13e5803d22c5ed2bfa704e6