[INFO] cloning repository https://github.com/tkonolige/lightning-in-a-box [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tkonolige/lightning-in-a-box" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78c26cfb19338b88718e659cc832b4b3aacfa506 [INFO] checking tkonolige/lightning-in-a-box against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/tkonolige/lightning-in-a-box [INFO] finished tweaking git repo https://github.com/tkonolige/lightning-in-a-box [INFO] tweaked toml for git repo https://github.com/tkonolige/lightning-in-a-box written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tkonolige/lightning-in-a-box 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-probe v0.3.0 [INFO] [stderr] Downloaded smart-leds-trait v0.2.1 [INFO] [stderr] Downloaded rgb v0.8.32 [INFO] [stderr] Downloaded defmt v0.3.2 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded critical-section v0.2.7 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded defmt-rtt v0.3.2 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded rtic-syntax v1.0.1 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded nrf52832-pac v0.11.0 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded atomic-polyfill v0.1.8 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded heapless v0.7.13 [INFO] [stderr] Downloaded cortex-m-rtic v1.1.2 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded libm v0.2.3 [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded fixed v1.15.0 [INFO] [stderr] Downloaded nrf-hal-common v0.15.1 [INFO] [stderr] Downloaded cortex-m-rt v0.7.1 [INFO] [stderr] Downloaded cortex-m v0.7.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded rtic-monotonic v1.0.0 [INFO] [stderr] Downloaded cortex-m-rtic-macros v1.1.4 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded embedded-storage v0.3.0 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded nrf52832-hal v0.15.1 [INFO] [stderr] Downloaded defmt-parser v0.3.1 [INFO] [stderr] Downloaded smart-leds v0.3.0 [INFO] [stderr] Downloaded ws2812-spi v0.4.0 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfe66260020030d94335a6774e6a735183c88f96b16306144c2c344542dd5100 [INFO] running `Command { std: "docker" "start" "-a" "bfe66260020030d94335a6774e6a735183c88f96b16306144c2c344542dd5100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe66260020030d94335a6774e6a735183c88f96b16306144c2c344542dd5100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe66260020030d94335a6774e6a735183c88f96b16306144c2c344542dd5100", kill_on_drop: false }` [INFO] [stdout] bfe66260020030d94335a6774e6a735183c88f96b16306144c2c344542dd5100 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18709e67b5af0cdabb901ef3fb5f00bbd333d74f91ad988173108fa076599b7d [INFO] running `Command { std: "docker" "start" "-a" "18709e67b5af0cdabb901ef3fb5f00bbd333d74f91ad988173108fa076599b7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling cortex-m v0.7.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Compiling nrf52832-pac v0.11.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling nrf-hal-common v0.15.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling critical-section v0.2.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v1.1.2 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Checking embedded-storage v0.3.0 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling nrf52832-hal v0.15.1 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling heapless v0.7.13 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Checking smart-leds v0.3.0 [INFO] [stderr] Checking ws2812-spi v0.4.0 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rtic-syntax v1.0.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.4 [INFO] [stderr] Checking lightning-in-a-box v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.59s [INFO] running `Command { std: "docker" "inspect" "18709e67b5af0cdabb901ef3fb5f00bbd333d74f91ad988173108fa076599b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18709e67b5af0cdabb901ef3fb5f00bbd333d74f91ad988173108fa076599b7d", kill_on_drop: false }` [INFO] [stdout] 18709e67b5af0cdabb901ef3fb5f00bbd333d74f91ad988173108fa076599b7d [INFO] checking tkonolige/lightning-in-a-box against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/tkonolige/lightning-in-a-box [INFO] finished tweaking git repo https://github.com/tkonolige/lightning-in-a-box [INFO] tweaked toml for git repo https://github.com/tkonolige/lightning-in-a-box written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tkonolige/lightning-in-a-box 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5221d96f8af2f1a8da0e6ffd4a474fee208e2a62116963472abe81634419483 [INFO] running `Command { std: "docker" "start" "-a" "a5221d96f8af2f1a8da0e6ffd4a474fee208e2a62116963472abe81634419483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5221d96f8af2f1a8da0e6ffd4a474fee208e2a62116963472abe81634419483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5221d96f8af2f1a8da0e6ffd4a474fee208e2a62116963472abe81634419483", kill_on_drop: false }` [INFO] [stdout] a5221d96f8af2f1a8da0e6ffd4a474fee208e2a62116963472abe81634419483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b7963cdde09ad6bd1ae628d56f4fbfc7be575b9cf3c43d61b1a525254cb27d [INFO] running `Command { std: "docker" "start" "-a" "45b7963cdde09ad6bd1ae628d56f4fbfc7be575b9cf3c43d61b1a525254cb27d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling cortex-m v0.7.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Compiling nrf52832-pac v0.11.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling critical-section v0.2.7 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling nrf-hal-common v0.15.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v1.1.2 [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Checking embedded-storage v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling nrf52832-hal v0.15.1 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking smart-leds v0.3.0 [INFO] [stderr] Checking ws2812-spi v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling heapless v0.7.13 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rtic-syntax v1.0.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.4 [INFO] [stderr] Checking lightning-in-a-box v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/remote.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/boxx.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(&mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | ... radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 276 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { &mut LED_BITS1 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { addr_of_mut!(LED_BITS1) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { &mut LED_BITS2 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { addr_of_mut!(LED_BITS2) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { &mut LED_BITS3 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { addr_of_mut!(LED_BITS3) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:545:50 [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { &RECV_BUF }); [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { addr_of!(RECV_BUF) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:576:46 [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, &mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { &mut LED_BITS1 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { addr_of_mut!(LED_BITS1) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { &mut LED_BITS2 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { addr_of_mut!(LED_BITS2) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { &mut LED_BITS3 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { addr_of_mut!(LED_BITS3) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:545:50 [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { &RECV_BUF }); [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { addr_of!(RECV_BUF) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:576:46 [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, &mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/boxx.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(&mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | ... radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 276 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lightning-in-a-box v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/remote.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(&mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/remote.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(&mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 | radio.send(addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/remote.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | ... radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 276 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/remote.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | ... radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 276 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { &mut LED_BITS1 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { addr_of_mut!(LED_BITS1) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { &mut LED_BITS1 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { addr_of_mut!(LED_BITS1) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { &mut LED_BITS2 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { addr_of_mut!(LED_BITS2) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { &mut LED_BITS2 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { addr_of_mut!(LED_BITS2) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { &mut LED_BITS3 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { addr_of_mut!(LED_BITS3) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { &mut LED_BITS3 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { addr_of_mut!(LED_BITS3) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 316 | radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/boxx.rs:545:50 [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { &RECV_BUF }); [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { addr_of!(RECV_BUF) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:576:46 [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, &mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 540 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/boxx.rs:545:50 [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { &RECV_BUF }); [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 545 | let message = Message::from(unsafe { addr_of!(RECV_BUF) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:576:46 [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, &mut SEND_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 576 | ctx.local.radio.send_from(0, addr_of_mut!(SEND_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/boxx.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 581 | ctx.local.radio.recv(addr_of_mut!(RECV_BUF)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lightning-in-a-box` (bin "remote" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lightning-in-a-box` (bin "remote") due to 3 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lightning-in-a-box` (bin "boxx" test) due to 9 previous errors [INFO] [stderr] error: could not compile `lightning-in-a-box` (bin "boxx") due to 9 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "45b7963cdde09ad6bd1ae628d56f4fbfc7be575b9cf3c43d61b1a525254cb27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b7963cdde09ad6bd1ae628d56f4fbfc7be575b9cf3c43d61b1a525254cb27d", kill_on_drop: false }` [INFO] [stdout] 45b7963cdde09ad6bd1ae628d56f4fbfc7be575b9cf3c43d61b1a525254cb27d