[INFO] fetching crate defmt-serial 0.10.0... [INFO] checking defmt-serial-0.10.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate defmt-serial 0.10.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate defmt-serial 0.10.0 [INFO] finished tweaking crates.io crate defmt-serial 0.10.0 [INFO] tweaked toml for crates.io crate defmt-serial 0.10.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate defmt-serial 0.10.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding panic-probe v0.3.2 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.2.0 [INFO] [stderr] Downloaded panic-probe v0.3.2 [INFO] [stderr] Downloaded rtcc v0.3.2 [INFO] [stderr] Downloaded ambiq-hal v0.3.3 [INFO] [stderr] Downloaded ufmt v0.1.2 [INFO] [stderr] Downloaded ambiq-apollo3-pac2 v0.2.0 [INFO] [stderr] Downloaded ambiq-hal-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37f16ea40576462c1460cfd809f403278dcd3e39cd66d6a9a6cd0ac38e03458a [INFO] running `Command { std: "docker" "start" "-a" "37f16ea40576462c1460cfd809f403278dcd3e39cd66d6a9a6cd0ac38e03458a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37f16ea40576462c1460cfd809f403278dcd3e39cd66d6a9a6cd0ac38e03458a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f16ea40576462c1460cfd809f403278dcd3e39cd66d6a9a6cd0ac38e03458a", kill_on_drop: false }` [INFO] [stdout] 37f16ea40576462c1460cfd809f403278dcd3e39cd66d6a9a6cd0ac38e03458a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caca26630fdb03b0599c26f20fabaa32a4eb245f6153d21eb39e69191bf97805 [INFO] running `Command { std: "docker" "start" "-a" "caca26630fdb03b0599c26f20fabaa32a4eb245f6153d21eb39e69191bf97805", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling ambiq-apollo3-pac2 v0.2.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking static_cell v2.1.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking rtcc v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling ufmt-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Checking ufmt v0.1.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Checking defmt v0.3.100 [INFO] [stderr] Checking defmt-serial v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | ERASEDWRITE.is_none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = 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/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe { ENCODER.start_frame(write_serial) } [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] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | ENCODER.end_frame(write_serial); [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] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | ENCODER.write(bytes, write_serial); [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] Compiling ambiq-hal-sys v0.1.0 [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: In file included from ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include/apollo3.h:142, [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: from ambiq-sparkfun-sdk/mcu/apollo3/am_mcu_apollo.h:74, [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: from ambiq-sparkfun-sdk/utils/am_util_ble.c:55: [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_SetVector': [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1909:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: 1909 | (* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)) = vector; [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: | ^ [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_GetVector': [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1925:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: 1925 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)); [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: | ^ [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: In file included from ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include/apollo3.h:142, [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: from ambiq-sparkfun-sdk/mcu/apollo3/am_mcu_apollo.h:74, [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: from ambiq-sparkfun-sdk/utils/am_util_delay.c:50: [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_SetVector': [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1909:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: 1909 | (* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)) = vector; [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: | ^ [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_GetVector': [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1925:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: 1925 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)); [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: | ^ [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: In file included from ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include/apollo3.h:142, [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: from ambiq-sparkfun-sdk/mcu/apollo3/am_mcu_apollo.h:74, [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: from ambiq-sparkfun-sdk/utils/am_util_faultisr.c:54: [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_SetVector': [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1909:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: 1909 | (* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)) = vector; [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: | ^ [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_GetVector': [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1925:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: 1925 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)); [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: | ^ [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c: Assembler messages: [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:196: Error: unbalanced figure braces [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:197: Error: no such instruction: `tst lr,' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:198: Error: no such instruction: `itet eq' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:199: Error: no such instruction: `mrseq r0,msp' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:200: Error: no such instruction: `mrsne r0,psp' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:201: Error: no such instruction: `addseq r0,r0,' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:202: Error: no such instruction: `bl am_util_faultisr_collect_data' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:203: Error: unbalanced figure braces [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:209: Error: expecting operand after ','; got nothing [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:210: Error: invalid instruction suffix for `add' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:211: Error: no such instruction: `ldr r0,[r0]' [INFO] [stderr] warning: ambiq-hal-sys@0.1.0: ambiq-sparkfun-sdk/utils/am_util_faultisr.c:212: Error: no such instruction: `bx lr' [INFO] [stderr] error: failed to run custom build command for `ambiq-hal-sys v0.1.0` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ambiq-hal-sys-7e076e55bd75ab6d/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] Building the Ambiq SDK and Sparkfun BSP [INFO] [stderr] Compiling gcc ../am_bsp.c [INFO] [stderr] Compiling gcc ../am_bsp_pins.c [INFO] [stderr] Library gcc bin/libam_bsp.a [INFO] [stderr] a - bin/am_bsp.o [INFO] [stderr] a - bin/am_bsp_pins.o [INFO] [stderr] Compiling gcc ../am_hal_adc.c [INFO] [stderr] Compiling gcc ../am_hal_ble.c [INFO] [stderr] Compiling gcc ../am_hal_ble_patch.c [INFO] [stderr] Compiling gcc ../am_hal_ble_patch_b0.c [INFO] [stderr] Compiling gcc ../am_hal_burst.c [INFO] [stderr] Compiling gcc ../am_hal_cachectrl.c [INFO] [stderr] Compiling gcc ../am_hal_clkgen.c [INFO] [stderr] Compiling gcc ../am_hal_cmdq.c [INFO] [stderr] Compiling gcc ../am_hal_ctimer.c [INFO] [stderr] Compiling gcc ../am_hal_debug.c [INFO] [stderr] Compiling gcc ../am_hal_flash.c [INFO] [stderr] Compiling gcc ../am_hal_global.c [INFO] [stderr] Compiling gcc ../am_hal_gpio.c [INFO] [stderr] Compiling gcc ../am_hal_interrupt.c [INFO] [stderr] Compiling gcc ../am_hal_iom.c [INFO] [stderr] Compiling gcc ../am_hal_ios.c [INFO] [stderr] Compiling gcc ../am_hal_itm.c [INFO] [stderr] Compiling gcc ../am_hal_mcuctrl.c [INFO] [stderr] Compiling gcc ../am_hal_mspi.c [INFO] [stderr] Compiling gcc ../am_hal_pdm.c [INFO] [stderr] Compiling gcc ../am_hal_pwrctrl.c [INFO] [stderr] Compiling gcc ../am_hal_queue.c [INFO] [stderr] Compiling gcc ../am_hal_reset.c [INFO] [stderr] Compiling gcc ../am_hal_rtc.c [INFO] [stderr] Compiling gcc ../am_hal_scard.c [INFO] [stderr] Compiling gcc ../am_hal_secure_ota.c [INFO] [stderr] Compiling gcc ../am_hal_security.c [INFO] [stderr] Compiling gcc ../am_hal_stimer.c [INFO] [stderr] Compiling gcc ../am_hal_sysctrl.c [INFO] [stderr] Compiling gcc ../am_hal_systick.c [INFO] [stderr] Compiling gcc ../am_hal_tpiu.c [INFO] [stderr] Compiling gcc ../am_hal_uart.c [INFO] [stderr] Compiling gcc ../am_hal_wdt.c [INFO] [stderr] Library gcc bin/libam_hal.a [INFO] [stderr] a - bin/am_hal_adc.o [INFO] [stderr] a - bin/am_hal_ble.o [INFO] [stderr] a - bin/am_hal_ble_patch.o [INFO] [stderr] a - bin/am_hal_ble_patch_b0.o [INFO] [stderr] a - bin/am_hal_burst.o [INFO] [stderr] a - bin/am_hal_cachectrl.o [INFO] [stderr] a - bin/am_hal_clkgen.o [INFO] [stderr] a - bin/am_hal_cmdq.o [INFO] [stderr] a - bin/am_hal_ctimer.o [INFO] [stderr] a - bin/am_hal_debug.o [INFO] [stderr] a - bin/am_hal_flash.o [INFO] [stderr] a - bin/am_hal_global.o [INFO] [stderr] a - bin/am_hal_gpio.o [INFO] [stderr] a - bin/am_hal_interrupt.o [INFO] [stderr] a - bin/am_hal_iom.o [INFO] [stderr] a - bin/am_hal_ios.o [INFO] [stderr] a - bin/am_hal_itm.o [INFO] [stderr] a - bin/am_hal_mcuctrl.o [INFO] [stderr] a - bin/am_hal_mspi.o [INFO] [stderr] a - bin/am_hal_pdm.o [INFO] [stderr] a - bin/am_hal_pwrctrl.o [INFO] [stderr] a - bin/am_hal_queue.o [INFO] [stderr] a - bin/am_hal_reset.o [INFO] [stderr] a - bin/am_hal_rtc.o [INFO] [stderr] a - bin/am_hal_scard.o [INFO] [stderr] a - bin/am_hal_secure_ota.o [INFO] [stderr] a - bin/am_hal_security.o [INFO] [stderr] a - bin/am_hal_stimer.o [INFO] [stderr] a - bin/am_hal_sysctrl.o [INFO] [stderr] a - bin/am_hal_systick.o [INFO] [stderr] a - bin/am_hal_tpiu.o [INFO] [stderr] a - bin/am_hal_uart.o [INFO] [stderr] a - bin/am_hal_wdt.o [INFO] [stderr] cargo:rustc-link-lib=static=am_bsp [INFO] [stderr] cargo:rustc-link-lib=static=am_hal [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/ambiq-hal-sys-1c1310da9e0b0627/out/ambiq-sparkfun-sdk/boards_sfe/redboard_artemis/bsp/gcc/bin [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/ambiq-hal-sys-1c1310da9e0b0627/out/ambiq-sparkfun-sdk/mcu/apollo3/hal/gcc/bin [INFO] [stderr] cargo:lib=am_bsp [INFO] [stderr] cargo:lib=am_hal [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/ambiq-hal-sys-1c1310da9e0b0627/out) [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] RUSTC_WRAPPER = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some(true) [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87) [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [INFO] [stderr] cargo:warning=In file included from ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include/apollo3.h:142, [INFO] [stderr] cargo:warning= from ambiq-sparkfun-sdk/mcu/apollo3/am_mcu_apollo.h:74, [INFO] [stderr] cargo:warning= from ambiq-sparkfun-sdk/utils/am_util_ble.c:55: [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_SetVector': [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1909:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= 1909 | (* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)) = vector; [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_GetVector': [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1925:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= 1925 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=In file included from ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include/apollo3.h:142, [INFO] [stderr] cargo:warning= from ambiq-sparkfun-sdk/mcu/apollo3/am_mcu_apollo.h:74, [INFO] [stderr] cargo:warning= from ambiq-sparkfun-sdk/utils/am_util_delay.c:50: [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_SetVector': [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1909:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= 1909 | (* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)) = vector; [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_GetVector': [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1925:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= 1925 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=In file included from ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include/apollo3.h:142, [INFO] [stderr] cargo:warning= from ambiq-sparkfun-sdk/mcu/apollo3/am_mcu_apollo.h:74, [INFO] [stderr] cargo:warning= from ambiq-sparkfun-sdk/utils/am_util_faultisr.c:54: [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_SetVector': [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1909:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= 1909 | (* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)) = vector; [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h: In function '__NVIC_GetVector': [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/CMSIS/ARM/Include/core_cm4.h:1925:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] cargo:warning= 1925 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + NVIC_USER_IRQ_OFFSET) * 4)); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c: Assembler messages: [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:196: Error: unbalanced figure braces [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:197: Error: no such instruction: `tst lr,' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:198: Error: no such instruction: `itet eq' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:199: Error: no such instruction: `mrseq r0,msp' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:200: Error: no such instruction: `mrsne r0,psp' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:201: Error: no such instruction: `addseq r0,r0,' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:202: Error: no such instruction: `bl am_util_faultisr_collect_data' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:203: Error: unbalanced figure braces [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:209: Error: expecting operand after ','; got nothing [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:210: Error: invalid instruction suffix for `add' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:211: Error: no such instruction: `ldr r0,[r0]' [INFO] [stderr] cargo:warning=ambiq-sparkfun-sdk/utils/am_util_faultisr.c:212: Error: no such instruction: `bx lr' [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] In function 'am_hal_security_set_key', [INFO] [stderr] inlined from 'am_hal_security_set_key' at ../am_hal_security.c:271:10, [INFO] [stderr] inlined from 'am_hal_bootloader_exit' at ../am_hal_security.c:533:9: [INFO] [stderr] ../am_hal_security.c:290:32: warning: 'keyVal.keys.key1' may be used uninitialized [-Wmaybe-uninitialized] [INFO] [stderr] 290 | SECURITY->KEY1 = pKey->keys.key1; [INFO] [stderr] | ~~~~~~~~~~^~~~~ [INFO] [stderr] ../am_hal_security.c: In function 'am_hal_bootloader_exit': [INFO] [stderr] ../am_hal_security.c:523:35: note: 'keyVal' declared here [INFO] [stderr] 523 | am_hal_security_128bkey_t keyVal; [INFO] [stderr] | ^~~~~~ [INFO] [stderr] In function 'am_hal_security_set_key', [INFO] [stderr] inlined from 'am_hal_security_set_key' at ../am_hal_security.c:271:10, [INFO] [stderr] inlined from 'am_hal_bootloader_exit' at ../am_hal_security.c:533:9: [INFO] [stderr] ../am_hal_security.c:291:32: warning: 'keyVal.keys.key2' may be used uninitialized [-Wmaybe-uninitialized] [INFO] [stderr] 291 | SECURITY->KEY2 = pKey->keys.key2; [INFO] [stderr] | ~~~~~~~~~~^~~~~ [INFO] [stderr] ../am_hal_security.c: In function 'am_hal_bootloader_exit': [INFO] [stderr] ../am_hal_security.c:523:35: note: 'keyVal' declared here [INFO] [stderr] 523 | am_hal_security_128bkey_t keyVal; [INFO] [stderr] | ^~~~~~ [INFO] [stderr] In function 'am_hal_security_set_key', [INFO] [stderr] inlined from 'am_hal_security_set_key' at ../am_hal_security.c:271:10, [INFO] [stderr] inlined from 'am_hal_bootloader_exit' at ../am_hal_security.c:533:9: [INFO] [stderr] ../am_hal_security.c:292:32: warning: 'keyVal.keys.key3' may be used uninitialized [-Wmaybe-uninitialized] [INFO] [stderr] 292 | SECURITY->KEY3 = pKey->keys.key3; [INFO] [stderr] | ~~~~~~~~~~^~~~~ [INFO] [stderr] ../am_hal_security.c: In function 'am_hal_bootloader_exit': [INFO] [stderr] ../am_hal_security.c:523:35: note: 'keyVal' declared here [INFO] [stderr] 523 | am_hal_security_128bkey_t keyVal; [INFO] [stderr] | ^~~~~~ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "ambiq-sparkfun-sdk/mcu/apollo3" "-I" "ambiq-sparkfun-sdk/CMSIS/AmbiqMicro/Include" "-I" "ambiq-sparkfun-sdk/CMSIS/ARM/Include" "-I" "ambiq-sparkfun-sdk/devices" "-o" "/opt/rustwide/target/debug/build/ambiq-hal-sys-1c1310da9e0b0627/out/1fb3bfb52374955d-am_util_faultisr.o" "-c" "ambiq-sparkfun-sdk/utils/am_util_faultisr.c" [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "caca26630fdb03b0599c26f20fabaa32a4eb245f6153d21eb39e69191bf97805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caca26630fdb03b0599c26f20fabaa32a4eb245f6153d21eb39e69191bf97805", kill_on_drop: false }` [INFO] [stdout] caca26630fdb03b0599c26f20fabaa32a4eb245f6153d21eb39e69191bf97805