[INFO] cloning repository https://github.com/fudanchii/stm32f401x [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fudanchii/stm32f401x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fstm32f401x", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fstm32f401x'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21f930b393d5c62a80d0e40dd5dac8509bc41db2 [INFO] checking fudanchii/stm32f401x against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fstm32f401x" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fudanchii/stm32f401x on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/fudanchii/stm32f401x [INFO] finished tweaking git repo https://github.com/fudanchii/stm32f401x [INFO] tweaked toml for git repo https://github.com/fudanchii/stm32f401x written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/fudanchii/stm32f401x already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9ada48e220583ccef79581160c03f3dc11abb41607b3b922a44c327d34e8a1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d9ada48e220583ccef79581160c03f3dc11abb41607b3b922a44c327d34e8a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ada48e220583ccef79581160c03f3dc11abb41607b3b922a44c327d34e8a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ada48e220583ccef79581160c03f3dc11abb41607b3b922a44c327d34e8a1c", kill_on_drop: false }` [INFO] [stdout] d9ada48e220583ccef79581160c03f3dc11abb41607b3b922a44c327d34e8a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a000c10c049fd704afb233c91e04b47edbe482a3ddcf44026546c54233722af [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8a000c10c049fd704afb233c91e04b47edbe482a3ddcf44026546c54233722af", kill_on_drop: false }` [INFO] [stderr] Compiling stm32f401x v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.1 [INFO] [stderr] Checking embedded-hal v0.2.1 [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/dbgmcu.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / (*DBGMCU).CR = (tr as u32) [INFO] [stdout] 51 | | | (io as u32) [INFO] [stdout] 52 | | | (dbgstandby as u32) [INFO] [stdout] 53 | | | (dbgstop as u32) [INFO] [stdout] 54 | | | (dbgsleep as u32); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/dbgmcu.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DBGMCU: *mut DBGMCU_TypeDef = DBGMCU_BASE as *mut DBGMCU_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/embedded_flash.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | (*FLASH).ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_LATENCY_2WS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/embedded_flash.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const FLASH: *mut FLASH_TypeDef = FLASH_R_BASE as *mut FLASH_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/pwr.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / (*PWR).CR |= (vos as u32) [INFO] [stdout] 104 | | | (adcdc1 as u32) [INFO] [stdout] 105 | | | (mrlvds as u32) [INFO] [stdout] 106 | | | (lplvds as u32) [INFO] [stdout] ... | [INFO] [stdout] 113 | | | (pdds as u32) [INFO] [stdout] 114 | | | (lpds as u32); [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/pwr.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const PWR: *mut PWR_TypeDef = PWR_BASE as *mut PWR_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | (*RCC).CR &= !RCC_CR_PLLON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | (*RCC).CR |= RCC_CR_PLLON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | (*RCC).CFGR |= RCC_CFGR_SW_PLL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | (*RCC).CFGR &= !RCC_CFGR_HPRE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | (*RCC).CFGR |= RCC_CFGR_PPRE1_DIV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | (*RCC).CFGR &= !RCC_CFGR_PPRE2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | (*RCC).PLLCFGR = (q << 24) as u32 | (input as u32) | (p << 16) as u32 | (n << 6) as u32 | m; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOAEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOBEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOCEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIODEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOEEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOHEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | (*RCC).APB1ENR |= RCC_APB1ENR_PWREN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | (*SysTick).VAL = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | (*SysTick).CTRL = (src as u32) | (intr as u32) | (en as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (*SysTick).LOAD = counter & 0x00FF_FFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | (*SysTick).VAL = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (*SysTick).CTRL &= !(Enable::Yes as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/dbgmcu.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / (*DBGMCU).CR = (tr as u32) [INFO] [stdout] 51 | | | (io as u32) [INFO] [stdout] 52 | | | (dbgstandby as u32) [INFO] [stdout] 53 | | | (dbgstop as u32) [INFO] [stdout] 54 | | | (dbgsleep as u32); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/dbgmcu.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DBGMCU: *mut DBGMCU_TypeDef = DBGMCU_BASE as *mut DBGMCU_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/embedded_flash.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | (*FLASH).ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_LATENCY_2WS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/embedded_flash.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const FLASH: *mut FLASH_TypeDef = FLASH_R_BASE as *mut FLASH_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | (*$group).PUPDR ^= pupdr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | (*$group).PUPDR = tmp | (1u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | (*$group).PUPDR = tmp | (2u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | (*$group).OTYPER ^= otyper & (1u32 << pin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | (*$group).OTYPER |= 1u32 << pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (*$group).OSPEEDR |= 1u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | (*$group).OSPEEDR ^= ospeedr & (3u32 << (pin << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (*$group).OSPEEDR |= 2u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | (*$group).OSPEEDR |= 3u32 << (pin << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (*$group).MODER |= 1 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | (*$group).MODER ^= moder & (3 << ((reg as u8) << 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | (*$group).MODER |= 2 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | (*$group).MODER |= 3 << ((reg as u8) << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | (*$group).BSRR = 1 << self.0 as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_gpio!(A, GPIOA); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const GPIOA: *mut GPIO_TypeDef = GPIOA_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | impl_gpio!(B, GPIOB); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const GPIOB: *mut GPIO_TypeDef = GPIOB_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | impl_gpio!(C, GPIOC); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const GPIOC: *mut GPIO_TypeDef = GPIOC_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | impl_gpio!(D, GPIOD); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const GPIOD: *mut GPIO_TypeDef = GPIOD_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl_gpio!(E, GPIOE); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GPIOE: *mut GPIO_TypeDef = GPIOE_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/gpio.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | (*$group).BSRR = 1 << (self.0 as u8 + 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | impl_gpio!(H, GPIOH); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/gpio.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const GPIOH: *mut GPIO_TypeDef = GPIOH_BASE as *mut GPIO_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/pwr.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / (*PWR).CR |= (vos as u32) [INFO] [stdout] 104 | | | (adcdc1 as u32) [INFO] [stdout] 105 | | | (mrlvds as u32) [INFO] [stdout] 106 | | | (lplvds as u32) [INFO] [stdout] ... | [INFO] [stdout] 113 | | | (pdds as u32) [INFO] [stdout] 114 | | | (lpds as u32); [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/pwr.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const PWR: *mut PWR_TypeDef = PWR_BASE as *mut PWR_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | (*RCC).CR &= !RCC_CR_PLLON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | (*RCC).CR |= RCC_CR_PLLON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | (*RCC).CFGR |= RCC_CFGR_SW_PLL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | (*RCC).CFGR &= !RCC_CFGR_HPRE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | (*RCC).CFGR |= RCC_CFGR_PPRE1_DIV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | (*RCC).CFGR &= !RCC_CFGR_PPRE2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | (*RCC).PLLCFGR = (q << 24) as u32 | (input as u32) | (p << 16) as u32 | (n << 6) as u32 | m; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOAEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOBEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOCEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIODEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOEEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOHEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/rcc.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | (*RCC).APB1ENR |= RCC_APB1ENR_PWREN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/rcc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const RCC: *mut RCC_TypeDef = RCC_BASE as *mut RCC_TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | (*SysTick).VAL = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | (*SysTick).CTRL = (src as u32) | (intr as u32) | (en as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (*SysTick).LOAD = counter & 0x00FF_FFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | (*SysTick).VAL = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attempting to modify a `const` item [INFO] [stdout] --> src/peripherals/systick.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (*SysTick).CTRL &= !(Enable::Yes as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary - the original `const` item will not be modified [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/peripherals/systick.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SysTick: *mut SysTick_Type = SysTick_BASE as *mut SysTick_Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `used` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(used)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `used` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(used)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.34s [INFO] running `Command { std: "docker" "inspect" "8a000c10c049fd704afb233c91e04b47edbe482a3ddcf44026546c54233722af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a000c10c049fd704afb233c91e04b47edbe482a3ddcf44026546c54233722af", kill_on_drop: false }` [INFO] [stdout] 8a000c10c049fd704afb233c91e04b47edbe482a3ddcf44026546c54233722af