[INFO] fetching crate stm32-hal2 1.0.3... [INFO] testing stm32-hal2-1.0.3 against 1.55.0 for beta-1.56-1 [INFO] extracting crate stm32-hal2 1.0.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate stm32-hal2 1.0.3 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32-hal2 1.0.3 [INFO] finished tweaking crates.io crate stm32-hal2 1.0.3 [INFO] tweaked toml for crates.io crate stm32-hal2 1.0.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate stm32-hal2 1.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17bf78e7dba0b48e5c79818d1a555f236047887f0432bf5696bfa159719a7be7 [INFO] running `Command { std: "docker" "start" "-a" "17bf78e7dba0b48e5c79818d1a555f236047887f0432bf5696bfa159719a7be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17bf78e7dba0b48e5c79818d1a555f236047887f0432bf5696bfa159719a7be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bf78e7dba0b48e5c79818d1a555f236047887f0432bf5696bfa159719a7be7", kill_on_drop: false }` [INFO] [stdout] 17bf78e7dba0b48e5c79818d1a555f236047887f0432bf5696bfa159719a7be7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f16ef49b6684a763ed22dc2a70bc00f6501831237eac82cc7509cfc21c74661b [INFO] running `Command { std: "docker" "start" "-a" "f16ef49b6684a763ed22dc2a70bc00f6501831237eac82cc7509cfc21c74661b", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling stm32-hal2 v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`. [INFO] [stdout] --> src/lib.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | 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::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/adc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [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/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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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/dma.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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/dma.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::pac::dma1 as dma; [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/flash.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac::SYSCFG; [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`, `crate::pac` [INFO] [stdout] --> src/i2c.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 15 | 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::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::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/qspi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 6 | pac::{QUADSPI, RCC}, [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/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::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/sai.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{clocks::Clocks, pac::RCC, rcc_en_reset}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ could not find `pac` in the crate root [INFO] [stdout] | | [INFO] [stdout] | no `Clocks` in `clocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/sai.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::pac::sai1 as sai; [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/spi.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/timer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 23 | 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::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/usart.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [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/dac.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac::dac as dac_p; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/dac.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/i2c.rs:406:27 [INFO] [stdout] | [INFO] [stdout] 406 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/i2c.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/sai.rs:683:27 [INFO] [stdout] | [INFO] [stdout] 683 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/sai.rs:763:27 [INFO] [stdout] | [INFO] [stdout] 763 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/spi.rs:544:27 [INFO] [stdout] | [INFO] [stdout] 544 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/spi.rs:640:27 [INFO] [stdout] | [INFO] [stdout] 640 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/spi.rs:711:27 [INFO] [stdout] | [INFO] [stdout] 711 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/usart.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/usart.rs:503:27 [INFO] [stdout] | [INFO] [stdout] 503 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:506:34 [INFO] [stdout] | [INFO] [stdout] 506 | let dbgmcu = unsafe { &(*pac::DBGMCU::ptr()) }; [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:523:31 [INFO] [stdout] | [INFO] [stdout] 523 | let rcc = unsafe { &(*pac::RCC::ptr()) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `asm`, `interrupt::free` [INFO] [stdout] --> src/adc.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::{asm, interrupt::free}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref`, `ptr` [INFO] [stdout] --> src/adc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{ops::Deref, ptr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcc_en_reset` [INFO] [stdout] --> src/adc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/adc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelCfg`, `DmaChannel`, `Dma`, `self` [INFO] [stdout] --> src/adc.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::dma::{self, ChannelCfg, Dma, DmaChannel}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/adc.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / macro_rules! hal { [INFO] [stdout] 241 | | ($ADC:ident, $ADC_COMMON:ident, $adc:ident, $rcc_num:tt) => { [INFO] [stdout] 242 | | impl Adc { [INFO] [stdout] 243 | | paste! { [INFO] [stdout] ... | [INFO] [stdout] 1098 | | } [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [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: `cfg_if::cfg_if` [INFO] [stdout] --> src/qspi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/sai.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 `enable_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 780 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 780 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 780 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 780 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 780 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 780 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 780 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 780 | 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:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | / pub fn enable_pwm_output( [INFO] [stdout] 477 | | &mut self, [INFO] [stdout] 478 | | channel: TimChannel, [INFO] [stdout] 479 | | compare: OutputCompare, [INFO] [stdout] 480 | | dir: CountDir, [INFO] [stdout] 481 | | duty: f32, [INFO] [stdout] 482 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn _enable_pwm_input( [INFO] [stdout] 495 | | &mut self, [INFO] [stdout] 496 | | channel: TimChannel, [INFO] [stdout] 497 | | compare: OutputCompare, [INFO] [stdout] 498 | | dir: CountDir, [INFO] [stdout] 499 | | duty: f32, [INFO] [stdout] 500 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn set_output_compare(&mut self, channel: TimChannel, 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] 789 | 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:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 789 | 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:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | 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] 789 | 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:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, 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] 789 | 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:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn set_capture_compare(&mut self, channel: TimChannel, 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] 789 | 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:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 789 | 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:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | / pub fn enable_pwm_output( [INFO] [stdout] 477 | | &mut self, [INFO] [stdout] 478 | | channel: TimChannel, [INFO] [stdout] 479 | | compare: OutputCompare, [INFO] [stdout] 480 | | dir: CountDir, [INFO] [stdout] 481 | | duty: f32, [INFO] [stdout] 482 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn _enable_pwm_input( [INFO] [stdout] 495 | | &mut self, [INFO] [stdout] 496 | | channel: TimChannel, [INFO] [stdout] 497 | | compare: OutputCompare, [INFO] [stdout] 498 | | dir: CountDir, [INFO] [stdout] 499 | | duty: f32, [INFO] [stdout] 500 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn set_output_compare(&mut self, channel: TimChannel, 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] 789 | 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:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 789 | 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:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | 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] 789 | 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:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, 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] 789 | 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:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn set_capture_compare(&mut self, channel: TimChannel, 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] 789 | 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:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 789 | 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:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | / pub fn enable_pwm_output( [INFO] [stdout] 477 | | &mut self, [INFO] [stdout] 478 | | channel: TimChannel, [INFO] [stdout] 479 | | compare: OutputCompare, [INFO] [stdout] 480 | | dir: CountDir, [INFO] [stdout] 481 | | duty: f32, [INFO] [stdout] 482 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn _enable_pwm_input( [INFO] [stdout] 495 | | &mut self, [INFO] [stdout] 496 | | channel: TimChannel, [INFO] [stdout] 497 | | compare: OutputCompare, [INFO] [stdout] 498 | | dir: CountDir, [INFO] [stdout] 499 | | duty: f32, [INFO] [stdout] 500 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn set_output_compare(&mut self, channel: TimChannel, 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] 789 | 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:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 789 | 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:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | 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] 789 | 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:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, 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] 789 | 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:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 789 | 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:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn set_capture_compare(&mut self, channel: TimChannel, 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] 789 | 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:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 789 | 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:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 789 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 799 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 799 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 799 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 799 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 799 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 799 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 799 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 799 | 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:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | / pub fn enable_pwm_output( [INFO] [stdout] 477 | | &mut self, [INFO] [stdout] 478 | | channel: TimChannel, [INFO] [stdout] 479 | | compare: OutputCompare, [INFO] [stdout] 480 | | dir: CountDir, [INFO] [stdout] 481 | | duty: f32, [INFO] [stdout] 482 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn _enable_pwm_input( [INFO] [stdout] 495 | | &mut self, [INFO] [stdout] 496 | | channel: TimChannel, [INFO] [stdout] 497 | | compare: OutputCompare, [INFO] [stdout] 498 | | dir: CountDir, [INFO] [stdout] 499 | | duty: f32, [INFO] [stdout] 500 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn set_output_compare(&mut self, channel: TimChannel, 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] 815 | 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:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 815 | 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:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | 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] 815 | 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:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, 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] 815 | 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:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn set_capture_compare(&mut self, channel: TimChannel, 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] 815 | 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:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 815 | 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:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | / pub fn enable_pwm_output( [INFO] [stdout] 477 | | &mut self, [INFO] [stdout] 478 | | channel: TimChannel, [INFO] [stdout] 479 | | compare: OutputCompare, [INFO] [stdout] 480 | | dir: CountDir, [INFO] [stdout] 481 | | duty: f32, [INFO] [stdout] 482 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn _enable_pwm_input( [INFO] [stdout] 495 | | &mut self, [INFO] [stdout] 496 | | channel: TimChannel, [INFO] [stdout] 497 | | compare: OutputCompare, [INFO] [stdout] 498 | | dir: CountDir, [INFO] [stdout] 499 | | duty: f32, [INFO] [stdout] 500 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn set_output_compare(&mut self, channel: TimChannel, 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] 815 | 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:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 815 | 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:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | 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] 815 | 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:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, 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] 815 | 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:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 815 | 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:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn set_capture_compare(&mut self, channel: TimChannel, 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] 815 | 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:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 815 | 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:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 815 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 826 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 826 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 826 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 826 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 826 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 826 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 826 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 826 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 826 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 826 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 826 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 826 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 826 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 826 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 826 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 826 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 826 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 826 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 826 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 826 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 826 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 826 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 826 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 826 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 826 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 826 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 826 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 826 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 826 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 826 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 826 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 826 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 826 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 826 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 826 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 826 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 826 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 826 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 826 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 826 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 826 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 826 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 826 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 826 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 826 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 826 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 826 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 826 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 826 | 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_pwm_output` [INFO] [stdout] --> src/timer.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | / pub fn enable_pwm_output( [INFO] [stdout] 477 | | &mut self, [INFO] [stdout] 478 | | channel: TimChannel, [INFO] [stdout] 479 | | compare: OutputCompare, [INFO] [stdout] 480 | | dir: CountDir, [INFO] [stdout] 481 | | duty: f32, [INFO] [stdout] 482 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 837 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn _enable_pwm_input( [INFO] [stdout] 495 | | &mut self, [INFO] [stdout] 496 | | channel: TimChannel, [INFO] [stdout] 497 | | compare: OutputCompare, [INFO] [stdout] 498 | | dir: CountDir, [INFO] [stdout] 499 | | duty: f32, [INFO] [stdout] 500 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 837 | 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:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn set_output_compare(&mut self, channel: TimChannel, 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] 837 | 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 `get_duty` [INFO] [stdout] --> src/timer.rs:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 837 | 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_duty` [INFO] [stdout] --> src/timer.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 837 | 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 `get_max_duty` [INFO] [stdout] --> src/timer.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 837 | 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_alignment` [INFO] [stdout] --> src/timer.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | 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] 837 | 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_polarity` [INFO] [stdout] --> src/timer.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 837 | 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_complementary_polarity` [INFO] [stdout] --> src/timer.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, 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] 837 | 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 `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 837 | 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_capture_compare` [INFO] [stdout] --> src/timer.rs:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 837 | 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_capture_compare` [INFO] [stdout] --> src/timer.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn set_capture_compare(&mut self, channel: TimChannel, 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] 837 | 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_preload` [INFO] [stdout] --> src/timer.rs:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 837 | 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_preload` [INFO] [stdout] --> src/timer.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 837 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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 `clear_interrupt` [INFO] [stdout] --> src/timer.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 856 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 856 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 856 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 856 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 856 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 856 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 856 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 856 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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 `clear_interrupt` [INFO] [stdout] --> src/timer.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 856 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 856 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 856 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 856 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 856 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 856 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 856 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 856 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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 `clear_interrupt` [INFO] [stdout] --> src/timer.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 856 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 856 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 856 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 856 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 856 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 856 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 856 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 856 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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 `clear_interrupt` [INFO] [stdout] --> src/timer.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 856 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 856 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 856 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 856 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 856 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 856 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 856 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 856 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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 `clear_interrupt` [INFO] [stdout] --> src/timer.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 856 | 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 856 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 856 | 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 856 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 856 | 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 856 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 856 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 856 | 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 856 | 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 915 | hal!(TIM6, tim6, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 931 | hal!(TIM7, tim7, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 953 | hal!(TIM15, tim15, 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 953 | hal!(TIM15, tim15, 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 953 | hal!(TIM15, tim15, 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 953 | hal!(TIM15, tim15, 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 953 | hal!(TIM15, tim15, 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 953 | hal!(TIM15, tim15, 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 953 | hal!(TIM15, tim15, 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 953 | hal!(TIM15, tim15, 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 953 | hal!(TIM15, tim15, 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 953 | hal!(TIM15, tim15, 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 953 | hal!(TIM15, tim15, 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 953 | hal!(TIM15, tim15, 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 953 | hal!(TIM15, tim15, 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 953 | hal!(TIM15, tim15, 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 953 | hal!(TIM15, tim15, 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_interrupt` [INFO] [stdout] --> src/timer.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 956 | hal!(TIM16, tim16, 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:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 956 | hal!(TIM16, tim16, 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:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 956 | hal!(TIM16, tim16, 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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 956 | hal!(TIM16, tim16, 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 956 | hal!(TIM16, tim16, 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_period` [INFO] [stdout] --> src/timer.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn set_period(&mut self, time: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 956 | hal!(TIM16, tim16, 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 956 | hal!(TIM16, tim16, 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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 956 | hal!(TIM16, tim16, 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 956 | hal!(TIM16, tim16, 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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] 956 | hal!(TIM16, tim16, 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 `countdown` [INFO] [stdout] --> src/timer.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn countdown(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `countdown` [INFO] [stdout] | other definition for `countdown` [INFO] [stdout] ... [INFO] [stdout] 956 | hal!(TIM16, tim16, 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: aborting due to 511 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32-hal2` due to 512 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f16ef49b6684a763ed22dc2a70bc00f6501831237eac82cc7509cfc21c74661b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16ef49b6684a763ed22dc2a70bc00f6501831237eac82cc7509cfc21c74661b", kill_on_drop: false }` [INFO] [stdout] f16ef49b6684a763ed22dc2a70bc00f6501831237eac82cc7509cfc21c74661b