>>> c2rust: Building community/c2rust 0.21.0-r0 (using abuild 3.16.0_rc4-r0) started Fri, 24 Oct 2025 13:22:25 +0000 >>> c2rust: Validating /home/buildozer/aports/community/c2rust/APKBUILD... >>> c2rust: Analyzing dependencies... >>> c2rust: Installing for build: build-base cargo cargo-auditable clang21-dev clang21-extra-tools clang21-static cmake libxml2-dev llvm21-dev llvm21-gtest llvm21-static ncurses-dev openssl-dev rust samurai tinycbor-dev ( 1/53) Installing libffi (3.5.2-r0) ( 2/53) Installing xz-libs (5.8.1-r0) ( 3/53) Installing libxml2 (2.13.9-r0) ( 4/53) Installing llvm21-libs (21.1.2-r1) ( 5/53) Installing scudo-malloc (21.1.2-r0) ( 6/53) Installing rust (1.90.0-r1) ( 7/53) Installing cargo (1.90.0-r1) ( 8/53) Installing cargo-auditable (0.7.1-r0) ( 9/53) Installing clang21-headers (21.1.2-r1) (10/53) Installing clang21-libs (21.1.2-r1) (11/53) Installing llvm21-linker-tools (21.1.2-r1) (12/53) Installing clang21 (21.1.2-r1) (13/53) Installing clang21-libclang (21.1.2-r1) (14/53) Installing clang21-extra-tools (21.1.2-r1) (15/53) Installing clang21-dev (21.1.2-r1) (16/53) Installing clang21-static (21.1.2-r1) (17/53) Installing libbz2 (1.0.8-r6) (18/53) Installing libarchive (3.8.2-r0) (19/53) Installing rhash-libs (1.4.6-r0) (20/53) Installing libuv (1.51.0-r0) (21/53) Installing cmake (4.1.2-r0) (22/53) Installing zlib-dev (1.3.1-r2) (23/53) Installing xz (5.8.1-r0) (24/53) Installing xz-dev (5.8.1-r0) (25/53) Installing libxml2-utils (2.13.9-r0) (26/53) Installing libxml2-dev (2.13.9-r0) (27/53) Installing llvm21 (21.1.2-r1) (28/53) Installing linux-headers (6.16.12-r0) (29/53) Installing libffi-dev (3.5.2-r0) (30/53) Installing zstd (1.5.7-r2) (31/53) Installing zstd-dev (1.5.7-r2) (32/53) Installing gdbm (1.26-r0) (33/53) Installing mpdecimal (4.0.1-r0) (34/53) Installing libpanelw (6.5_p20251010-r0) (35/53) Installing sqlite-libs (3.50.4-r1) (36/53) Installing python3 (3.12.12-r0) (37/53) Installing python3-pycache-pyc0 (3.12.12-r0) (38/53) Installing pyc (3.12.12-r0) (39/53) Installing llvm21-test-utils-pyc (21.1.2-r1) (40/53) Installing python3-pyc (3.12.12-r0) (41/53) Installing llvm21-test-utils (21.1.2-r1) (42/53) Installing llvm21-dev (21.1.2-r1) (43/53) Installing llvm21-gtest (21.1.2-r1) (44/53) Installing llvm21-static (21.1.2-r1) (45/53) Installing libformw (6.5_p20251010-r0) (46/53) Installing libmenuw (6.5_p20251010-r0) (47/53) Installing libncurses++ (6.5_p20251010-r0) (48/53) Installing ncurses-dev (6.5_p20251010-r0) (49/53) Installing openssl-dev (3.5.4-r0) (50/53) Installing samurai (1.2-r7) (51/53) Installing libtinycbor (0.6.1-r0) (52/53) Installing tinycbor-dev (0.6.1-r0) (53/53) Installing .makedepends-c2rust (20251024.132226) busybox-1.37.0-r24.trigger: Executing script... OK: 2570 MiB in 160 packages >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Cleaning up tmpdir >>> c2rust: Fetching https://distfiles.alpinelinux.org/distfiles/edge/c2rust-0.21.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> c2rust: Fetching c2rust-0.21.0.tar.gz::https://github.com/immunant/c2rust/archive/refs/tags/v0.21.0.tar.gz Connecting to github.com (140.82.121.3:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/edge/c2rust-0.21.0.tar.gz.part' c2rust-0.21.0.tar.gz 1796k --:--:-- ETA c2rust-0.21.0.tar.gz 100% |********************************| 2538k 0:00:00 ETA '/var/cache/distfiles/edge/c2rust-0.21.0.tar.gz.part' saved /var/cache/distfiles/edge/c2rust-0.21.0.tar.gz: OK /home/buildozer/aports/community/c2rust/0001-link-clang-dynamic.patch: OK /home/buildozer/aports/community/c2rust/0002-use-system-tinycbor.patch: OK >>> c2rust: Fetching https://distfiles.alpinelinux.org/distfiles/edge/c2rust-0.21.0.tar.gz /var/cache/distfiles/edge/c2rust-0.21.0.tar.gz: OK /home/buildozer/aports/community/c2rust/0001-link-clang-dynamic.patch: OK /home/buildozer/aports/community/c2rust/0002-use-system-tinycbor.patch: OK >>> c2rust: Unpacking /var/cache/distfiles/edge/c2rust-0.21.0.tar.gz... >>> c2rust: 0001-link-clang-dynamic.patch patching file c2rust/Cargo.toml patching file c2rust-ast-exporter/Cargo.toml Hunk #1 succeeded at 26 (offset -1 lines). patching file c2rust-ast-exporter/build.rs patching file c2rust-ast-exporter/src/CMakeLists.txt Hunk #1 succeeded at 96 (offset 1 line). patching file c2rust-transpile/Cargo.toml >>> c2rust: 0002-use-system-tinycbor.patch patching file c2rust-ast-exporter/build.rs Hunk #1 succeeded at 150 (offset 8 lines). patching file c2rust-ast-exporter/src/CMakeLists.txt Hunk #1 succeeded at 6 (offset 1 line). Hunk #2 succeeded at 16 (offset 1 line). Updating crates.io index Downloading crates ... Downloaded serde_derive v1.0.163 Downloaded block-buffer v0.10.4 Downloaded clap_derive v4.2.0 Downloaded clap_lex v0.4.1 Downloaded crypto-common v0.1.6 Downloaded datafrog v2.0.1 Downloaded half v1.8.2 Downloaded thiserror v1.0.40 Downloaded is_executable v1.0.1 Downloaded lazycell v1.3.0 Downloaded colored v2.0.0 Downloaded synstructure v0.12.6 Downloaded clap v3.2.25 Downloaded serde_json v1.0.96 Downloaded handlebars v4.3.7 Downloaded pest v2.6.0 Downloaded minimal-lexical v0.2.1 Downloaded backtrace v0.3.67 Downloaded rand v0.8.5 Downloaded nom v7.1.3 Downloaded syn v1.0.109 Downloaded arc-swap v1.6.0 Downloaded fern v0.6.2 Downloaded color-spantrace v0.2.0 Downloaded tracing-subscriber v0.3.17 Downloaded itertools v0.10.5 Downloaded gimli v0.27.2 Downloaded linux-raw-sys v0.3.7 Downloaded insta v1.43.2 Downloaded bindgen v0.69.5 Downloaded rustix v0.37.25 Downloaded prettyplease v0.2.32 Downloaded object v0.30.3 Downloaded libc v0.2.147 Downloaded tracing v0.1.37 Downloaded hashbrown v0.12.3 Downloaded strum_macros v0.24.3 Downloaded cexpr v0.6.0 Downloaded libloading v0.7.4 Downloaded serde_cbor v0.11.2 Downloaded clap_builder v4.2.7 Downloaded regex-syntax v0.7.1 Downloaded failure v0.1.8 Downloaded log-reroute v0.1.8 Downloaded serde_bencode v0.2.3 Downloaded rustversion v1.0.12 Downloaded aho-corasick v0.7.20 Downloaded bstr v1.6.0 Downloaded clang-sys v1.6.1 Downloaded cmake v0.1.50 Downloaded assert_matches v1.5.0 Downloaded color-eyre v0.6.2 Downloaded unicode-xid v0.2.4 Downloaded failure_derive v0.1.8 Downloaded colored v1.9.3 Downloaded ucd-trie v0.1.5 Downloaded pest_meta v2.6.0 Downloaded pest_generator v2.6.0 Downloaded pest_derive v2.6.0 Downloaded thiserror-impl v1.0.40 Downloaded pathdiff v0.2.1 Downloaded syn v2.0.101 Downloaded itoa v1.0.6 Downloaded ryu v1.0.13 Downloaded smallvec v1.10.0 Downloaded strum v0.24.1 Downloaded bitflags v2.9.0 Downloaded which v4.4.0 Downloaded glob v0.3.1 Downloaded serde_bytes v0.11.9 Downloaded anstyle-parse v0.2.0 Downloaded typenum v1.16.0 Downloaded addr2line v0.19.0 Downloaded miniz_oxide v0.6.2 Downloaded rustc-demangle v0.1.23 Downloaded eyre v0.6.8 Downloaded indenter v0.3.3 Downloaded owo-colors v3.5.0 Downloaded sharded-slab v0.1.4 Downloaded thread_local v1.1.7 Downloaded tracing-core v0.1.31 Downloaded indexed_vec v1.2.1 Downloaded aho-corasick v1.0.1 Downloaded regex v1.8.1 Downloaded zerocopy v0.7.35 Downloaded anstyle-query v1.0.0 Downloaded colorchoice v1.0.0 Downloaded utf8parse v0.2.1 Downloaded anstream v0.3.2 Downloaded anstyle v1.0.0 Downloaded clap v4.2.7 Downloaded sha2 v0.10.8 Downloaded dtoa v1.0.6 Downloaded crossbeam-utils v0.8.19 Downloaded clap_derive v3.2.25 Downloaded clap_lex v0.2.4 Downloaded fs2 v0.4.3 Downloaded log v0.4.17 Downloaded ppv-lite86 v0.2.20 Downloaded generic-array v0.14.7 Downloaded digest v0.10.7 Downloaded shlex v1.3.0 Downloaded cc v1.0.79 Downloaded adler v1.0.2 Downloaded pin-project-lite v0.2.9 Downloaded fnv v1.0.7 Downloaded walkdir v2.5.0 Downloaded bincode v1.3.3 Downloaded heck v0.4.1 Downloaded version_check v0.9.4 Downloaded proc-macro-error v1.0.4 Downloaded strsim v0.10.0 Downloaded linked-hash-map v0.5.6 Downloaded yaml-rust v0.4.5 Downloaded humantime v2.1.0 Downloaded env_logger v0.10.0 Downloaded either v1.8.1 Downloaded byteorder v1.5.0 Downloaded rand_chacha v0.3.1 Downloaded getrandom v0.2.10 Downloaded rand_core v0.6.4 Downloaded fastrand v1.9.0 Downloaded bitflags v1.3.2 Downloaded autocfg v1.1.0 Downloaded proc-macro2 v1.0.95 Downloaded lazy_static v1.4.0 Downloaded same-file v1.0.6 Downloaded atty v0.2.14 Downloaded proc-macro-error-attr v1.0.4 Downloaded cfg-if v1.0.0 Downloaded unicode-ident v1.0.8 Downloaded serde v1.0.163 Downloaded memchr v2.5.0 Downloaded cpufeatures v0.2.7 Downloaded tracing-error v0.2.0 Downloaded console v0.15.5 Downloaded globset v0.4.10 Downloaded similar v2.2.1 Downloaded linked_hash_set v0.1.4 Downloaded anyhow v1.0.75 Downloaded crossbeam-queue v0.3.11 Downloaded enum_dispatch v0.3.11 Downloaded print_bytes v1.2.0 Downloaded os_str_bytes v6.5.0 Downloaded textwrap v0.16.0 Downloaded termcolor v1.2.0 Downloaded fs-err v2.9.0 Downloaded once_cell v1.21.2 Downloaded indexmap v1.9.3 Downloaded toml_datetime v0.6.1 Downloaded polonius-engine v0.13.0 Downloaded rustc-hash v1.1.0 Downloaded is-terminal v0.4.7 Downloaded zerocopy-derive v0.7.35 Downloaded io-lifetimes v1.0.10 Downloaded tempfile v3.5.0 Downloaded quote v1.0.36 Downloaded toml_edit v0.19.8 Downloaded winnow v0.4.6 Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.8 Compiling libc v0.2.147 Compiling memchr v2.5.0 Compiling log v0.4.17 Compiling io-lifetimes v1.0.10 Compiling serde v1.0.163 Compiling thiserror v1.0.40 Compiling syn v1.0.109 Compiling cfg-if v1.0.0 Compiling cc v1.0.79 Compiling glob v0.3.1 Compiling rustix v0.37.25 Compiling version_check v0.9.4 Compiling prettyplease v0.2.32 Compiling regex-syntax v0.7.1 Compiling bitflags v1.3.2 Compiling linux-raw-sys v0.3.7 Compiling either v1.8.1 Compiling minimal-lexical v0.2.1 Compiling bindgen v0.69.5 Compiling ucd-trie v0.1.5 Compiling print_bytes v1.2.0 Compiling shlex v1.3.0 Compiling termcolor v1.2.0 Compiling bitflags v2.9.0 Compiling rustc-hash v1.1.0 Compiling lazy_static v1.4.0 Compiling lazycell v1.3.0 Compiling autocfg v1.1.0 Compiling humantime v2.1.0 Compiling once_cell v1.21.2 Compiling unicode-xid v0.2.4 Compiling failure_derive v0.1.8 Compiling heck v0.4.1 Compiling serde_json v1.0.96 Compiling adler v1.0.2 Compiling rustversion v1.0.12 Compiling gimli v0.27.2 Compiling libloading v0.7.4 Compiling hashbrown v0.12.3 Compiling ryu v1.0.13 Compiling itoa v1.0.6 Compiling rustc-demangle v0.1.23 Compiling half v1.8.2 Compiling c2rust-build-paths v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-build-paths) Compiling miniz_oxide v0.6.2 Compiling arc-swap v1.6.0 Compiling os_str_bytes v6.5.0 Compiling linked-hash-map v0.5.6 Compiling itertools v0.10.5 Compiling anyhow v1.0.75 Compiling fastrand v1.9.0 Compiling pathdiff v0.2.1 Compiling dtoa v1.0.6 Compiling strum v0.24.1 Compiling strsim v0.10.0 Compiling textwrap v0.16.0 Compiling smallvec v1.10.0 Compiling is_executable v1.0.1 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling indexmap v1.9.3 Compiling yaml-rust v0.4.5 Compiling clang-sys v1.6.1 Compiling clap_lex v0.2.4 Compiling log-reroute v0.1.8 Compiling cmake v0.1.50 Compiling aho-corasick v1.0.1 Compiling nom v7.1.3 Compiling quote v1.0.36 Compiling object v0.30.3 Compiling syn v2.0.101 Compiling backtrace v0.3.67 Compiling which v4.4.0 Compiling regex v1.8.1 Compiling atty v0.2.14 Compiling colored v1.9.3 Compiling colored v2.0.0 Compiling fern v0.6.2 Compiling cexpr v0.6.0 Compiling addr2line v0.19.0 Compiling is-terminal v0.4.7 Compiling env_logger v0.10.0 Compiling serde_bytes v0.11.9 Compiling serde_cbor v0.11.2 Compiling serde_bencode v0.2.3 Compiling tempfile v3.5.0 Compiling synstructure v0.12.6 Compiling c2rust-ast-builder v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-ast-builder) Compiling c2rust-ast-printer v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-ast-printer) Compiling strum_macros v0.24.3 Compiling clap_derive v3.2.25 Compiling thiserror-impl v1.0.40 Compiling c2rust-bitfields-derive v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-bitfields-derive) Compiling serde_derive v1.0.163 Compiling failure v0.1.8 Compiling c2rust-bitfields v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-bitfields) Compiling pest v2.6.0 Compiling clap v3.2.25 Compiling pest_meta v2.6.0 Compiling pest_generator v2.6.0 Compiling pest_derive v2.6.0 Compiling handlebars v4.3.7 Compiling c2rust-ast-exporter v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-ast-exporter) warning: unexpected `cfg` condition value: `llvm-static` --> c2rust-ast-exporter/build.rs:269:36 | 269 | let link_statically = cfg!(feature = "llvm-static") || { | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` = help: consider adding `llvm-static` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: field `llvm_major_version` is never read --> c2rust-ast-exporter/build.rs:184:9 | 176 | struct LLVMInfo { | -------- field in this struct ... 184 | pub llvm_major_version: u32, | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `c2rust-ast-exporter` (build script) generated 2 warnings Compiling c2rust-transpile v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust-transpile) Compiling c2rust v0.21.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.21.0/c2rust) Finished `release` profile [optimized] target(s) in 2m 09s >>> c2rust: Entering fakeroot... >>> c2rust*: Running postcheck for c2rust >>> c2rust*: Preparing package c2rust... >>> c2rust*: Stripping binaries >>> c2rust*: Scanning shared objects >>> c2rust*: Tracing dependencies... so:libLLVM.so.21.1 so:libc.musl-x86_64.so.1 so:libclang-cpp.so.21.1 so:libgcc_s.so.1 so:libstdc++.so.6 so:libtinycbor.so.0.6 >>> c2rust*: Package size: 4.5 MB >>> c2rust*: Compressing data... >>> c2rust*: Create checksum... >>> c2rust*: Create c2rust-0.21.0-r0.apk >>> c2rust: Build complete at Fri, 24 Oct 2025 13:24:51 +0000 elapsed time 0h 2m 26s >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Uninstalling dependencies... ( 1/53) Purging .makedepends-c2rust (20251024.132226) ( 2/53) Purging cargo-auditable (0.7.1-r0) ( 3/53) Purging clang21-dev (21.1.2-r1) ( 4/53) Purging clang21-extra-tools (21.1.2-r1) ( 5/53) Purging clang21 (21.1.2-r1) ( 6/53) Purging clang21-static (21.1.2-r1) ( 7/53) Purging cmake (4.1.2-r0) ( 8/53) Purging libxml2-dev (2.13.9-r0) ( 9/53) Purging libxml2-utils (2.13.9-r0) (10/53) Purging llvm21-dev (21.1.2-r1) (11/53) Purging llvm21 (21.1.2-r1) (12/53) Purging llvm21-linker-tools (21.1.2-r1) (13/53) Purging libffi-dev (3.5.2-r0) (14/53) Purging linux-headers (6.16.12-r0) (15/53) Purging zlib-dev (1.3.1-r2) (16/53) Purging zstd-dev (1.5.7-r2) (17/53) Purging zstd (1.5.7-r2) (18/53) Purging llvm21-test-utils-pyc (21.1.2-r1) (19/53) Purging llvm21-test-utils (21.1.2-r1) (20/53) Purging python3-pyc (3.12.12-r0) (21/53) Purging python3-pycache-pyc0 (3.12.12-r0) (22/53) Purging pyc (3.12.12-r0) (23/53) Purging python3 (3.12.12-r0) (24/53) Purging llvm21-gtest (21.1.2-r1) (25/53) Purging llvm21-static (21.1.2-r1) (26/53) Purging ncurses-dev (6.5_p20251010-r0) (27/53) Purging libncurses++ (6.5_p20251010-r0) (28/53) Purging libpanelw (6.5_p20251010-r0) (29/53) Purging openssl-dev (3.5.4-r0) (30/53) Purging samurai (1.2-r7) (31/53) Purging tinycbor-dev (0.6.1-r0) (32/53) Purging libtinycbor (0.6.1-r0) (33/53) Purging cargo (1.90.0-r1) (34/53) Purging rust (1.90.0-r1) (35/53) Purging clang21-libclang (21.1.2-r1) (36/53) Purging clang21-headers (21.1.2-r1) (37/53) Purging clang21-libs (21.1.2-r1) (38/53) Purging gdbm (1.26-r0) (39/53) Purging libarchive (3.8.2-r0) (40/53) Purging libbz2 (1.0.8-r6) (41/53) Purging libformw (6.5_p20251010-r0) (42/53) Purging libmenuw (6.5_p20251010-r0) (43/53) Purging libuv (1.51.0-r0) (44/53) Purging llvm21-libs (21.1.2-r1) (45/53) Purging mpdecimal (4.0.1-r0) (46/53) Purging rhash-libs (1.4.6-r0) (47/53) Purging scudo-malloc (21.1.2-r0) (48/53) Purging sqlite-libs (3.50.4-r1) (49/53) Purging xz-dev (5.8.1-r0) (50/53) Purging xz (5.8.1-r0) (51/53) Purging libffi (3.5.2-r0) (52/53) Purging libxml2 (2.13.9-r0) (53/53) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 441 MiB in 107 packages >>> c2rust: Updating the community/x86_64 repository index... >>> c2rust: Signing the index...