[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smart-leds-trait v0.2.1 [INFO] [stderr] Downloaded panic-probe v0.3.0 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded defmt-parser v0.3.1 [INFO] [stderr] Downloaded defmt v0.3.2 [INFO] [stderr] Downloaded atomic-polyfill v0.1.8 [INFO] [stderr] Downloaded cortex-m-rtic-macros v1.1.4 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded rtic-monotonic v1.0.0 [INFO] [stderr] Downloaded rtic-syntax v1.0.1 [INFO] [stderr] Downloaded nrf-hal-common v0.15.1 [INFO] [stderr] Downloaded cortex-m-rtic v1.1.2 [INFO] [stderr] Downloaded libm v0.2.3 [INFO] [stderr] Downloaded fixed v1.15.0 [INFO] [stderr] Downloaded cortex-m-rt v0.7.1 [INFO] [stderr] Downloaded critical-section v0.2.7 [INFO] [stderr] Downloaded defmt-rtt v0.3.2 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded embedded-storage v0.3.0 [INFO] [stderr] Downloaded cortex-m v0.7.5 [INFO] [stderr] Downloaded nrf52832-hal v0.15.1 [INFO] [stderr] Downloaded nrf52832-pac v0.11.0 [INFO] [stderr] Downloaded smart-leds v0.3.0 [INFO] [stderr] Downloaded heapless v0.7.13 [INFO] [stderr] Downloaded ws2812-spi v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7e3afa8bfd8f23d0ffb5c0638b4a3bc7265b6bf54046baa4a30b62f0fca1ad1 [INFO] running `Command { std: "docker" "start" "-a" "c7e3afa8bfd8f23d0ffb5c0638b4a3bc7265b6bf54046baa4a30b62f0fca1ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7e3afa8bfd8f23d0ffb5c0638b4a3bc7265b6bf54046baa4a30b62f0fca1ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e3afa8bfd8f23d0ffb5c0638b4a3bc7265b6bf54046baa4a30b62f0fca1ad1", kill_on_drop: false }` [INFO] [stdout] c7e3afa8bfd8f23d0ffb5c0638b4a3bc7265b6bf54046baa4a30b62f0fca1ad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 766120b5ae1d405f42f8dfbac1de48c76e78e42cf9b8befdd429781f80197321 [INFO] running `Command { std: "docker" "start" "-a" "766120b5ae1d405f42f8dfbac1de48c76e78e42cf9b8befdd429781f80197321", 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] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling nrf52832-pac v0.11.0 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Checking byteorder v1.4.3 [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 embedded-dma v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v1.1.2 [INFO] [stderr] Checking embedded-storage v0.3.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Compiling nrf52832-hal v0.15.1 [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking smart-leds v0.3.0 [INFO] [stderr] Checking ws2812-spi v0.4.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling heapless v0.7.13 [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] [stdout] warning: unused import: `gamma` [INFO] [stdout] --> src/boxx.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | use smart_leds::{gamma, hsv::hsv2rgb, hsv::Hsv}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gamma` [INFO] [stdout] --> src/boxx.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | use smart_leds::{gamma, hsv::hsv2rgb, hsv::Hsv}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: `#[warn(static_mut_refs)]` on by default [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: 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: `#[warn(static_mut_refs)]` on by default [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: variable does not need to be mutable [INFO] [stdout] --> src/boxx.rs:365:15 [INFO] [stdout] | [INFO] [stdout] 365 | fn timer3(mut ctx: timer3::Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/boxx.rs:536:27 [INFO] [stdout] | [INFO] [stdout] 536 | let (success, addr) = ctx.local.radio.read_packet(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxx.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/radio.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 52 | pub fn serialize(&self) -> [u8; MESSAGE_LENGTH] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_draw_mA` should have a snake case name [INFO] [stdout] --> src/boxx.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut total_draw_mA: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_draw_m_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/boxx.rs:365:15 [INFO] [stdout] | [INFO] [stdout] 365 | fn timer3(mut ctx: timer3::Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/boxx.rs:536:27 [INFO] [stdout] | [INFO] [stdout] 536 | let (success, addr) = ctx.local.radio.read_packet(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxx.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/radio.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 52 | pub fn serialize(&self) -> [u8; MESSAGE_LENGTH] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_draw_mA` should have a snake case name [INFO] [stdout] --> src/boxx.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut total_draw_mA: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_draw_m_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 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: `#[warn(static_mut_refs)]` on by default [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: variable does not need to be mutable [INFO] [stdout] --> src/remote.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut radio = Radio::new(ctx.device.RADIO, 1, 0xf); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/remote.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | fn idle(cx: idle::Context) -> ! { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/remote.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | +++++++ [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: `#[warn(static_mut_refs)]` on by default [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: 5 warnings emitted [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: variable does not need to be mutable [INFO] [stdout] --> src/remote.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut radio = Radio::new(ctx.device.RADIO, 1, 0xf); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/remote.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | fn idle(cx: idle::Context) -> ! { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/remote.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.79s [INFO] running `Command { std: "docker" "inspect" "766120b5ae1d405f42f8dfbac1de48c76e78e42cf9b8befdd429781f80197321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766120b5ae1d405f42f8dfbac1de48c76e78e42cf9b8befdd429781f80197321", kill_on_drop: false }` [INFO] [stdout] 766120b5ae1d405f42f8dfbac1de48c76e78e42cf9b8befdd429781f80197321 [INFO] checking tkonolige/lightning-in-a-box against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9d00fcf6256c2f1f5d40d9d2fcc887ad58d163c7788fc40caa56b43e1400952 [INFO] running `Command { std: "docker" "start" "-a" "d9d00fcf6256c2f1f5d40d9d2fcc887ad58d163c7788fc40caa56b43e1400952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9d00fcf6256c2f1f5d40d9d2fcc887ad58d163c7788fc40caa56b43e1400952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d00fcf6256c2f1f5d40d9d2fcc887ad58d163c7788fc40caa56b43e1400952", kill_on_drop: false }` [INFO] [stdout] d9d00fcf6256c2f1f5d40d9d2fcc887ad58d163c7788fc40caa56b43e1400952 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94fd05c194e598c555d04ef4eb730f25477cbe894cdd291c4183f65cc69fed01 [INFO] running `Command { std: "docker" "start" "-a" "94fd05c194e598c555d04ef4eb730f25477cbe894cdd291c4183f65cc69fed01", 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] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Compiling nrf52832-pac v0.11.0 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling critical-section v0.2.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling nrf-hal-common v0.15.1 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v1.1.2 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking embedded-storage v0.3.0 [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Compiling nrf52832-hal v0.15.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking ws2812-spi v0.4.0 [INFO] [stderr] Checking smart-leds v0.3.0 [INFO] [stderr] Compiling heapless v0.7.13 [INFO] [stderr] Compiling quote v1.0.18 [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] [stdout] warning: unused import: `gamma` [INFO] [stdout] --> src/boxx.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | use smart_leds::{gamma, hsv::hsv2rgb, hsv::Hsv}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: `#[warn(static_mut_refs)]` on by default [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: unused import: `gamma` [INFO] [stdout] --> src/boxx.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | use smart_leds::{gamma, hsv::hsv2rgb, hsv::Hsv}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/remote.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut radio = Radio::new(ctx.device.RADIO, 1, 0xf); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/remote.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | fn idle(cx: idle::Context) -> ! { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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: `#[warn(static_mut_refs)]` on by default [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: variable does not need to be mutable [INFO] [stdout] --> src/remote.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut radio = Radio::new(ctx.device.RADIO, 1, 0xf); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/remote.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | fn idle(cx: idle::Context) -> ! { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/remote.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | +++++++ [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: `#[warn(static_mut_refs)]` on by default [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: unused `Result` that must be used [INFO] [stdout] --> src/remote.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = ctx.shared.status_led.lock(|led| led.set_low()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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: 5 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: `#[warn(static_mut_refs)]` on by default [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: variable does not need to be mutable [INFO] [stdout] --> src/boxx.rs:365:15 [INFO] [stdout] | [INFO] [stdout] 365 | fn timer3(mut ctx: timer3::Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/boxx.rs:536:27 [INFO] [stdout] | [INFO] [stdout] 536 | let (success, addr) = ctx.local.radio.read_packet(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxx.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: method `serialize` is never used [INFO] [stdout] --> src/radio.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 52 | pub fn serialize(&self) -> [u8; MESSAGE_LENGTH] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_draw_mA` should have a snake case name [INFO] [stdout] --> src/boxx.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut total_draw_mA: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_draw_m_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/boxx.rs:365:15 [INFO] [stdout] | [INFO] [stdout] 365 | fn timer3(mut ctx: timer3::Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/boxx.rs:536:27 [INFO] [stdout] | [INFO] [stdout] 536 | let (success, addr) = ctx.local.radio.read_packet(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxx.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/radio.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 52 | pub fn serialize(&self) -> [u8; MESSAGE_LENGTH] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_draw_mA` should have a snake case name [INFO] [stdout] --> src/boxx.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut total_draw_mA: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_draw_m_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.74s [INFO] running `Command { std: "docker" "inspect" "94fd05c194e598c555d04ef4eb730f25477cbe894cdd291c4183f65cc69fed01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94fd05c194e598c555d04ef4eb730f25477cbe894cdd291c4183f65cc69fed01", kill_on_drop: false }` [INFO] [stdout] 94fd05c194e598c555d04ef4eb730f25477cbe894cdd291c4183f65cc69fed01