[INFO] cloning repository https://github.com/gzhynko/cyw43-min [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gzhynko/cyw43-min" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzhynko%2Fcyw43-min", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzhynko%2Fcyw43-min'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89ec930242c1321abcf9eeb4b0b4fb1bb719f357 [INFO] testing gzhynko/cyw43-min against beta-2026-04-21 for beta-1.96-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzhynko%2Fcyw43-min" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gzhynko/cyw43-min [INFO] finished tweaking git repo https://github.com/gzhynko/cyw43-min [INFO] tweaked toml for git repo https://github.com/gzhynko/cyw43-min written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gzhynko/cyw43-min on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gzhynko/cyw43-min 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a702659aa7f9af3e63914d8e7ff23f14da82e1013a2e8c34c6ce63ee35cd769 [INFO] running `Command { std: "docker" "start" "-a" "5a702659aa7f9af3e63914d8e7ff23f14da82e1013a2e8c34c6ce63ee35cd769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a702659aa7f9af3e63914d8e7ff23f14da82e1013a2e8c34c6ce63ee35cd769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a702659aa7f9af3e63914d8e7ff23f14da82e1013a2e8c34c6ce63ee35cd769", kill_on_drop: false }` [INFO] [stdout] 5a702659aa7f9af3e63914d8e7ff23f14da82e1013a2e8c34c6ce63ee35cd769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c9c9ad08477daa343739656965409c620acfab552c040be9034dd99a1665a3d [INFO] running `Command { std: "docker" "start" "-a" "0c9c9ad08477daa343739656965409c620acfab552c040be9034dd99a1665a3d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling defmt v0.3.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling defmt-macros v0.4.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling rp235x-pac v0.1.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling defmt-rtt v0.4.1 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rp-hal-common v0.1.0 [INFO] [stderr] Compiling usb-device v0.3.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling rp-binary-info v0.1.1 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling bitfield v0.14.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling rp235x-hal-macros v0.1.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling defmt-parser v0.4.1 [INFO] [stderr] Compiling pio-parser v0.2.2 [INFO] [stderr] Compiling rp235x-hal v0.3.0 [INFO] [stderr] Compiling pio-proc v0.2.2 [INFO] [stderr] Compiling cyw43-min v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `singleton` [INFO] [stdout] --> src/bus.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rp235x_hal::{singleton, Timer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::any::Any` [INFO] [stdout] --> src/pio_spi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/pio_spi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/pio_spi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/pio_spi.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PinState` [INFO] [stdout] --> src/pio_spi.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::digital::{OutputPin, PinState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pac` and `singleton` [INFO] [stdout] --> src/pio_spi.rs:6:134 [INFO] [stdout] | [INFO] [stdout] 6 | ..., UninitStateMachine, PIO, ShiftDirection}, gpio::AnyPin, singleton, pac}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynFunction`, `DynPullType`, and `PullNone` [INFO] [stdout] --> src/pio_spi.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{DynPullType, FunctionSio, OutputDriveStrength, OutputSlewRate, Pin, PinId, PullType, SioOutput, ValidFunction, PullNone, DynFunction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stopped` [INFO] [stdout] --> src/pio_spi.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use rp235x_hal::pio::{PinDir, Running, Rx, StateMachineIndex, Stopped, Tx}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorType` [INFO] [stdout] --> src/pio_spi.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{ErrorType, SpiBus}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pace`, `ReadTarget`, and `WriteTarget` [INFO] [stdout] --> src/pio_spi.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use rp235x_hal::dma::{Channel, ChannelIndex, Pace, ReadTarget, single_buffer, SingleChannel, WriteTarget}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Transfer` [INFO] [stdout] --> src/pio_spi.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use rp235x_hal::dma::bidirectional::{Config, Transfer}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::pac::pio1::IRQ` [INFO] [stdout] --> src/pio_spi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rp235x_hal::pac::pio1::IRQ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::gpio::SioInput` [INFO] [stdout] --> src/pio_spi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rp235x_hal::gpio::SioInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/pio_spi.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use defmt::{trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadBuffer` and `WriteBuffer` [INFO] [stdout] --> src/pio_spi.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_dma::{ReadBuffer, WriteBuffer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::arch::interrupt_enable` [INFO] [stdout] --> src/pio_spi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rp235x_hal::arch::interrupt_enable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::pac::interrupt` [INFO] [stdout] --> src/pio_spi.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rp235x_hal::pac::interrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/driver.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use defmt::{trace, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `firmware-logs` [INFO] [stdout] --> src/driver.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "firmware-logs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `firmware-logs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bluetooth` [INFO] [stdout] --> src/driver.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(feature = "bluetooth")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bluetooth` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(feature = "defmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:283:7 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg(feature = "defmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidStateMachine` [INFO] [stdout] --> src/pio_spi.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | use rp235x_hal::{self as hal, pio::{PIOExt, StateMachine, ValidStateMachine, UninitStateMachine, PIO, ShiftDirection}, gpio::AnyPin, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpiBus` [INFO] [stdout] --> src/pio_spi.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{ErrorType, SpiBus}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleChannel` [INFO] [stdout] --> src/pio_spi.rs:10:79 [INFO] [stdout] | [INFO] [stdout] 10 | use rp235x_hal::dma::{Channel, ChannelIndex, Pace, ReadTarget, single_buffer, SingleChannel, WriteTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bus.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut val = IRQ_F2_F3_FIFO_RD_UNDERFLOW [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mut pio: &mut PIO

, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Chip { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | bluetooth_base_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pmu_base_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | socram_srmem_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | chanspec_band_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | chanspec_band_2g: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | chanspec_band_5g: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | chanspec_band_shift: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | chanspec_bw_10: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | chanspec_bw_20: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | chanspec_bw_40: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | chanspec_bw_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | chanspec_bw_shift: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | chanspec_ctl_sb_lower: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | chanspec_ctl_sb_upper: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | chanspec_ctl_sb_none: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | chanspec_ctl_sb_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | let status_static: &'static mut [u32; 1] = unsafe { &mut DMA_STATUS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 182 | let status_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_STATUS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | let cmd_static: &'static mut [u32; 1] = unsafe { &mut DMA_CMD_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 225 | let cmd_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_CMD_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:259:61 [INFO] [stdout] | [INFO] [stdout] 259 | let status_static: &'static mut [u32; 1] = unsafe { &mut DMA_STATUS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | let status_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_STATUS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.62s [INFO] running `Command { std: "docker" "inspect" "0c9c9ad08477daa343739656965409c620acfab552c040be9034dd99a1665a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9c9ad08477daa343739656965409c620acfab552c040be9034dd99a1665a3d", kill_on_drop: false }` [INFO] [stdout] 0c9c9ad08477daa343739656965409c620acfab552c040be9034dd99a1665a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 528fd5498fda85b37f788eac246417791b928b891548023e95056435e07a0da6 [INFO] running `Command { std: "docker" "start" "-a" "528fd5498fda85b37f788eac246417791b928b891548023e95056435e07a0da6", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `singleton` [INFO] [stdout] --> src/bus.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rp235x_hal::{singleton, Timer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::any::Any` [INFO] [stdout] --> src/pio_spi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/pio_spi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/pio_spi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/pio_spi.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PinState` [INFO] [stdout] --> src/pio_spi.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::digital::{OutputPin, PinState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pac` and `singleton` [INFO] [stdout] --> src/pio_spi.rs:6:134 [INFO] [stdout] | [INFO] [stdout] 6 | ..., UninitStateMachine, PIO, ShiftDirection}, gpio::AnyPin, singleton, pac}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynFunction`, `DynPullType`, and `PullNone` [INFO] [stdout] --> src/pio_spi.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{DynPullType, FunctionSio, OutputDriveStrength, OutputSlewRate, Pin, PinId, PullType, SioOutput, ValidFunction, PullNone, DynFunction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stopped` [INFO] [stdout] --> src/pio_spi.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use rp235x_hal::pio::{PinDir, Running, Rx, StateMachineIndex, Stopped, Tx}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorType` [INFO] [stdout] --> src/pio_spi.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{ErrorType, SpiBus}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pace`, `ReadTarget`, and `WriteTarget` [INFO] [stdout] --> src/pio_spi.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use rp235x_hal::dma::{Channel, ChannelIndex, Pace, ReadTarget, single_buffer, SingleChannel, WriteTarget}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Transfer` [INFO] [stdout] --> src/pio_spi.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use rp235x_hal::dma::bidirectional::{Config, Transfer}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::pac::pio1::IRQ` [INFO] [stdout] --> src/pio_spi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rp235x_hal::pac::pio1::IRQ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::gpio::SioInput` [INFO] [stdout] --> src/pio_spi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rp235x_hal::gpio::SioInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/pio_spi.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use defmt::{trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadBuffer` and `WriteBuffer` [INFO] [stdout] --> src/pio_spi.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_dma::{ReadBuffer, WriteBuffer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::arch::interrupt_enable` [INFO] [stdout] --> src/pio_spi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rp235x_hal::arch::interrupt_enable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::pac::interrupt` [INFO] [stdout] --> src/pio_spi.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rp235x_hal::pac::interrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/driver.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use defmt::{trace, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `firmware-logs` [INFO] [stdout] --> src/driver.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "firmware-logs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `firmware-logs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bluetooth` [INFO] [stdout] --> src/driver.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(feature = "bluetooth")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bluetooth` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(feature = "defmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:283:7 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg(feature = "defmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidStateMachine` [INFO] [stdout] --> src/pio_spi.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | use rp235x_hal::{self as hal, pio::{PIOExt, StateMachine, ValidStateMachine, UninitStateMachine, PIO, ShiftDirection}, gpio::AnyPin, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpiBus` [INFO] [stdout] --> src/pio_spi.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{ErrorType, SpiBus}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleChannel` [INFO] [stdout] --> src/pio_spi.rs:10:79 [INFO] [stdout] | [INFO] [stdout] 10 | use rp235x_hal::dma::{Channel, ChannelIndex, Pace, ReadTarget, single_buffer, SingleChannel, WriteTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bus.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut val = IRQ_F2_F3_FIFO_RD_UNDERFLOW [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mut pio: &mut PIO

, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cyw43-min v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Chip { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | bluetooth_base_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pmu_base_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | socram_srmem_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | chanspec_band_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | chanspec_band_2g: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | chanspec_band_5g: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | chanspec_band_shift: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | chanspec_bw_10: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | chanspec_bw_20: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | chanspec_bw_40: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | chanspec_bw_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | chanspec_bw_shift: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | chanspec_ctl_sb_lower: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | chanspec_ctl_sb_upper: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | chanspec_ctl_sb_none: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | chanspec_ctl_sb_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | let status_static: &'static mut [u32; 1] = unsafe { &mut DMA_STATUS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 182 | let status_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_STATUS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | let cmd_static: &'static mut [u32; 1] = unsafe { &mut DMA_CMD_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 225 | let cmd_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_CMD_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:259:61 [INFO] [stdout] | [INFO] [stdout] 259 | let status_static: &'static mut [u32; 1] = unsafe { &mut DMA_STATUS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | let status_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_STATUS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `singleton` [INFO] [stdout] --> src/bus.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rp235x_hal::{singleton, Timer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::any::Any` [INFO] [stdout] --> src/pio_spi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/pio_spi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/pio_spi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/pio_spi.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PinState` [INFO] [stdout] --> src/pio_spi.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::digital::{OutputPin, PinState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pac` and `singleton` [INFO] [stdout] --> src/pio_spi.rs:6:134 [INFO] [stdout] | [INFO] [stdout] 6 | ..., UninitStateMachine, PIO, ShiftDirection}, gpio::AnyPin, singleton, pac}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynFunction`, `DynPullType`, and `PullNone` [INFO] [stdout] --> src/pio_spi.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{DynPullType, FunctionSio, OutputDriveStrength, OutputSlewRate, Pin, PinId, PullType, SioOutput, ValidFunction, PullNone, DynFunction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stopped` [INFO] [stdout] --> src/pio_spi.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use rp235x_hal::pio::{PinDir, Running, Rx, StateMachineIndex, Stopped, Tx}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorType` [INFO] [stdout] --> src/pio_spi.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{ErrorType, SpiBus}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pace`, `ReadTarget`, and `WriteTarget` [INFO] [stdout] --> src/pio_spi.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use rp235x_hal::dma::{Channel, ChannelIndex, Pace, ReadTarget, single_buffer, SingleChannel, WriteTarget}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Transfer` [INFO] [stdout] --> src/pio_spi.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use rp235x_hal::dma::bidirectional::{Config, Transfer}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::pac::pio1::IRQ` [INFO] [stdout] --> src/pio_spi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rp235x_hal::pac::pio1::IRQ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::gpio::SioInput` [INFO] [stdout] --> src/pio_spi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rp235x_hal::gpio::SioInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/pio_spi.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use defmt::{trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadBuffer` and `WriteBuffer` [INFO] [stdout] --> src/pio_spi.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_dma::{ReadBuffer, WriteBuffer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::arch::interrupt_enable` [INFO] [stdout] --> src/pio_spi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rp235x_hal::arch::interrupt_enable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp235x_hal::pac::interrupt` [INFO] [stdout] --> src/pio_spi.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rp235x_hal::pac::interrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/driver.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use defmt::{trace, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `firmware-logs` [INFO] [stdout] --> src/driver.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "firmware-logs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `firmware-logs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bluetooth` [INFO] [stdout] --> src/driver.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(feature = "bluetooth")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bluetooth` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(feature = "defmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:283:7 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/consts.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg(feature = "defmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/consts.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidStateMachine` [INFO] [stdout] --> src/pio_spi.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | use rp235x_hal::{self as hal, pio::{PIOExt, StateMachine, ValidStateMachine, UninitStateMachine, PIO, ShiftDirection}, gpio::AnyPin, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpiBus` [INFO] [stdout] --> src/pio_spi.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{ErrorType, SpiBus}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleChannel` [INFO] [stdout] --> src/pio_spi.rs:10:79 [INFO] [stdout] | [INFO] [stdout] 10 | use rp235x_hal::dma::{Channel, ChannelIndex, Pace, ReadTarget, single_buffer, SingleChannel, WriteTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bus.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut val = IRQ_F2_F3_FIFO_RD_UNDERFLOW [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mut pio: &mut PIO

, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pio_spi.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut dma_config = single_buffer::Config::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Chip { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | bluetooth_base_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pmu_base_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | socram_srmem_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | chanspec_band_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | chanspec_band_2g: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | chanspec_band_5g: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | chanspec_band_shift: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | chanspec_bw_10: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | chanspec_bw_20: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | chanspec_bw_40: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | chanspec_bw_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | chanspec_bw_shift: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | chanspec_ctl_sb_lower: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | chanspec_ctl_sb_upper: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | chanspec_ctl_sb_none: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | chanspec_ctl_sb_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | let status_static: &'static mut [u32; 1] = unsafe { &mut DMA_STATUS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 182 | let status_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_STATUS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | let cmd_static: &'static mut [u32; 1] = unsafe { &mut DMA_CMD_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 225 | let cmd_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_CMD_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/pio_spi.rs:259:61 [INFO] [stdout] | [INFO] [stdout] 259 | let status_static: &'static mut [u32; 1] = unsafe { &mut DMA_STATUS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | let status_static: &'static mut [u32; 1] = unsafe { &raw mut DMA_STATUS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc0wk0fL/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libpanic_probe-fd48ffa0fdbdfb30,libdefmt_rtt-22548d09a9e72a50,librp235x_hal-7501065cb05d7674,libitertools-b03a6fe1a43930b2,libeither-952c7f0cf6dce641,libembedded_io-623d6acbbda8dbe7,librand_core-6a43713a341640ab,libsha2_const_stable-c6bb364dd6251493,libbitfield-79a8853737a62c75,libdefmt-645756d5bcaabbdb,libbitflags-a9851ebd0ab18f47,libusb_device-c6d7ffa7c17e9414,libheapless-297241e5f795914a,libhash32-350b3548cc8531d6,libbyteorder-e74f8ca6b6fb5a51,libportable_atomic-eab272a1876e6c2f,librp_hal_common-2f3796d023367915,libembedded_hal_nb-6a85708d69c4dda4,libpio-ae7453976f63a882,libnum_enum-7736842bef27b049,libarrayvec-fbafb981ecfa5d55,libembedded_hal_async-06a5eef8d348cf9b,libfrunk-58a9e93862d175b5,libfrunk_core-25f4cda13e7e49a3,libembedded_dma-2b569d1cf3d4c093,libstable_deref_trait-bb755f991b506613,librp_binary_info-a3afeed39186a3f1,libembedded_hal-2cb997e7ba8846aa,libvoid-bbd1083f9b81c788,libnb-2043b7a5d4bb7b89,libnb-ddbcfeac29d328f0,librp235x_pac-db49990d3ca52343,libcritical_section-4ae4eeb07fb098b2,libvcell-21076c3b64b12fc7,libfugit-2bd235c0b3030285,libgcd-6c1b3de587650629,libembedded_hal-38b84465181a4d84}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustc0wk0fL/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/defmt-7eff737283648099/out" "-L" "/opt/rustwide/target/debug/build/rp235x-pac-bd409acde79e992c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/cyw43_min-e7c422c74438dc71" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: main [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __sidata [INFO] [stdout] >>> referenced by lib.rs:119 (src/lib.rs:119) [INFO] [stdout] >>> rp_binary_info-a3afeed39186a3f1.rp_binary_info.c881ad8c6c1b08e5-cgu.0.rcgu.o:(rp_binary_info::MAPPING_TABLE::h885e1ddce8abc34b) in archive /opt/rustwide/target/debug/deps/librp_binary_info-a3afeed39186a3f1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __sdata [INFO] [stdout] >>> referenced by lib.rs:119 (src/lib.rs:119) [INFO] [stdout] >>> rp_binary_info-a3afeed39186a3f1.rp_binary_info.c881ad8c6c1b08e5-cgu.0.rcgu.o:(rp_binary_info::MAPPING_TABLE::h885e1ddce8abc34b) in archive /opt/rustwide/target/debug/deps/librp_binary_info-a3afeed39186a3f1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __edata [INFO] [stdout] >>> referenced by lib.rs:119 (src/lib.rs:119) [INFO] [stdout] >>> rp_binary_info-a3afeed39186a3f1.rp_binary_info.c881ad8c6c1b08e5-cgu.0.rcgu.o:(rp_binary_info::MAPPING_TABLE::h885e1ddce8abc34b) in archive /opt/rustwide/target/debug/deps/librp_binary_info-a3afeed39186a3f1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __bi_entries_start [INFO] [stdout] >>> referenced by lib.rs:110 (src/lib.rs:110) [INFO] [stdout] >>> rp_binary_info-a3afeed39186a3f1.rp_binary_info.c881ad8c6c1b08e5-cgu.0.rcgu.o:(rp_binary_info::PICOTOOL_HEADER::hc4fb85bc956e2fc2) in archive /opt/rustwide/target/debug/deps/librp_binary_info-a3afeed39186a3f1.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __bi_entries_end [INFO] [stdout] >>> referenced by lib.rs:110 (src/lib.rs:110) [INFO] [stdout] >>> rp_binary_info-a3afeed39186a3f1.rp_binary_info.c881ad8c6c1b08e5-cgu.0.rcgu.o:(rp_binary_info::PICOTOOL_HEADER::hc4fb85bc956e2fc2) in archive /opt/rustwide/target/debug/deps/librp_binary_info-a3afeed39186a3f1.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cyw43-min` (lib test) due to 1 previous error; 42 warnings emitted [INFO] running `Command { std: "docker" "inspect" "528fd5498fda85b37f788eac246417791b928b891548023e95056435e07a0da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528fd5498fda85b37f788eac246417791b928b891548023e95056435e07a0da6", kill_on_drop: false }` [INFO] [stdout] 528fd5498fda85b37f788eac246417791b928b891548023e95056435e07a0da6