[INFO] fetching crate ch58x-hal 0.0.2...
[INFO] checking ch58x-hal-0.0.2 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate ch58x-hal 0.0.2 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate ch58x-hal 0.0.2 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate ch58x-hal 0.0.2
[INFO] finished tweaking crates.io crate ch58x-hal 0.0.2
[INFO] tweaked toml for crates.io crate ch58x-hal 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate ch58x-hal 0.0.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded riscv v0.10.1
[INFO] [stderr]   Downloaded atomic-polyfill v0.1.11
[INFO] [stderr]   Downloaded embedded-graphics-core v0.4.0
[INFO] [stderr]   Downloaded embassy-executor-macros v0.4.0
[INFO] [stderr]   Downloaded embassy-futures v0.1.1
[INFO] [stderr]   Downloaded embassy-executor v0.4.0
[INFO] [stderr]   Downloaded embedded-io-async v0.6.1
[INFO] [stderr]   Downloaded embedded-alloc v0.5.0
[INFO] [stderr]   Downloaded linked_list_allocator v0.10.5
[INFO] [stderr]   Downloaded embassy-sync v0.5.0
[INFO] [stderr]   Downloaded embedded-hal v1.0.0-rc.2
[INFO] [stderr]   Downloaded ch58x v0.3.0
[INFO] [stderr]   Downloaded embedded-sdmmc v0.6.0
[INFO] [stderr]   Downloaded micromath v2.0.0
[INFO] [stderr]   Downloaded embassy-time v0.2.0
[INFO] [stderr]   Downloaded embedded-hal-nb v1.0.0-rc.2
[INFO] [stderr]   Downloaded ssd1306 v0.8.4
[INFO] [stderr]   Downloaded embedded-hal-async v1.0.0-rc.2
[INFO] [stderr]   Downloaded embedded-graphics v0.8.1
[INFO] [stderr]   Downloaded qingke-rt v0.1.7
[INFO] [stderr]   Downloaded qingke v0.1.7
[INFO] [stderr]   Downloaded qingke-rt-macros v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 102408c3b47be626a703746a82f885ef561fd9e8f6b6130c504d17dbbeb91b73
[INFO] running `Command { std: "docker" "start" "-a" "102408c3b47be626a703746a82f885ef561fd9e8f6b6130c504d17dbbeb91b73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "102408c3b47be626a703746a82f885ef561fd9e8f6b6130c504d17dbbeb91b73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "102408c3b47be626a703746a82f885ef561fd9e8f6b6130c504d17dbbeb91b73", kill_on_drop: false }`
[INFO] [stdout] 102408c3b47be626a703746a82f885ef561fd9e8f6b6130c504d17dbbeb91b73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7b307205e0bb979f286cc70d4aaf19b4a4b68af0e957325177947a18d497560
[INFO] running `Command { std: "docker" "start" "-a" "a7b307205e0bb979f286cc70d4aaf19b4a4b68af0e957325177947a18d497560", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking critical-section v1.1.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling semver v1.0.20
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]    Compiling embassy-time v0.2.0
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking embedded-hal v1.0.0-rc.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0-rc.2
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling embedded-io-async v0.6.1
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]     Checking embedded-io v0.6.1
[INFO] [stderr]    Compiling qingke-rt v0.1.7
[INFO] [stderr]    Compiling embassy-sync v0.5.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling ch58x v0.3.0
[INFO] [stderr]     Checking display-interface v0.4.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling embassy-executor v0.4.0
[INFO] [stderr]    Compiling ch58x-hal v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking gcd v2.3.0
[INFO] [stderr]     Checking byte-slice-cast v0.3.5
[INFO] [stderr]     Checking display-interface-i2c v0.4.0
[INFO] [stderr]     Checking embedded-hal-nb v1.0.0-rc.2
[INFO] [stderr]     Checking linked_list_allocator v0.10.5
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking fugit v0.3.7
[INFO] [stderr]     Checking micromath v2.0.0
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking qingke v0.1.7
[INFO] [stderr]     Checking display-interface-spi v0.4.1
[INFO] [stderr]     Checking embedded-alloc v0.5.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking embassy-futures v0.1.1
[INFO] [stderr]    Compiling heapless v0.7.16
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking embedded-graphics-core v0.4.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking embedded-sdmmc v0.6.0
[INFO] [stderr]     Checking embedded-graphics v0.8.1
[INFO] [stderr]     Checking ssd1306 v0.8.4
[INFO] [stderr]    Compiling darling_core v0.20.3
[INFO] [stderr]    Compiling qingke-rt-macros v0.1.7
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]    --> src/gpio.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]     = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]    --> src/gpio.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]     = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]    --> src/gpio.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]     = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]    --> src/gpio.rs:746:12
[INFO] [stdout]     |
[INFO] [stdout] 746 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]     = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]   --> src/i2c.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]    = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `println`
[INFO] [stdout]   --> src/ble/mod.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{pac, println};
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr`
[INFO] [stdout]  --> src/ble/gatt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ptr;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]   --> src/spi.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]    = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]   --> src/uart.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]    = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `defmt`
[INFO] [stdout]   --> src/uart.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `ble`, `default`, and `embassy`
[INFO] [stdout]    = help: consider adding `defmt` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ordering` and `compiler_fence`
[INFO] [stdout]  --> src/interrupt.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::sync::atomic::{compiler_fence, Ordering};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pac::__EXTERNAL_INTERRUPTS as _`
[INFO] [stdout]  --> src/interrupt.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::pac::__EXTERNAL_INTERRUPTS as _;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]    --> src/lib.rs:112:15
[INFO] [stdout]     |
[INFO] [stdout] 112 |         "addi {0}, {0}, -1",
[INFO] [stdout]     |               ^^^  ^^^
[INFO] [stdout] 113 |         "bne {0}, zero, 1b",
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 114 |         inout(reg) i => _,
[INFO] [stdout]     |                    - for this argument
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]     = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout]     = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRIO_MASK` is never used
[INFO] [stdout]    --> src/interrupt.rs:177:7
[INFO] [stdout]     |
[INFO] [stdout] 177 | const PRIO_MASK: u8 = 0xf0;
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly
[INFO] [stdout]    --> src/lib.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 |         "1:",
[INFO] [stdout]     |          ^ use a different label that doesn't start with `0` or `1`
[INFO] [stdout]     |
[INFO] [stdout]     = help: start numbering with `2` instead
[INFO] [stdout]     = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86
[INFO] [stdout]     = note: see <https://github.com/llvm/llvm-project/issues/99547> for more information
[INFO] [stdout]     = note: `#[deny(binary_asm_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 206 |     SERIAL.replace(serial);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |     unsafe { &mut _stack_top as *mut u32 as usize - &mut _ebss as *mut u32 as usize }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 214 |     unsafe { &raw mut _stack_top as *mut u32 as usize - &mut _ebss as *mut u32 as usize }
[INFO] [stdout]     |              ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:214:53
[INFO] [stdout]     |
[INFO] [stdout] 214 |     unsafe { &mut _stack_top as *mut u32 as usize - &mut _ebss as *mut u32 as usize }
[INFO] [stdout]     |                                                     ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 214 |     unsafe { &mut _stack_top as *mut u32 as usize - &raw mut _ebss as *mut u32 as usize }
[INFO] [stdout]     |                                                     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling darling_macro v0.20.3
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/ble/mod.rs:152:27
[INFO] [stdout]     |
[INFO] [stdout] 152 |         BLE_PAControlInit(&PA_CONFIG);
[INFO] [stdout]     |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 152 |         BLE_PAControlInit(&raw const PA_CONFIG);
[INFO] [stdout]     |                           ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:198:33
[INFO] [stdout]     |
[INFO] [stdout] 198 |             if let Some(uart) = $crate::SERIAL.as_mut() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ble/mod.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |         crate::println!("!! hal_tmos_task: task_id: {}, events: 0x{:04x}", task_id, events);
[INFO] [stdout]     |         ----------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: this warning originates in the macro `crate::println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/ble/mod.rs:180:28
[INFO] [stdout]     |
[INFO] [stdout] 180 |     cfg.MEMAddr = unsafe { BLE_HEAP.0.as_ptr() as u32 };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/sysctl.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &CLOCK }
[INFO] [stdout]    |              ^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const CLOCK }
[INFO] [stdout]    |              ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch58x-hal` (lib) due to 1 previous error; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a7b307205e0bb979f286cc70d4aaf19b4a4b68af0e957325177947a18d497560", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7b307205e0bb979f286cc70d4aaf19b4a4b68af0e957325177947a18d497560", kill_on_drop: false }`
[INFO] [stdout] a7b307205e0bb979f286cc70d4aaf19b4a4b68af0e957325177947a18d497560
