[INFO] cloning repository https://github.com/ninjasource/nrf5340-app-hal-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ninjasource/nrf5340-app-hal-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjasource%2Fnrf5340-app-hal-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjasource%2Fnrf5340-app-hal-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44cf637d8b4d83adbc72709580ccf54c8d0ce739 [INFO] checking ninjasource/nrf5340-app-hal-example against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjasource%2Fnrf5340-app-hal-example" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ninjasource/nrf5340-app-hal-example on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ninjasource/nrf5340-app-hal-example [INFO] finished tweaking git repo https://github.com/ninjasource/nrf5340-app-hal-example [INFO] tweaked toml for git repo https://github.com/ninjasource/nrf5340-app-hal-example written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ninjasource/nrf5340-app-hal-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ninjasource/nrf-hal.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded critical-section v0.2.5 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.3 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.9 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded fixed v1.13.1 [INFO] [stderr] Downloaded cortex-m v0.7.4 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded bytemuck v1.8.0 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] [stderr] Downloaded embedded-storage v0.3.0 [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded defmt v0.3.1 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded nrf5340-app-pac v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80a9d60b3d2da931aca00db035919c50e02982472e64f8da7f60648f9d072360 [INFO] running `Command { std: "docker" "start" "-a" "80a9d60b3d2da931aca00db035919c50e02982472e64f8da7f60648f9d072360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80a9d60b3d2da931aca00db035919c50e02982472e64f8da7f60648f9d072360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a9d60b3d2da931aca00db035919c50e02982472e64f8da7f60648f9d072360", kill_on_drop: false }` [INFO] [stdout] 80a9d60b3d2da931aca00db035919c50e02982472e64f8da7f60648f9d072360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16bd471c9bfbab8dd5bbd3a6016aa9783812f784078889534469c63ed5b9e79a [INFO] running `Command { std: "docker" "start" "-a" "16bd471c9bfbab8dd5bbd3a6016aa9783812f784078889534469c63ed5b9e79a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling defmt v0.3.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Compiling nrf5340-app-pac v0.11.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixed v1.13.1 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Compiling nrf-hal-common v0.15.0 (https://github.com/ninjasource/nrf-hal.git?branch=nrf5340-s#6b51b801) [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling critical-section v0.2.5 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v0.5.9 [INFO] [stderr] Checking embedded-storage v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling panic-probe v0.3.0 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling nrf5340-app-hal v0.15.0 (https://github.com/ninjasource/nrf-hal.git?branch=nrf5340-s#6b51b801) [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.15 [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] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.3 [INFO] [stderr] Checking nrf5340-app-hal-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> src/main.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[rtic::app(device = crate::hal::pac, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] [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 `rtic::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_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 `rtic::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] --> src/main.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[rtic::app(device = crate::hal::pac, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] [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 `rtic::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_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 `rtic::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] --> src/main.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[rtic::app(device = crate::hal::pac, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `idleResources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `rtic::app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_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 `rtic::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] --> src/main.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | #[idle(resources=[led])] [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] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | led: Pin>, [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] --> src/main.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[rtic::app(device = crate::hal::pac, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `idleResources` is not local [INFO] [stdout] | move the `impl` block outside of this constant `APP` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `rtic::app` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_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 `rtic::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] --> src/main.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | #[idle(resources=[led])] [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] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | led: Pin>, [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 38.03s [INFO] running `Command { std: "docker" "inspect" "16bd471c9bfbab8dd5bbd3a6016aa9783812f784078889534469c63ed5b9e79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16bd471c9bfbab8dd5bbd3a6016aa9783812f784078889534469c63ed5b9e79a", kill_on_drop: false }` [INFO] [stdout] 16bd471c9bfbab8dd5bbd3a6016aa9783812f784078889534469c63ed5b9e79a