[INFO] fetching crate cc3220sf-hal 0.2.0... [INFO] checking cc3220sf-hal-0.2.0 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate cc3220sf-hal 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cc3220sf-hal 0.2.0 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking crates.io crate cc3220sf-hal 0.2.0 [INFO] finished tweaking crates.io crate cc3220sf-hal 0.2.0 [INFO] tweaked toml for crates.io crate cc3220sf-hal 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc3220sf v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfc8207bc13f65abd351073b2530374d38876bdc3e3b78187ed0f1f41eb482bb [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" "cfc8207bc13f65abd351073b2530374d38876bdc3e3b78187ed0f1f41eb482bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfc8207bc13f65abd351073b2530374d38876bdc3e3b78187ed0f1f41eb482bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc8207bc13f65abd351073b2530374d38876bdc3e3b78187ed0f1f41eb482bb", kill_on_drop: false }` [INFO] [stdout] cfc8207bc13f65abd351073b2530374d38876bdc3e3b78187ed0f1f41eb482bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7754cfdce6e3f8f47ad6cb30ae208aa0d3dfb424de3add251db425a172a2c17f [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" "7754cfdce6e3f8f47ad6cb30ae208aa0d3dfb424de3add251db425a172a2c17f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling cc3220sf v0.2.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking cc3220sf-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 495 | / gpio_macro!(GPIOA0, gpioa0, Gpio0, PA0x, [INFO] [stdout] 496 | | [ [INFO] [stdout] 497 | | PA00: (gpio_00, gpio_pad_config_0, 0, 50, Tristate), [INFO] [stdout] 498 | | PA01: (gpio_01, gpio_pad_config_1, 1, 55, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 504 | | PA07: (gpio_07, gpio_pad_config_7, 7, 62, Tristate), [INFO] [stdout] 505 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 508 | / gpio_macro!(GPIOA1, gpioa1, Gpio1, PA1x, [INFO] [stdout] 509 | | [ [INFO] [stdout] 510 | | PA10: (gpio_08, gpio_pad_config_8, 0, 63, Tristate), [INFO] [stdout] 511 | | PA11: (gpio_09, gpio_pad_config_9, 1, 64, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 517 | | PA17: (gpio_15, gpio_pad_config_15, 7, 6, Tristate), [INFO] [stdout] 518 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 521 | / gpio_macro!(GPIOA2, gpioa2, Gpio2, PA2x, [INFO] [stdout] 522 | | [ [INFO] [stdout] 523 | | PA20: (gpio_16, gpio_pad_config_16, 0, 7, Tristate), [INFO] [stdout] 524 | | PA21: (gpio_17, gpio_pad_config_17, 1, 8, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 530 | | PA27: (gpio_23, gpio_pad_config_23, 7, 16, Tristate), [INFO] [stdout] 531 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/gpio.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | let data_addr: u32 = $GPIOX::ptr() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `$GPIOX::ptr() as usize as u32` [INFO] [stdout] ... [INFO] [stdout] 534 | / gpio_macro!(GPIOA3, gpioa3, Gpio3, PA3x, [INFO] [stdout] 535 | | [ [INFO] [stdout] 536 | | PA30: (gpio_24, gpio_pad_config_24, 0, 17, Tristate), [INFO] [stdout] 537 | | PA31: (gpio_25, gpio_pad_config_25, 1, 21, Tristate), [INFO] [stdout] ... | [INFO] [stdout] 543 | | PA37: (gpio_31, gpio_pad_config_31, 7, 45, Tristate), [INFO] [stdout] 544 | | ]); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cc3220sf-hal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7754cfdce6e3f8f47ad6cb30ae208aa0d3dfb424de3add251db425a172a2c17f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7754cfdce6e3f8f47ad6cb30ae208aa0d3dfb424de3add251db425a172a2c17f", kill_on_drop: false }` [INFO] [stdout] 7754cfdce6e3f8f47ad6cb30ae208aa0d3dfb424de3add251db425a172a2c17f