[INFO] fetching crate stm32wlxx-hal 0.2.0... [INFO] testing stm32wlxx-hal-0.2.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate stm32wlxx-hal 0.2.0 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate stm32wlxx-hal 0.2.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32wlxx-hal 0.2.0 [INFO] finished tweaking crates.io crate stm32wlxx-hal 0.2.0 [INFO] tweaked toml for crates.io crate stm32wlxx-hal 0.2.0 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaba51c897944056965217682c0a977e3ea0ea50d791ad0d3bb000a7dce97073 [INFO] running `Command { std: "docker" "start" "-a" "aaba51c897944056965217682c0a977e3ea0ea50d791ad0d3bb000a7dce97073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaba51c897944056965217682c0a977e3ea0ea50d791ad0d3bb000a7dce97073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaba51c897944056965217682c0a977e3ea0ea50d791ad0d3bb000a7dce97073", kill_on_drop: false }` [INFO] [stdout] aaba51c897944056965217682c0a977e3ea0ea50d791ad0d3bb000a7dce97073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca002cc3d6d472fb0fce441b4a2eacad79210c8abffa53b1a75bed91506f4280 [INFO] running `Command { std: "docker" "start" "-a" "ca002cc3d6d472fb0fce441b4a2eacad79210c8abffa53b1a75bed91506f4280", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stm32wl v0.14.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling stm32wlxx-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: You must select your hardware with a feature flag [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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/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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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 import `crate::pac` [INFO] [stdout] --> src/rtc.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{pac, rcc::lsi_hz}; [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 imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/spi.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | 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[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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 324 | 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 325 | 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 326 | 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | 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, 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 331 | 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 332 | 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:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | const IRQ: pac::Interrupt = irq_num::$irq; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `irq_num` [INFO] [stdout] ... [INFO] [stdout] 333 | 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:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | I2C3SEL_A::HSI16 => Hertz(16_000_000), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `I2C3SEL_A` [INFO] [stdout] ... [INFO] [stdout] 483 | 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::SYSCLK => Hertz(sysclk_hz(rcc)), // TODO move the HAL to embedded-time? [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `I2C3SEL_A` [INFO] [stdout] ... [INFO] [stdout] 483 | 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:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | I2C3SEL_A::PCLK => Hertz(pclk1_hz(rcc)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `I2C3SEL_A` [INFO] [stdout] ... [INFO] [stdout] 483 | 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:512:32 [INFO] [stdout] | [INFO] [stdout] 512 | 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:646:32 [INFO] [stdout] | [INFO] [stdout] 646 | 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 `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | Lse = RTCSEL_A::LSE as u8, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | Lsi = RTCSEL_A::LSI as u8, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | Hse = RTCSEL_A::HSE32 as u8, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | RTCSEL_A::NOCLOCK => 0, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | RTCSEL_A::LSE => 32_768, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | RTCSEL_A::LSI => lsi_hz(rcc).into(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | RTCSEL_A::HSE32 => 1_000_000, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | RTCSEL_A::NOCLOCK => unreachable!(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | RTCSEL_A::LSE => (127, 255), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | RTCSEL_A::LSI => match rcc.csr.read().lsipre().variant() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RTCSEL_A` [INFO] [stdout] --> src/rtc.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | RTCSEL_A::HSE32 => (99, 9_999), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RTCSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `INITS_A` [INFO] [stdout] --> src/rtc.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | INITS_A::NOTINITALIZED => None, [INFO] [stdout] | ^^^^^^^ use of undeclared type `INITS_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `INITS_A` [INFO] [stdout] --> src/rtc.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | INITS_A::INITALIZED => Some(()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `INITS_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WUCKSEL_A` [INFO] [stdout] --> src/rtc.rs:497:25 [INFO] [stdout] | [INFO] [stdout] 497 | Ok(sec) => (WUCKSEL_A::CLOCKSPARE, sec), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WUCKSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WUCKSEL_A` [INFO] [stdout] --> src/rtc.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 499 | WUCKSEL_A::CLOCKSPAREWITHOFFSET, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WUCKSEL_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BR_A` [INFO] [stdout] --> src/spi.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | 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:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | 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:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | 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:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | 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:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | 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:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | 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:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | 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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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); [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:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | 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:545:22 [INFO] [stdout] | [INFO] [stdout] 545 | 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:612:22 [INFO] [stdout] | [INFO] [stdout] 612 | 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:674:42 [INFO] [stdout] | [INFO] [stdout] 674 | 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:710:22 [INFO] [stdout] | [INFO] [stdout] 710 | 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:767:22 [INFO] [stdout] | [INFO] [stdout] 767 | 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:916:22 [INFO] [stdout] | [INFO] [stdout] 916 | 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:972:22 [INFO] [stdout] | [INFO] [stdout] 972 | 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:414:39 [INFO] [stdout] | [INFO] [stdout] 414 | 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:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | 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::rtc::Clk; [INFO] [stdout] | [INFO] [stdout] 16 | use crate::uart::Clk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WUCKSEL_A` in this scope [INFO] [stdout] --> src/rtc.rs:496:30 [INFO] [stdout] | [INFO] [stdout] 496 | let (wucksel, sec): (WUCKSEL_A, u16) = match u16::try_from(sec) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPI1_TX_DMA` in this scope [INFO] [stdout] --> src/spi.rs:417:31 [INFO] [stdout] | [INFO] [stdout] 417 | 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:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | 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:423:31 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | 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:429:31 [INFO] [stdout] | [INFO] [stdout] 429 | 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:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | 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:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | pub unsafe fn pulse_reset(rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `pulse_reset` [INFO] [stdout] ... [INFO] [stdout] 547 | 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:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | pub unsafe fn disable_clock(rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_clock` [INFO] [stdout] ... [INFO] [stdout] 576 | 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:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn enable_clock(rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_clock` [INFO] [stdout] ... [INFO] [stdout] 596 | 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 187 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 188 previous errors [INFO] running `Command { std: "docker" "inspect" "ca002cc3d6d472fb0fce441b4a2eacad79210c8abffa53b1a75bed91506f4280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca002cc3d6d472fb0fce441b4a2eacad79210c8abffa53b1a75bed91506f4280", kill_on_drop: false }` [INFO] [stdout] ca002cc3d6d472fb0fce441b4a2eacad79210c8abffa53b1a75bed91506f4280