[INFO] fetching crate defmt-serial 0.10.0... [INFO] testing defmt-serial-0.10.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate defmt-serial 0.10.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate defmt-serial 0.10.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 116 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.2.0 [INFO] [stderr] Downloaded ambiq-hal v0.3.3 [INFO] [stderr] Downloaded rtcc v0.3.2 [INFO] [stderr] Downloaded static_cell v2.1.1 [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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf4603f81ea759428103100cacb66d9414caea2563f79583bebe8cb9ce9a9376 [INFO] running `Command { std: "docker" "start" "-a" "cf4603f81ea759428103100cacb66d9414caea2563f79583bebe8cb9ce9a9376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf4603f81ea759428103100cacb66d9414caea2563f79583bebe8cb9ce9a9376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4603f81ea759428103100cacb66d9414caea2563f79583bebe8cb9ce9a9376", kill_on_drop: false }` [INFO] [stdout] cf4603f81ea759428103100cacb66d9414caea2563f79583bebe8cb9ce9a9376 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b956d1bcc606db5cbf05dc34e72b5b1ea35890db5659fe505c4dc3e5abbbaa5f [INFO] running `Command { std: "docker" "start" "-a" "b956d1bcc606db5cbf05dc34e72b5b1ea35890db5659fe505c4dc3e5abbbaa5f", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling defmt v0.3.100 [INFO] [stderr] Compiling 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.10s [INFO] running `Command { std: "docker" "inspect" "b956d1bcc606db5cbf05dc34e72b5b1ea35890db5659fe505c4dc3e5abbbaa5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b956d1bcc606db5cbf05dc34e72b5b1ea35890db5659fe505c4dc3e5abbbaa5f", kill_on_drop: false }` [INFO] [stdout] b956d1bcc606db5cbf05dc34e72b5b1ea35890db5659fe505c4dc3e5abbbaa5f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8860e6f671620b1bbe1920f4a09aad33246ca6e5fdb2ff871fcc42f2be51c5c7 [INFO] running `Command { std: "docker" "start" "-a" "8860e6f671620b1bbe1920f4a09aad33246ca6e5fdb2ff871fcc42f2be51c5c7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling ambiq-apollo3-pac2 v0.2.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [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 num-iter v0.1.45 [INFO] [stderr] Compiling ufmt-macros v0.2.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling static_cell v2.1.1 [INFO] [stderr] Compiling rtcc v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling ufmt v0.1.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.9.3 [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] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ambiq-hal-sys-e0a640be0b7c676a/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/x86_64-unknown-linux-musl/debug/build/ambiq-hal-sys-8ba9e6b6030bed28/out/ambiq-sparkfun-sdk/boards_sfe/redboard_artemis/bsp/gcc/bin [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/ambiq-hal-sys-8ba9e6b6030bed28/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/x86_64-unknown-linux-musl/debug/build/ambiq-hal-sys-8ba9e6b6030bed28/out) [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-musl) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-musl [INFO] [stderr] CC_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_musl [INFO] [stderr] CC_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CC [INFO] [stderr] TARGET_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CROSS_COMPILE [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] RUSTC_LINKER = None [INFO] [stderr] PATH = Some(/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) [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=TARGET_CFLAGS [INFO] [stderr] TARGET_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_musl [INFO] [stderr] CFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-musl [INFO] [stderr] CFLAGS_x86_64-unknown-linux-musl = 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" "x86_64-linux-musl-gcc" "-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/x86_64-unknown-linux-musl/debug/build/ambiq-hal-sys-8ba9e6b6030bed28/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" "8860e6f671620b1bbe1920f4a09aad33246ca6e5fdb2ff871fcc42f2be51c5c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8860e6f671620b1bbe1920f4a09aad33246ca6e5fdb2ff871fcc42f2be51c5c7", kill_on_drop: false }` [INFO] [stdout] 8860e6f671620b1bbe1920f4a09aad33246ca6e5fdb2ff871fcc42f2be51c5c7