[INFO] fetching crate stm32-hal2 0.2.6... [INFO] checking stm32-hal2-0.2.6 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate stm32-hal2 0.2.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate stm32-hal2 0.2.6 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32-hal2 0.2.6 [INFO] finished tweaking crates.io crate stm32-hal2 0.2.6 [INFO] tweaked toml for crates.io crate stm32-hal2 0.2.6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate stm32-hal2 0.2.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2490ba6aecc9aa857aa82c1eda32fafe3153b6a01c9fadfd84f59c97c60e050 [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" "d2490ba6aecc9aa857aa82c1eda32fafe3153b6a01c9fadfd84f59c97c60e050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2490ba6aecc9aa857aa82c1eda32fafe3153b6a01c9fadfd84f59c97c60e050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2490ba6aecc9aa857aa82c1eda32fafe3153b6a01c9fadfd84f59c97c60e050", kill_on_drop: false }` [INFO] [stdout] d2490ba6aecc9aa857aa82c1eda32fafe3153b6a01c9fadfd84f59c97c60e050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3691e0b35661046b0315d0c3f0d343ea1e024eb7812e979001507798d7ecceab [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" "3691e0b35661046b0315d0c3f0d343ea1e024eb7812e979001507798d7ecceab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking bare-metal v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rtcc v0.2.0 [INFO] [stderr] Checking stm32-hal2 v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`. [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | compile_error!("This crate requires an MCU-specifying feature to be enabled. eg `l552`."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`. [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | compile_error!("This crate requires an MCU-specifying feature to be enabled. eg `l552`."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/adc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pac::{self, 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/crc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::pac::{crc, CRC, 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/dac.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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/flash.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac::FLASH; [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/gpio.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pac::{self, EXTI, 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/gpio.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::pac::SYSCFG; [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/i2c.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pac::{i2c1, RCC}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/low_power.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 6 | pac::{PWR, 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/qspi.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pac::{self, QUADSPI, 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/rtc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::pac::{EXTI, PWR, RCC, RTC}; [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/usart.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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 imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/spi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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 imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/timer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn debug_workaround(dbgmcu: &mut pac::DBGMCU, rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn debug_workaround(dbgmcu: &mut pac::DBGMCU, rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m::asm` [INFO] [stdout] --> src/adc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::asm; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Channel`, `OneShot` [INFO] [stdout] --> src/adc.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_hal::adc::{Channel, OneShot}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rcc_en_reset`, `traits::ClockCfg` [INFO] [stdout] --> src/adc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | traits::ClockCfg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/adc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/adc.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | / macro_rules! hal { [INFO] [stdout] 210 | | ($ADC:ident, $ADC_COMMON:ident, $adc:ident, $rcc_num:tt) => { [INFO] [stdout] 211 | | impl Adc { [INFO] [stdout] 212 | | paste! { [INFO] [stdout] ... | [INFO] [stdout] 742 | | } [INFO] [stdout] 743 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcc_en_reset` [INFO] [stdout] --> src/dac.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/dac.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/dac.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / macro_rules! hal { [INFO] [stdout] 81 | | ($DAC:ident, $cr:ident, $d81:ident, $d12l1:ident, $d12r1:ident, $d82:ident, $d12l2:ident, $d12r2:ident) => { [INFO] [stdout] 82 | | /// Digital to Analog converter peripheral [INFO] [stdout] 83 | | pub struct Dac { [INFO] [stdout] ... | [INFO] [stdout] 233 | | }; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/flash.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/low_power.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/qspi.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | use core::{marker::PhantomData, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/usart.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use core::{ops::Deref, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/adc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pac::{self, 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/crc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::pac::{crc, CRC, 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/dac.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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/flash.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac::FLASH; [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/gpio.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pac::{self, EXTI, 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/gpio.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::pac::SYSCFG; [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/i2c.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pac::{i2c1, RCC}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/low_power.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 6 | pac::{PWR, 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/qspi.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pac::{self, QUADSPI, 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/rtc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::pac::{EXTI, PWR, RCC, RTC}; [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/usart.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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 imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/spi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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 imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/timer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pac::{self, 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[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn debug_workaround(dbgmcu: &mut pac::DBGMCU, rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn debug_workaround(dbgmcu: &mut pac::DBGMCU, rcc: &mut pac::RCC) { [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m::asm` [INFO] [stdout] --> src/adc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::asm; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Channel`, `OneShot` [INFO] [stdout] --> src/adc.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_hal::adc::{Channel, OneShot}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rcc_en_reset`, `traits::ClockCfg` [INFO] [stdout] --> src/adc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | traits::ClockCfg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/adc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/adc.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | / macro_rules! hal { [INFO] [stdout] 210 | | ($ADC:ident, $ADC_COMMON:ident, $adc:ident, $rcc_num:tt) => { [INFO] [stdout] 211 | | impl Adc { [INFO] [stdout] 212 | | paste! { [INFO] [stdout] ... | [INFO] [stdout] 742 | | } [INFO] [stdout] 743 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcc_en_reset` [INFO] [stdout] --> src/dac.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/dac.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/dac.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / macro_rules! hal { [INFO] [stdout] 81 | | ($DAC:ident, $cr:ident, $d81:ident, $d12l1:ident, $d12r1:ident, $d82:ident, $d12l2:ident, $d12r2:ident) => { [INFO] [stdout] 82 | | /// Digital to Analog converter peripheral [INFO] [stdout] 83 | | pub struct Dac { [INFO] [stdout] ... | [INFO] [stdout] 233 | | }; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/flash.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/low_power.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/qspi.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | use core::{marker::PhantomData, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/usart.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use core::{ops::Deref, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 666 | hal!(TIM1, tim1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 674 | pwm_features!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 696 | hal!(TIM3, tim3, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 684 | hal!(TIM2, tim2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 705 | pwm_features!(TIM3, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload_preload` [INFO] [stdout] --> src/timer.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn set_auto_reload_preload(&mut self, mode: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload_preload` [INFO] [stdout] | other definition for `set_auto_reload_preload` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn set_preload(&mut self, channel: Channel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn enable_pwm_output( [INFO] [stdout] 368 | | &mut self, [INFO] [stdout] 369 | | channel: Channel, [INFO] [stdout] 370 | | compare: OutputCompare, [INFO] [stdout] 371 | | dir: CountDir, [INFO] [stdout] 372 | | duty: f32, [INFO] [stdout] 373 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_input` [INFO] [stdout] --> src/timer.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn enable_pwm_input( [INFO] [stdout] 384 | | &mut self, [INFO] [stdout] 385 | | channel: Channel, [INFO] [stdout] 386 | | compare: OutputCompare, [INFO] [stdout] 387 | | dir: CountDir, [INFO] [stdout] 388 | | duty: f32, [INFO] [stdout] 389 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_input` [INFO] [stdout] | other definition for `enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn set_output_compare(&mut self, channel: Channel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn get_duty(&self, channel: Channel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn set_duty(&mut self, channel: Channel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn clear_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `unlisten` [INFO] [stdout] --> src/timer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unlisten(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `unlisten` [INFO] [stdout] | other definition for `unlisten` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_update_interrupt_flag` [INFO] [stdout] --> src/timer.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn clear_update_interrupt_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_update_interrupt_flag` [INFO] [stdout] | other definition for `clear_update_interrupt_flag` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `free` [INFO] [stdout] --> src/timer.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn free(mut self) -> pac::$TIMX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `free` [INFO] [stdout] | other definition for `free` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn set_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn set_freq(&mut self, freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn set_complementary_polarity(&mut self, channel: Channel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn disable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `listen` [INFO] [stdout] --> src/timer.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn listen(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `listen` [INFO] [stdout] | other definition for `listen` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn enable_capture_compare(&mut self, channel: Channel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 721 | hal!(TIM4, tim4, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_capture_compare(&mut self, channel: Channel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 693 | pwm_features!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pwm_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [WARN] too many lines in the log, truncating it