>>> c2rust: Building community/c2rust 0.20.0-r0 (using abuild 3.15.0_rc3-r1) started Sun, 04 May 2025 23:50:52 +0000 >>> c2rust: Validating /home/buildozer/aports/community/c2rust/APKBUILD... >>> c2rust: Analyzing dependencies... >>> c2rust: Installing for build: build-base cargo cargo-auditable clang20-dev clang20-extra-tools clang20-static cmake libxml2-dev llvm20-dev llvm20-gtest llvm20-static ncurses-dev openssl-dev rust tinycbor-dev (1/52) Installing libffi (3.4.8-r0) (2/52) Installing xz-libs (5.8.1-r0) (3/52) Installing libxml2 (2.13.7-r1) (4/52) Installing llvm20-libs (20.1.3-r2) (5/52) Installing scudo-malloc (20.1.3-r0) (6/52) Installing rust (1.86.0-r2) (7/52) Installing cargo (1.86.0-r2) (8/52) Installing cargo-auditable (0.6.7-r0) (9/52) Installing clang20-headers (20.1.3-r0) (10/52) Installing clang20-libs (20.1.3-r0) (11/52) Installing llvm20-linker-tools (20.1.3-r2) (12/52) Installing clang20 (20.1.3-r0) (13/52) Installing clang20-libclang (20.1.3-r0) (14/52) Installing clang20-extra-tools (20.1.3-r0) (15/52) Installing clang20-dev (20.1.3-r0) (16/52) Installing clang20-static (20.1.3-r0) (17/52) Installing libbz2 (1.0.8-r6) (18/52) Installing libarchive (3.7.9-r0) (19/52) Installing rhash-libs (1.4.5-r0) (20/52) Installing libuv (1.50.0-r0) (21/52) Installing cmake (3.31.7-r0) (22/52) Installing zlib-dev (1.3.1-r2) (23/52) Installing xz (5.8.1-r0) (24/52) Installing xz-dev (5.8.1-r0) (25/52) Installing libxml2-utils (2.13.7-r1) (26/52) Installing libxml2-dev (2.13.7-r1) (27/52) Installing gdbm (1.24-r0) (28/52) Installing mpdecimal (4.0.0-r0) (29/52) Installing libpanelw (6.5_p20250412-r0) (30/52) Installing sqlite-libs (3.49.1-r1) (31/52) Installing python3 (3.12.10-r0) (32/52) Installing python3-pycache-pyc0 (3.12.10-r0) (33/52) Installing pyc (3.12.10-r0) (34/52) Installing llvm20-test-utils-pyc (20.1.3-r2) (35/52) Installing python3-pyc (3.12.10-r0) (36/52) Installing llvm20-test-utils (20.1.3-r2) (37/52) Installing llvm20 (20.1.3-r2) (38/52) Installing linux-headers (6.14.2-r0) (39/52) Installing libffi-dev (3.4.8-r0) (40/52) Installing zstd (1.5.7-r0) (41/52) Installing zstd-dev (1.5.7-r0) (42/52) Installing llvm20-dev (20.1.3-r2) (43/52) Installing llvm20-gtest (20.1.3-r2) (44/52) Installing llvm20-static (20.1.3-r2) (45/52) Installing libformw (6.5_p20250412-r0) (46/52) Installing libmenuw (6.5_p20250412-r0) (47/52) Installing libncurses++ (6.5_p20250412-r0) (48/52) Installing ncurses-dev (6.5_p20250412-r0) (49/52) Installing openssl-dev (3.5.0-r0) (50/52) Installing libtinycbor (0.6.0-r1) (51/52) Installing tinycbor-dev (0.6.0-r1) (52/52) Installing .makedepends-c2rust (20250504.235054) Executing busybox-1.37.0-r16.trigger OK: 2518 MiB in 158 packages >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Cleaning up tmpdir >>> c2rust: Fetching https://distfiles.alpinelinux.org/distfiles/edge/c2rust-0.20.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/edge/c2rust-0.20.0.tar.gz.part' c2rust-0.20.0.tar.gz 63% |******************** | 1583k 0:00:00 ETA c2rust-0.20.0.tar.gz 100% |********************************| 2504k 0:00:00 ETA '/var/cache/distfiles/edge/c2rust-0.20.0.tar.gz.part' saved >>> c2rust: Fetching https://distfiles.alpinelinux.org/distfiles/edge/c2rust-0.20.0.tar.gz >>> c2rust: Checking sha512sums... c2rust-0.20.0.tar.gz: OK 0001-link-clang-dynamic.patch: OK 0002-use-system-tinycbor.patch: OK 0003-fix-compilation-with-llvm20.patch: OK >>> c2rust: Unpacking /var/cache/distfiles/edge/c2rust-0.20.0.tar.gz... >>> c2rust: 0001-link-clang-dynamic.patch patching file c2rust/Cargo.toml patching file c2rust-ast-exporter/Cargo.toml patching file c2rust-ast-exporter/build.rs patching file c2rust-ast-exporter/src/CMakeLists.txt 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 >>> c2rust: 0003-fix-compilation-with-llvm20.patch patching file c2rust-ast-exporter/src/AstExporter.cpp Updating crates.io index Downloading crates ... Downloaded toml_datetime v0.6.1 Downloaded fs-err v2.9.0 Downloaded indexed_vec v1.2.1 Downloaded linked_hash_set v0.1.4 Downloaded once_cell v1.17.1 Downloaded os_str_bytes v6.5.0 Downloaded cpufeatures v0.2.7 Downloaded serde_bencode v0.2.3 Downloaded peeking_take_while v0.1.2 Downloaded thread_local v1.1.7 Downloaded colored v1.9.3 Downloaded pest_derive v2.6.0 Downloaded is_executable v1.0.1 Downloaded pest_generator v2.6.0 Downloaded serde_derive v1.0.163 Downloaded anstyle v1.0.0 Downloaded clap_lex v0.4.1 Downloaded clap_derive v4.2.0 Downloaded dtoa v1.0.6 Downloaded pest_meta v2.6.0 Downloaded env_logger v0.10.0 Downloaded colored v2.0.0 Downloaded clap v4.2.7 Downloaded prettyplease v0.2.5 Downloaded clang-sys v1.6.1 Downloaded prettyplease v0.1.25 Downloaded winnow v0.4.6 Downloaded toml_edit v0.19.8 Downloaded pest v2.6.0 Downloaded handlebars v4.3.7 Downloaded serde v1.0.163 Downloaded tracing-core v0.1.31 Downloaded clap_builder v4.2.7 Downloaded serde_json v1.0.96 Downloaded color-spantrace v0.2.0 Downloaded bindgen v0.65.1 Downloaded tracing-subscriber v0.3.17 Downloaded regex v1.8.1 Downloaded textwrap v0.16.0 Downloaded rustix v0.37.25 Downloaded regex-syntax v0.7.1 Downloaded fern v0.6.2 Downloaded eyre v0.6.8 Downloaded sharded-slab v0.1.4 Downloaded serde_bytes v0.11.9 Downloaded anstyle-parse v0.2.0 Downloaded insta v1.29.0 Downloaded log-reroute v0.1.8 Downloaded rustversion v1.0.12 Downloaded which v4.4.0 Downloaded print_bytes v1.2.0 Downloaded enum_dispatch v0.3.11 Downloaded is-terminal v0.4.7 Downloaded linux-raw-sys v0.3.7 Downloaded color-eyre v0.6.2 Compiling proc-macro2 v1.0.86 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 syn v1.0.109 Compiling rustix v0.37.25 Compiling thiserror v1.0.40 Compiling serde v1.0.163 Compiling cc v1.0.79 Compiling cfg-if v1.0.0 Compiling glob v0.3.1 Compiling bitflags v1.3.2 Compiling version_check v0.9.4 Compiling prettyplease v0.2.5 Compiling linux-raw-sys v0.3.7 Compiling regex-syntax v0.7.1 Compiling minimal-lexical v0.2.1 Compiling ucd-trie v0.1.5 Compiling bindgen v0.65.1 Compiling either v1.8.1 Compiling autocfg v1.1.0 Compiling shlex v1.3.0 Compiling lazy_static v1.4.0 Compiling rustc-hash v1.1.0 Compiling lazycell v1.3.0 Compiling termcolor v1.2.0 Compiling print_bytes v1.2.0 Compiling once_cell v1.17.1 Compiling humantime v2.1.0 Compiling peeking_take_while v0.1.2 Compiling failure_derive v0.1.8 Compiling unicode-xid v0.2.4 Compiling adler v1.0.2 Compiling heck v0.4.1 Compiling rustversion v1.0.12 Compiling prettyplease v0.1.25 Compiling gimli v0.27.2 Compiling serde_json v1.0.96 Compiling hashbrown v0.12.3 Compiling libloading v0.7.4 Compiling itoa v1.0.6 Compiling half v1.8.2 Compiling c2rust-build-paths v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-build-paths) Compiling miniz_oxide v0.6.2 Compiling ryu v1.0.13 Compiling rustc-demangle v0.1.23 Compiling linked-hash-map v0.5.6 Compiling anyhow v1.0.75 Compiling os_str_bytes v6.5.0 Compiling arc-swap v1.6.0 Compiling dtoa v1.0.6 Compiling smallvec v1.10.0 Compiling pathdiff v0.2.1 Compiling textwrap v0.16.0 Compiling strsim v0.10.0 Compiling strum v0.24.1 Compiling is_executable v1.0.1 Compiling cmake v0.1.50 Compiling yaml-rust v0.4.5 Compiling indexmap v1.9.3 Compiling itertools v0.10.5 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling clap_lex v0.2.4 Compiling clang-sys v1.6.1 Compiling log-reroute v0.1.8 Compiling aho-corasick v1.0.1 Compiling nom v7.1.3 Compiling quote v1.0.36 Compiling object v0.30.3 Compiling backtrace v0.3.67 Compiling syn v2.0.75 Compiling atty v0.2.14 Compiling which v4.4.0 Compiling colored v1.9.3 Compiling colored v2.0.0 Compiling fern v0.6.2 Compiling regex v1.8.1 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 synstructure v0.12.6 Compiling c2rust-ast-builder v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-ast-builder) Compiling c2rust-bitfields-derive v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-bitfields-derive) Compiling clap_derive v3.2.25 Compiling strum_macros v0.24.3 Compiling c2rust-ast-printer v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-ast-printer) Compiling thiserror-impl v1.0.40 Compiling serde_derive v1.0.163 Compiling c2rust-bitfields v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-bitfields) Compiling failure v0.1.8 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 c2rust-ast-exporter v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.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 Compiling handlebars v4.3.7 warning: `c2rust-ast-exporter` (build script) generated 2 warnings Compiling c2rust-transpile v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-transpile) Compiling c2rust v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust) Finished `release` profile [optimized] target(s) in 2m 06s >>> 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.20.1 so:libc.musl-x86_64.so.1 so:libclang-cpp.so.20.1 so:libgcc_s.so.1 so:libstdc++.so.6 so:libtinycbor.so.0.6 >>> c2rust*: Package size: 4.4 MB >>> c2rust*: Compressing data... >>> c2rust*: Create checksum... >>> c2rust*: Create c2rust-0.20.0-r0.apk >>> c2rust: Build complete at Sun, 04 May 2025 23:53:16 +0000 elapsed time 0h 2m 24s >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Uninstalling dependencies... (1/52) Purging .makedepends-c2rust (20250504.235054) (2/52) Purging cargo-auditable (0.6.7-r0) (3/52) Purging clang20-dev (20.1.3-r0) (4/52) Purging clang20-extra-tools (20.1.3-r0) (5/52) Purging clang20 (20.1.3-r0) (6/52) Purging clang20-static (20.1.3-r0) (7/52) Purging cmake (3.31.7-r0) (8/52) Purging libxml2-dev (2.13.7-r1) (9/52) Purging libxml2-utils (2.13.7-r1) (10/52) Purging llvm20-dev (20.1.3-r2) (11/52) Purging llvm20 (20.1.3-r2) (12/52) Purging llvm20-linker-tools (20.1.3-r2) (13/52) Purging libffi-dev (3.4.8-r0) (14/52) Purging linux-headers (6.14.2-r0) (15/52) Purging zlib-dev (1.3.1-r2) (16/52) Purging zstd-dev (1.5.7-r0) (17/52) Purging zstd (1.5.7-r0) (18/52) Purging llvm20-test-utils-pyc (20.1.3-r2) (19/52) Purging llvm20-test-utils (20.1.3-r2) (20/52) Purging python3-pyc (3.12.10-r0) (21/52) Purging python3-pycache-pyc0 (3.12.10-r0) (22/52) Purging pyc (3.12.10-r0) (23/52) Purging python3 (3.12.10-r0) (24/52) Purging llvm20-gtest (20.1.3-r2) (25/52) Purging llvm20-static (20.1.3-r2) (26/52) Purging ncurses-dev (6.5_p20250412-r0) (27/52) Purging libncurses++ (6.5_p20250412-r0) (28/52) Purging libpanelw (6.5_p20250412-r0) (29/52) Purging openssl-dev (3.5.0-r0) (30/52) Purging tinycbor-dev (0.6.0-r1) (31/52) Purging libtinycbor (0.6.0-r1) (32/52) Purging cargo (1.86.0-r2) (33/52) Purging rust (1.86.0-r2) (34/52) Purging clang20-libclang (20.1.3-r0) (35/52) Purging clang20-headers (20.1.3-r0) (36/52) Purging clang20-libs (20.1.3-r0) (37/52) Purging gdbm (1.24-r0) (38/52) Purging libarchive (3.7.9-r0) (39/52) Purging libbz2 (1.0.8-r6) (40/52) Purging libformw (6.5_p20250412-r0) (41/52) Purging libmenuw (6.5_p20250412-r0) (42/52) Purging libuv (1.50.0-r0) (43/52) Purging llvm20-libs (20.1.3-r2) (44/52) Purging mpdecimal (4.0.0-r0) (45/52) Purging rhash-libs (1.4.5-r0) (46/52) Purging scudo-malloc (20.1.3-r0) (47/52) Purging sqlite-libs (3.49.1-r1) (48/52) Purging xz-dev (5.8.1-r0) (49/52) Purging xz (5.8.1-r0) (50/52) Purging libffi (3.4.8-r0) (51/52) Purging libxml2 (2.13.7-r1) (52/52) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r16.trigger OK: 400 MiB in 106 packages >>> c2rust: Updating the community/x86_64 repository index... >>> c2rust: Signing the index...