[INFO] fetching crate lpc55-hal 0.4.0...
[INFO] checking lpc55-hal-0.4.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate lpc55-hal 0.4.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate lpc55-hal 0.4.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config
[INFO] started tweaking crates.io crate lpc55-hal 0.4.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate lpc55-hal 0.4.0
[INFO] tweaked toml for crates.io crate lpc55-hal 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate lpc55-hal 0.4.0 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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded panic-semihosting v0.5.6
[INFO] [stderr]   Downloaded usbd-serial v0.1.1
[INFO] [stderr]   Downloaded rtt-target v0.3.1
[INFO] [stderr]   Downloaded lpc55-rtic-macros v0.5.3
[INFO] [stderr]   Downloaded littlefs2-core v0.1.0
[INFO] [stderr]   Downloaded rtic-core v0.3.1
[INFO] [stderr]   Downloaded littlefs2 v0.5.0
[INFO] [stderr]   Downloaded embedded-time v0.12.1
[INFO] [stderr]   Downloaded delog v0.1.7
[INFO] [stderr]   Downloaded lpc55-rtic v0.5.7
[INFO] [stderr]   Downloaded embedded-graphics v0.6.2
[INFO] [stderr]   Downloaded littlefs2-sys v0.2.0
[INFO] [stderr]   Downloaded rtic-syntax v0.4.0
[INFO] [stderr]   Downloaded lpc55-pac v0.4.1
[INFO] [stderr]   Downloaded ssd1306 v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab1e182b96dc22f1f502a52bd1adcc78b27880958ca89b0acd39ca5149bc4166
[INFO] running `Command { std: "docker" "start" "-a" "ab1e182b96dc22f1f502a52bd1adcc78b27880958ca89b0acd39ca5149bc4166", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab1e182b96dc22f1f502a52bd1adcc78b27880958ca89b0acd39ca5149bc4166", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab1e182b96dc22f1f502a52bd1adcc78b27880958ca89b0acd39ca5149bc4166", kill_on_drop: false }`
[INFO] [stdout] ab1e182b96dc22f1f502a52bd1adcc78b27880958ca89b0acd39ca5149bc4166
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4311ce749f4815fd53b91f33b293a3c2440ce111b9fe70206e4affeecb6a3d8e
[INFO] running `Command { std: "docker" "start" "-a" "4311ce749f4815fd53b91f33b293a3c2440ce111b9fe70206e4affeecb6a3d8e", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m-rt v0.6.15
[INFO] [stderr]    Compiling semver v1.0.20
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking generic-array v0.13.3
[INFO] [stderr]    Compiling heapless v0.6.1
[INFO] [stderr]    Compiling lpc55-pac v0.4.1
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.7
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]    Compiling heapless v0.7.16
[INFO] [stderr]     Checking as-slice v0.1.5
[INFO] [stderr]    Compiling lpc55-rtic v0.5.7
[INFO] [stderr]     Checking hash32 v0.1.1
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]    Compiling ssd1306 v0.3.1
[INFO] [stderr]     Checking usb-device v0.2.9
[INFO] [stderr]    Compiling lpc55-hal v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking embedded-graphics v0.6.2
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rtic-core v0.3.1
[INFO] [stderr]     Checking ufmt-write v0.1.0
[INFO] [stderr]     Checking rtt-target v0.3.1
[INFO] [stderr]     Checking panic-semihosting v0.5.6
[INFO] [stderr]     Checking usbd-serial v0.1.1
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking embedded-time v0.12.1
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]    Compiling rtic-syntax v0.4.0
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.6.15
[INFO] [stderr]    Compiling lpc55-rtic-macros v0.5.3
[INFO] [stdout] warning: unexpected `cfg` condition value: `nosync`
[INFO] [stdout]  --> src/drivers/usbd/endpoint.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(not(feature = "nosync"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`, `highspeed-usb-example`, `littlefs`, `littlefs2`, `lpc55-rtic`, `rt`, and `rtic-peripherals`
[INFO] [stdout]   = help: consider adding `nosync` 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: `nosync`
[INFO] [stdout]  --> src/drivers/usbd/endpoint.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(not(feature = "nosync"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`, `highspeed-usb-example`, `littlefs`, `littlefs2`, `lpc55-rtic`, `rt`, and `rtic-peripherals`
[INFO] [stdout]   = help: consider adding `nosync` 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: use of deprecated associated function `cortex_m::peripheral::dwt::<impl raw::DWT>::get_cycle_count`: Use `cycle_count` which follows the C-GETTER convention
[INFO] [stdout]    --> src/lib.rs:459:15
[INFO] [stdout]     |
[INFO] [stdout] 459 |     raw::DWT::get_cycle_count()
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::dwt::<impl raw::DWT>::get_cycle_count`: Use `cycle_count` which follows the C-GETTER convention
[INFO] [stdout]    --> src/lib.rs:459:15
[INFO] [stdout]     |
[INFO] [stdout] 459 |     raw::DWT::get_cycle_count()
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/peripherals/dma.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Align512(
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 18 |     Descriptor,
[INFO] [stdout] 19 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 20 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 21 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 23 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 24 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 25 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 26 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 27 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 28 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 30 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 31 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 32 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 33 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 34 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 36 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 37 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 43 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 44 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 45 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 46 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 48 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 49 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 19 ~     (),
[INFO] [stdout] 20 ~     (),
[INFO] [stdout] 21 ~     (),
[INFO] [stdout] 22 ~     (),
[INFO] [stdout] 23 ~     (),
[INFO] [stdout] 24 ~     (),
[INFO] [stdout] 25 ~     (),
[INFO] [stdout] 26 ~     (),
[INFO] [stdout] 27 ~     (),
[INFO] [stdout] 28 ~     (),
[INFO] [stdout] 29 ~     (),
[INFO] [stdout] 30 ~     (),
[INFO] [stdout] 31 ~     (),
[INFO] [stdout] 32 ~     (),
[INFO] [stdout] 33 ~     (),
[INFO] [stdout] 34 ~     (),
[INFO] [stdout] 35 ~     (),
[INFO] [stdout] 36 ~     (),
[INFO] [stdout] 37 ~     (),
[INFO] [stdout] 38 ~     (),
[INFO] [stdout] 39 |     Descriptor,
[INFO] [stdout] 40 |     Descriptor,
[INFO] [stdout] 41 |     Descriptor,
[INFO] [stdout] 42 ~     (),
[INFO] [stdout] 43 ~     (),
[INFO] [stdout] 44 ~     (),
[INFO] [stdout] 45 ~     (),
[INFO] [stdout] 46 ~     (),
[INFO] [stdout] 47 ~     (),
[INFO] [stdout] 48 ~     (),
[INFO] [stdout] 49 ~     (),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PufStates` is never used
[INFO] [stdout]   --> src/peripherals/puf.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait PufStates {}
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `maj_rev`, `min_rev`, and `aperture` are never read
[INFO] [stdout]   --> src/peripherals/rng.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ModuleId {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 14 |     id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     maj_rev: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     min_rev: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     aperture: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModuleId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maj_rev`, `min_rev`, `err_code`, and `frame_nr` are never read
[INFO] [stdout]    --> src/peripherals/usbfs.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct UsbFsDevInfo {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 114 |     maj_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 115 |     min_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 116 |     err_code: u8,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 117 |     frame_nr: u16,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UsbFsDevInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maj_rev`, `min_rev`, `err_code`, and `frame_nr` are never read
[INFO] [stdout]    --> src/peripherals/usbhs.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct UsbHsDevInfo {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 161 |     maj_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 162 |     min_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 163 |     err_code: u8,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 164 |     frame_nr: u16,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UsbHsDevInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:107:41
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let descriptor_addr = unsafe { ((&DESCRIPTORS) as *const Align512) 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]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let descriptor_addr = unsafe { ((&raw const DESCRIPTORS) as *const Align512) as u32 };
[INFO] [stdout]     |                                          ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:221:36
[INFO] [stdout]     |
[INFO] [stdout] 221 |             DESCRIPTORS.21.next = ((&DESCRIPTORS.22) as *const Descriptor) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 221 |             DESCRIPTORS.21.next = ((&raw const DESCRIPTORS.22) as *const Descriptor) as u32;
[INFO] [stdout]     |                                     ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:227:18
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 ((&DESCRIPTORS.0.source_end_addr) as *const u32) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 ((&raw const DESCRIPTORS.0.source_end_addr) as *const u32) as u32;
[INFO] [stdout]     |                   ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:234:36
[INFO] [stdout]     |
[INFO] [stdout] 234 |             DESCRIPTORS.22.next = ((&DESCRIPTORS.23) as *const Descriptor) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 234 |             DESCRIPTORS.22.next = ((&raw const DESCRIPTORS.23) as *const Descriptor) as u32;
[INFO] [stdout]     |                                     ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:247:36
[INFO] [stdout]     |
[INFO] [stdout] 247 |             DESCRIPTORS.23.next = ((&DESCRIPTORS.22) as *const Descriptor) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 247 |             DESCRIPTORS.23.next = ((&raw const DESCRIPTORS.22) as *const Descriptor) as u32;
[INFO] [stdout]     |                                     ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:230:13
[INFO] [stdout]     |
[INFO] [stdout] 230 |             &mut RESULTS
[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] 230 |             &raw mut RESULTS
[INFO] [stdout]     |             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:273:32
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let results = unsafe { &RESULTS };
[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] 273 |         let results = unsafe { &raw const RESULTS };
[INFO] [stdout]     |                                ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:290:25
[INFO] [stdout]     |
[INFO] [stdout] 290 |         return unsafe { &mut RESULTS };
[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] 290 |         return unsafe { &raw mut RESULTS };
[INFO] [stdout]     |                         ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:296:32
[INFO] [stdout]     |
[INFO] [stdout] 296 |         let results = unsafe { &mut RESULTS };
[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] 296 |         let results = unsafe { &raw mut RESULTS };
[INFO] [stdout]     |                                ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let results = unsafe { &RESULTS };
[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] 340 |         let results = unsafe { &raw const RESULTS };
[INFO] [stdout]     |                                ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/peripherals/dma.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Align512(
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 18 |     Descriptor,
[INFO] [stdout] 19 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 20 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 21 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 23 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 24 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 25 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 26 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 27 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 28 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 30 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 31 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 32 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 33 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 34 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 36 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 37 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 43 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 44 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 45 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 46 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 48 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 49 |     Descriptor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 19 ~     (),
[INFO] [stdout] 20 ~     (),
[INFO] [stdout] 21 ~     (),
[INFO] [stdout] 22 ~     (),
[INFO] [stdout] 23 ~     (),
[INFO] [stdout] 24 ~     (),
[INFO] [stdout] 25 ~     (),
[INFO] [stdout] 26 ~     (),
[INFO] [stdout] 27 ~     (),
[INFO] [stdout] 28 ~     (),
[INFO] [stdout] 29 ~     (),
[INFO] [stdout] 30 ~     (),
[INFO] [stdout] 31 ~     (),
[INFO] [stdout] 32 ~     (),
[INFO] [stdout] 33 ~     (),
[INFO] [stdout] 34 ~     (),
[INFO] [stdout] 35 ~     (),
[INFO] [stdout] 36 ~     (),
[INFO] [stdout] 37 ~     (),
[INFO] [stdout] 38 ~     (),
[INFO] [stdout] 39 |     Descriptor,
[INFO] [stdout] 40 |     Descriptor,
[INFO] [stdout] 41 |     Descriptor,
[INFO] [stdout] 42 ~     (),
[INFO] [stdout] 43 ~     (),
[INFO] [stdout] 44 ~     (),
[INFO] [stdout] 45 ~     (),
[INFO] [stdout] 46 ~     (),
[INFO] [stdout] 47 ~     (),
[INFO] [stdout] 48 ~     (),
[INFO] [stdout] 49 ~     (),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PufStates` is never used
[INFO] [stdout]   --> src/peripherals/puf.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait PufStates {}
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `maj_rev`, `min_rev`, and `aperture` are never read
[INFO] [stdout]   --> src/peripherals/rng.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ModuleId {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 14 |     id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     maj_rev: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     min_rev: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     aperture: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModuleId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maj_rev`, `min_rev`, `err_code`, and `frame_nr` are never read
[INFO] [stdout]    --> src/peripherals/usbfs.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct UsbFsDevInfo {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 114 |     maj_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 115 |     min_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 116 |     err_code: u8,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 117 |     frame_nr: u16,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UsbFsDevInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maj_rev`, `min_rev`, `err_code`, and `frame_nr` are never read
[INFO] [stdout]    --> src/peripherals/usbhs.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct UsbHsDevInfo {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 161 |     maj_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 162 |     min_rev: u8,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 163 |     err_code: u8,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 164 |     frame_nr: u16,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UsbHsDevInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:107:41
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let descriptor_addr = unsafe { ((&DESCRIPTORS) as *const Align512) 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]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let descriptor_addr = unsafe { ((&raw const DESCRIPTORS) as *const Align512) as u32 };
[INFO] [stdout]     |                                          ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:221:36
[INFO] [stdout]     |
[INFO] [stdout] 221 |             DESCRIPTORS.21.next = ((&DESCRIPTORS.22) as *const Descriptor) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 221 |             DESCRIPTORS.21.next = ((&raw const DESCRIPTORS.22) as *const Descriptor) as u32;
[INFO] [stdout]     |                                     ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:227:18
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 ((&DESCRIPTORS.0.source_end_addr) as *const u32) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 ((&raw const DESCRIPTORS.0.source_end_addr) as *const u32) as u32;
[INFO] [stdout]     |                   ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:234:36
[INFO] [stdout]     |
[INFO] [stdout] 234 |             DESCRIPTORS.22.next = ((&DESCRIPTORS.23) as *const Descriptor) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 234 |             DESCRIPTORS.22.next = ((&raw const DESCRIPTORS.23) as *const Descriptor) as u32;
[INFO] [stdout]     |                                     ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/peripherals/dma.rs:247:36
[INFO] [stdout]     |
[INFO] [stdout] 247 |             DESCRIPTORS.23.next = ((&DESCRIPTORS.22) as *const Descriptor) 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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 247 |             DESCRIPTORS.23.next = ((&raw const DESCRIPTORS.22) as *const Descriptor) as u32;
[INFO] [stdout]     |                                     ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:230:13
[INFO] [stdout]     |
[INFO] [stdout] 230 |             &mut RESULTS
[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] 230 |             &raw mut RESULTS
[INFO] [stdout]     |             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:273:32
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let results = unsafe { &RESULTS };
[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] 273 |         let results = unsafe { &raw const RESULTS };
[INFO] [stdout]     |                                ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:290:25
[INFO] [stdout]     |
[INFO] [stdout] 290 |         return unsafe { &mut RESULTS };
[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] 290 |         return unsafe { &raw mut RESULTS };
[INFO] [stdout]     |                         ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:296:32
[INFO] [stdout]     |
[INFO] [stdout] 296 |         let results = unsafe { &mut RESULTS };
[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] 296 |         let results = unsafe { &raw mut RESULTS };
[INFO] [stdout]     |                                ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/drivers/touch.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let results = unsafe { &RESULTS };
[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] 340 |         let results = unsafe { &raw const RESULTS };
[INFO] [stdout]     |                                ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lpc55-hal` (example "jump-to-bootloader") due to 1 previous error
[INFO] [stdout] warning: unexpected `cfg` condition name: `core`
[INFO] [stdout]   --> examples/rtic_led.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[rtic::app(device = crate::hal::raw, peripherals = true)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(core, values("1"))'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(core, values(\"1\"))");` to the top of the `build.rs`
[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]    = note: this warning originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lpc55-hal` (example "rtt") due to 1 previous error
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> examples/rtic_led.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[rtic::app(device = crate::hal::raw, peripherals = true)]
[INFO] [stdout]    | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `idleResources` is not local
[INFO] [stdout]    | move the `impl` block outside of this constant `APP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the attribute macro `rtic::app` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the attribute macro `rtic::app` may come from an old version of the `lpc55_rtic_macros` crate, try updating your dependency with `cargo update -p lpc55_rtic_macros`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/rtic_led.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[idle(resources = [led])]
[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]   --> examples/rtic_led.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         led: RedLed,
[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] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4311ce749f4815fd53b91f33b293a3c2440ce111b9fe70206e4affeecb6a3d8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4311ce749f4815fd53b91f33b293a3c2440ce111b9fe70206e4affeecb6a3d8e", kill_on_drop: false }`
[INFO] [stdout] 4311ce749f4815fd53b91f33b293a3c2440ce111b9fe70206e4affeecb6a3d8e
