[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 try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: write /var/lib/docker/overlay2/f28af36e95abeef13e7be98fa4e029eed221bfc58c69584540f944370773dc00/.tmp-lower1292318381: no space left on device [INFO] checking tkonolige/lightning-in-a-box against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/dffdbf3b21706d8f124c0d9ffc5d178f6c5b2f62351c1504630a36f6874d01eb-init: no space left on device [INFO] checking tkonolige/lightning-in-a-box against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/boxx.rs [INFO] [stderr] error: unable to write file src/radio.rs [INFO] [stderr] error: unable to write file src/remote.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking tkonolige/lightning-in-a-box against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkonolige%2Flightning-in-a-box" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tkonolige/lightning-in-a-box on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ae3196ab21a0333e9edd3124d91723b80a368ce3c01f9dcc4844891789809f6 [INFO] running `Command { std: "docker" "start" "-a" "8ae3196ab21a0333e9edd3124d91723b80a368ce3c01f9dcc4844891789809f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ae3196ab21a0333e9edd3124d91723b80a368ce3c01f9dcc4844891789809f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae3196ab21a0333e9edd3124d91723b80a368ce3c01f9dcc4844891789809f6", kill_on_drop: false }` [INFO] [stdout] 8ae3196ab21a0333e9edd3124d91723b80a368ce3c01f9dcc4844891789809f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb47ac2802304a362f0db70c5f52e96439c572dce0eee8fecf65e20ca667ea98 [INFO] running `Command { std: "docker" "start" "-a" "bb47ac2802304a362f0db70c5f52e96439c572dce0eee8fecf65e20ca667ea98", 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 semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling nrf52832-pac v0.11.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling heapless v0.7.13 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling nrf-hal-common v0.15.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling critical-section v0.2.7 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v1.1.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling nrf52832-hal v0.15.1 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Checking embedded-storage v0.3.0 [INFO] [stderr] Compiling libm v0.2.3 [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 ws2812-spi v0.4.0 [INFO] [stderr] Checking smart-leds v0.3.0 [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: 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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 266 - unsafe { &mut LED_BITS1 }, [INFO] [stdout] 266 + unsafe { &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 283 - unsafe { &mut LED_BITS2 }, [INFO] [stdout] 283 + unsafe { &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 300 - unsafe { &mut LED_BITS3 }, [INFO] [stdout] 300 + unsafe { &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 316 - radio.recv(&mut RECV_BUF); [INFO] [stdout] 316 + radio.recv(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 540 - ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] 540 + ctx.local.radio.recv(&raw 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 545 - let message = Message::from(unsafe { &RECV_BUF }); [INFO] [stdout] 545 + let message = Message::from(unsafe { &raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 576 - ctx.local.radio.send_from(0, &mut SEND_BUF); [INFO] [stdout] 576 + ctx.local.radio.send_from(0, &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 581 - ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] 581 + ctx.local.radio.recv(&raw 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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 - radio.send(&mut SEND_BUF); [INFO] [stdout] 171 + radio.send(&raw mut SEND_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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 276 - radio.recv(&mut RECV_BUF); [INFO] [stdout] 276 + radio.recv(&raw 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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 266 - unsafe { &mut LED_BITS1 }, [INFO] [stdout] 266 + unsafe { &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 283 - unsafe { &mut LED_BITS2 }, [INFO] [stdout] 283 + unsafe { &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 300 - unsafe { &mut LED_BITS3 }, [INFO] [stdout] 300 + unsafe { &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 316 - radio.recv(&mut RECV_BUF); [INFO] [stdout] 316 + radio.recv(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 540 - ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] 540 + ctx.local.radio.recv(&raw 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 545 - let message = Message::from(unsafe { &RECV_BUF }); [INFO] [stdout] 545 + let message = Message::from(unsafe { &raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 576 - ctx.local.radio.send_from(0, &mut SEND_BUF); [INFO] [stdout] 576 + ctx.local.radio.send_from(0, &raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 581 - ctx.local.radio.recv(&mut RECV_BUF); [INFO] [stdout] 581 + ctx.local.radio.recv(&raw 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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 - radio.send(&mut SEND_BUF); [INFO] [stdout] 171 + radio.send(&raw mut SEND_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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 276 - radio.recv(&mut RECV_BUF); [INFO] [stdout] 276 + radio.recv(&raw mut RECV_BUF); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.82s [INFO] running `Command { std: "docker" "inspect" "bb47ac2802304a362f0db70c5f52e96439c572dce0eee8fecf65e20ca667ea98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb47ac2802304a362f0db70c5f52e96439c572dce0eee8fecf65e20ca667ea98", kill_on_drop: false }` [INFO] [stdout] bb47ac2802304a362f0db70c5f52e96439c572dce0eee8fecf65e20ca667ea98