[INFO] cloning repository https://github.com/mattheww/microbit-blinkenlights [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattheww/microbit-blinkenlights" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattheww%2Fmicrobit-blinkenlights", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattheww%2Fmicrobit-blinkenlights'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b2b9c54dadeeb107ffd4c342f83efa0459ae50d [INFO] checking mattheww/microbit-blinkenlights against master#fe348cd1a8e0fa445b772393147ed865904dcd4d for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattheww%2Fmicrobit-blinkenlights" "/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/mattheww/microbit-blinkenlights on toolchain fe348cd1a8e0fa445b772393147ed865904dcd4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "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/mattheww/microbit-blinkenlights [INFO] finished tweaking git repo https://github.com/mattheww/microbit-blinkenlights [INFO] tweaked toml for git repo https://github.com/mattheww/microbit-blinkenlights written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding cortex-m-semihosting v0.3.7 (available: v0.5.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nrf51-hal v0.7.1 (available: v0.18.0) [INFO] [stderr] Adding panic-semihosting v0.5.6 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded panic-semihosting v0.5.6 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded rtfm-core v0.3.0 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded tiny-led-matrix v1.0.2 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded fpa v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.5.1 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded rtfm-syntax v0.4.0 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded cortex-m-rtfm v0.5.3 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded nrf51-hal v0.7.1 [INFO] [stderr] Downloaded nrf51 v0.7.0 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded r0 v0.2.2 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a73bc1e86bdb6623299ad02dfa0a3fc1338238d1fe2853b28cb4f6c03b77d6e1 [INFO] running `Command { std: "docker" "start" "-a" "a73bc1e86bdb6623299ad02dfa0a3fc1338238d1fe2853b28cb4f6c03b77d6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a73bc1e86bdb6623299ad02dfa0a3fc1338238d1fe2853b28cb4f6c03b77d6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73bc1e86bdb6623299ad02dfa0a3fc1338238d1fe2853b28cb4f6c03b77d6e1", kill_on_drop: false }` [INFO] [stdout] a73bc1e86bdb6623299ad02dfa0a3fc1338238d1fe2853b28cb4f6c03b77d6e1 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d247aa6fa6fa0eec51693fab7eb59b27b49ddce6fb22f4894902650f0409711f [INFO] running `Command { std: "docker" "start" "-a" "d247aa6fa6fa0eec51693fab7eb59b27b49ddce6fb22f4894902650f0409711f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fpa v0.1.0 [INFO] [stderr] Compiling nrf51 v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling rmicrobit v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rtfm-core v0.3.0 [INFO] [stderr] Checking tiny-led-matrix v1.0.2 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.1 [INFO] [stderr] Checking nrf51-hal v0.7.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/use_display_port.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_display_port.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn init(cx: init::Context) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/scroll_text.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/scroll_text.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/scroll_images.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/scroll_images.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/heartbeat.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/heartbeat.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/use_single_button_monitor.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/use_core_buttons.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `handle_buttons`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_single_button_monitor.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | spawn = [handle_buttons], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_single_button_monitor.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> examples/demo/demo.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 10..=17 => (18 - frame_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - 10..=17 => (18 - frame_index), [INFO] [stdout] 85 + 10..=17 => 18 - frame_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> examples/demo/demo.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | 10..=17 => (18 - frame_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - 10..=17 => (18 - frame_index), [INFO] [stdout] 94 + 10..=17 => 18 - frame_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/demo/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `handle_buttons`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_core_buttons.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | spawn = [handle_buttons], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_core_buttons.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `handle_buttons`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/demo/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | spawn = [handle_buttons], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/demo/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/use_dual_button_monitor.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `handle_buttons`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_dual_button_monitor.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | spawn = [handle_buttons], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> examples/use_dual_button_monitor.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn init(cx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/scroll_text.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/scroll_text.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/scroll_text.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `rtc0Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | resources = [anim_timer, display, scroller])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | resources = [anim_timer, display, scroller])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | anim_timer: LoResTimer, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_text.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | scroller: ScrollingStaticText, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/heartbeat.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/heartbeat.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | static mut STEP: u8 = 0; [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/heartbeat.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/heartbeat.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/heartbeat.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/heartbeat.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `rtc0Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/heartbeat.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | resources = [anim_timer, display])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/heartbeat.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | anim_timer: LoResTimer, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/heartbeat.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/scroll_images.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/scroll_images.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/scroll_images.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `rtc0Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | resources = [anim_timer, display, scroller])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | resources = [anim_timer, display, scroller])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | anim_timer: LoResTimer, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/scroll_images.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | scroller: ScrollingImages<&'static GreyscaleImage>, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_dual_button_monitor.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_dual_button_monitor.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_dual_button_monitor.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `handle_buttonsResources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | resources = [display, monitor, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | resources = [display, monitor, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_dual_button_monitor.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Spawn` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | demo: DemoState, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_dual_button_monitor.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | monitor: ABMonitor, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_single_button_monitor.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_single_button_monitor.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_single_button_monitor.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `handle_buttonsResources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | resources = [display, monitor_a, monitor_b, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | resources = [display, monitor_a, monitor_b, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:94:56 [INFO] [stdout] | [INFO] [stdout] 94 | resources = [display, monitor_a, monitor_b, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_single_button_monitor.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Spawn` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | demo: DemoState, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | monitor_a: ButtonAMonitor, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_core_buttons.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_core_buttons.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_core_buttons.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `handle_buttonsResources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | resources = [display, button_a, button_b, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | resources = [display, button_a, button_b, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:87:54 [INFO] [stdout] | [INFO] [stdout] 87 | resources = [display, button_a, button_b, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/use_core_buttons.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Spawn` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | button_a: ButtonA, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | button_b: ButtonB, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | demo: DemoState, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_single_button_monitor.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | monitor_b: ButtonBMonitor, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/use_core_buttons.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | static mut FRAME: MicrobitFrame = MicrobitFrame::const_default(); [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/demo/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `display` is not local [INFO] [stdout] | `Mutex` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | resources = [display])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/demo/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `timer1Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/demo/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `rtc0Resources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | resources = [anim_timer, display, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | resources = [anim_timer, display, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/demo/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `handle_buttonsResources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | resources = [display, button_monitor, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | resources = [display, button_monitor, demo])] [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/demo/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[app(device = rmicrobit::nrf51, peripherals = true)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Spawn` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | anim_timer: LoResTimer, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | button_monitor: ABMonitor, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | demo: demo::Demo, [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/demo/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | display: MicrobitDisplay, [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.77s [INFO] running `Command { std: "docker" "inspect" "d247aa6fa6fa0eec51693fab7eb59b27b49ddce6fb22f4894902650f0409711f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d247aa6fa6fa0eec51693fab7eb59b27b49ddce6fb22f4894902650f0409711f", kill_on_drop: false }` [INFO] [stdout] d247aa6fa6fa0eec51693fab7eb59b27b49ddce6fb22f4894902650f0409711f