[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 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjasource%2Fnrf5340-app-hal-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ninjasource/nrf5340-app-hal-example on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--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]     Updating git repository `https://github.com/ninjasource/nrf-hal.git`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded panic-probe v0.3.0
[INFO] [stderr]   Downloaded defmt v0.3.1
[INFO] [stderr]   Downloaded defmt-parser v0.3.1
[INFO] [stderr]   Downloaded defmt-macros v0.3.2
[INFO] [stderr]   Downloaded defmt-rtt v0.3.2
[INFO] [stderr]   Downloaded as-slice v0.1.5
[INFO] [stderr]   Downloaded cortex-m v0.7.4
[INFO] [stderr]   Downloaded embedded-storage v0.3.0
[INFO] [stderr]   Downloaded rtic-core v0.3.1
[INFO] [stderr]   Downloaded critical-section v0.2.5
[INFO] [stderr]   Downloaded hash32 v0.1.1
[INFO] [stderr]   Downloaded bytemuck v1.8.0
[INFO] [stderr]   Downloaded az v1.2.0
[INFO] [stderr]   Downloaded riscv-target v0.1.2
[INFO] [stderr]   Downloaded cortex-m-rtic-macros v0.5.3
[INFO] [stderr]   Downloaded rtic-syntax v0.4.0
[INFO] [stderr]   Downloaded heapless v0.6.1
[INFO] [stderr]   Downloaded cortex-m-rtic v0.5.9
[INFO] [stderr]   Downloaded riscv v0.7.0
[INFO] [stderr]   Downloaded fixed v1.13.1
[INFO] [stderr]   Downloaded nrf5340-app-pac v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432
[INFO] running `Command { std: "docker" "start" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling cortex-m v0.7.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling defmt v0.3.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling defmt-macros v0.3.2
[INFO] [stderr]    Compiling az v1.2.0
[INFO] [stderr]    Compiling nrf5340-app-pac v0.11.0
[INFO] [stderr]    Compiling defmt-parser v0.3.1
[INFO] [stderr]    Compiling fixed v1.13.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]     Checking generic-array v0.13.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling critical-section v0.2.5
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling nrf-hal-common v0.15.0 (https://github.com/ninjasource/nrf-hal.git?branch=nrf5340-s#6b51b801)
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]    Compiling heapless v0.6.1
[INFO] [stderr]     Checking bytemuck v1.8.0
[INFO] [stderr]    Compiling cortex-m-rtic v0.5.9
[INFO] [stderr]    Compiling panic-probe v0.3.0
[INFO] [stderr]    Compiling defmt-rtt v0.3.2
[INFO] [stderr]     Checking embedded-storage v0.3.0
[INFO] [stderr]    Compiling nrf5340-app-hal v0.15.0 (https://github.com/ninjasource/nrf-hal.git?branch=nrf5340-s#6b51b801)
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rtic-core v0.3.1
[INFO] [stderr]     Checking as-slice v0.1.5
[INFO] [stderr]     Checking hash32 v0.1.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling rtic-syntax v0.4.0
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]     Checking cortex-m-rt v0.7.1
[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 33 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]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 33 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]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.32s
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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<Output<PushPull>>,
[INFO] [stdout]    |         ^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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<Output<PushPull>>,
[INFO] [stdout]    |         ^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432", kill_on_drop: false }`
[INFO] [stdout] 94ac8bc767095644d0702268d5d41fd09f3f98ce23f309d8203ee935e2647432
