>>> c2rust: Building testing/c2rust 0.20.0-r0 (using abuild 3.14.1-r7) started Mon, 17 Mar 2025 16:22:34 +0000 >>> c2rust: Validating /home/buildozer/aports/testing/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/51) Installing libffi (3.4.7-r0) (2/51) Installing libxml2 (2.13.6-r0) (3/51) Installing llvm19-libs (19.1.7-r0) (4/51) Installing scudo-malloc (19.1.7-r0) (5/51) Installing rust (1.85.0-r0) (6/51) Installing cargo (1.85.0-r0) (7/51) Installing cargo-auditable (0.6.6-r0) (8/51) Installing clang20-headers (20.1.0-r0) (9/51) Installing llvm20-libs (20.1.0-r0) (10/51) Installing clang20-libs (20.1.0-r0) (11/51) Installing llvm20-linker-tools (20.1.0-r0) (12/51) Installing clang20 (20.1.0-r0) (13/51) Installing clang20-libclang (20.1.0-r0) (14/51) Installing clang20-dev (20.1.0-r0) (15/51) Installing clang20-extra-tools (20.1.0-r0) (16/51) Installing clang20-static (20.1.0-r0) (17/51) Installing libarchive (3.7.7-r0) (18/51) Installing rhash-libs (1.4.5-r0) (19/51) Installing libuv (1.50.0-r0) (20/51) Installing cmake (3.31.6-r1) (21/51) Installing zlib-dev (1.3.1-r2) (22/51) Installing xz (5.6.4-r0) (23/51) Installing xz-dev (5.6.4-r0) (24/51) Installing libxml2-utils (2.13.6-r0) (25/51) Installing libxml2-dev (2.13.6-r0) (26/51) Installing llvm20 (20.1.0-r0) (27/51) Installing linux-headers (6.12.6-r0) (28/51) Installing libffi-dev (3.4.7-r0) (29/51) Installing zstd (1.5.7-r0) (30/51) Installing zstd-dev (1.5.7-r0) (31/51) Installing gdbm (1.24-r0) (32/51) Installing mpdecimal (4.0.0-r0) (33/51) Installing libpanelw (6.5_p20250216-r0) (34/51) Installing sqlite-libs (3.49.1-r0) (35/51) Installing python3 (3.12.9-r0) (36/51) Installing python3-pycache-pyc0 (3.12.9-r0) (37/51) Installing pyc (3.12.9-r0) (38/51) Installing llvm20-test-utils-pyc (20.1.0-r0) (39/51) Installing python3-pyc (3.12.9-r0) (40/51) Installing llvm20-test-utils (20.1.0-r0) (41/51) Installing llvm20-dev (20.1.0-r0) (42/51) Installing llvm20-gtest (20.1.0-r0) (43/51) Installing llvm20-static (20.1.0-r0) (44/51) Installing libformw (6.5_p20250216-r0) (45/51) Installing libmenuw (6.5_p20250216-r0) (46/51) Installing libncurses++ (6.5_p20250216-r0) (47/51) Installing ncurses-dev (6.5_p20250216-r0) (48/51) Installing openssl-dev (3.3.3-r0) (49/51) Installing libtinycbor (0.6.0-r1) (50/51) Installing tinycbor-dev (0.6.0-r1) (51/51) Installing .makedepends-c2rust (20250317.162235) Executing busybox-1.37.0-r14.trigger OK: 2505 MiB in 168 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 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> c2rust: Fetching c2rust-0.20.0.tar.gz::https://github.com/immunant/c2rust/archive/refs/tags/v0.20.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12951 0 12951 0 0 27078 0 --:--:-- --:--:-- --:--:-- 27078 100 2504k 0 2504k 0 0 3415k 0 --:--:-- --:--:-- --:--:-- 9771k >>> 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 indexed_vec v1.2.1 Downloaded indenter v0.3.3 Downloaded failure_derive v0.1.8 Downloaded pathdiff v0.2.1 Downloaded strum v0.24.1 Downloaded peeking_take_while v0.1.2 Downloaded tempfile v3.5.0 Downloaded clap_lex v0.4.1 Downloaded anstyle v1.0.0 Downloaded os_str_bytes v6.5.0 Downloaded strum_macros v0.24.3 Downloaded serde_bencode v0.2.3 Downloaded is_executable v1.0.1 Downloaded synstructure v0.12.6 Downloaded thiserror-impl v1.0.40 Downloaded colored v2.0.0 Downloaded serde_bytes v0.11.9 Downloaded serde_derive v1.0.163 Downloaded env_logger v0.10.0 Downloaded clap_derive v4.2.0 Downloaded anstream v0.3.2 Downloaded console v0.15.5 Downloaded dtoa v1.0.6 Downloaded thiserror v1.0.40 Downloaded similar v2.2.1 Downloaded prettyplease v0.2.5 Downloaded ucd-trie v0.1.5 Downloaded ryu v1.0.13 Downloaded arc-swap v1.6.0 Downloaded tracing v0.1.37 Downloaded clap v4.2.7 Downloaded eyre v0.6.8 Downloaded toml_edit v0.19.8 Downloaded pest v2.6.0 Downloaded handlebars v4.3.7 Downloaded cc v1.0.79 Downloaded sharded-slab v0.1.4 Downloaded serde_json v1.0.96 Downloaded winnow v0.4.6 Downloaded color-spantrace v0.2.0 Downloaded tracing-subscriber v0.3.17 Downloaded aho-corasick v1.0.1 Downloaded bindgen v0.65.1 Downloaded syn v2.0.75 Downloaded object v0.30.3 Downloaded fern v0.6.2 Downloaded regex v1.8.1 Downloaded regex-syntax v0.7.1 Downloaded rustix v0.37.25 Downloaded clap_builder v4.2.7 Downloaded tracing-core v0.1.31 Downloaded serde v1.0.163 Downloaded clang-sys v1.6.1 Downloaded pest_meta v2.6.0 Downloaded prettyplease v0.1.25 Downloaded failure v0.1.8 Downloaded colored v1.9.3 Downloaded polonius-engine v0.13.0 Downloaded insta v1.29.0 Downloaded owo-colors v3.5.0 Downloaded once_cell v1.17.1 Downloaded io-lifetimes v1.0.10 Downloaded color-eyre v0.6.2 Downloaded clap_derive v3.2.25 Downloaded getrandom v0.2.10 Downloaded fs-err v2.9.0 Downloaded unicode-ident v1.0.8 Downloaded pest_derive v2.6.0 Downloaded gimli v0.27.2 Downloaded itoa v1.0.6 Downloaded rustversion v1.0.12 Downloaded cmake v0.1.50 Downloaded tracing-error v0.2.0 Downloaded anstyle-parse v0.2.0 Downloaded pest_generator v2.6.0 Downloaded log-reroute v0.1.8 Downloaded linked_hash_set v0.1.4 Downloaded enum_dispatch v0.3.11 Downloaded assert_matches v1.5.0 Downloaded anstyle-query v1.0.0 Downloaded datafrog v2.0.1 Downloaded linux-raw-sys v0.3.7 Downloaded print_bytes v1.2.0 Downloaded is-terminal v0.4.7 Downloaded either v1.8.1 Downloaded termcolor v1.2.0 Downloaded cpufeatures v0.2.7 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 rustix v0.37.25 Compiling syn v1.0.109 Compiling serde v1.0.163 Compiling thiserror v1.0.40 Compiling glob v0.3.1 Compiling cfg-if v1.0.0 Compiling cc v1.0.79 Compiling prettyplease v0.2.5 Compiling version_check v0.9.4 Compiling bitflags v1.3.2 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 shlex v1.3.0 Compiling termcolor v1.2.0 Compiling humantime v2.1.0 Compiling rustc-hash v1.1.0 Compiling peeking_take_while v0.1.2 Compiling once_cell v1.17.1 Compiling autocfg v1.1.0 Compiling lazy_static v1.4.0 Compiling print_bytes v1.2.0 Compiling lazycell v1.3.0 Compiling unicode-xid v0.2.4 Compiling rustversion v1.0.12 Compiling serde_json v1.0.96 Compiling prettyplease v0.1.25 Compiling gimli v0.27.2 Compiling adler v1.0.2 Compiling failure_derive v0.1.8 Compiling heck v0.4.1 Compiling hashbrown v0.12.3 Compiling rustc-demangle v0.1.23 Compiling half v1.8.2 Compiling miniz_oxide v0.6.2 Compiling ryu v1.0.13 Compiling itoa v1.0.6 Compiling libloading v0.7.4 Compiling c2rust-build-paths v0.20.0 (/home/buildozer/aports/testing/c2rust/src/c2rust-0.20.0/c2rust-build-paths) 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 pathdiff v0.2.1 Compiling strsim v0.10.0 Compiling smallvec v1.10.0 Compiling textwrap v0.16.0 Compiling dtoa v1.0.6 Compiling yaml-rust v0.4.5 Compiling itertools v0.10.5 Compiling strum v0.24.1 Compiling is_executable v1.0.1 Compiling clap_lex v0.2.4 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling clang-sys v1.6.1 Compiling indexmap v1.9.3 Compiling aho-corasick v1.0.1 Compiling nom v7.1.3 Compiling object v0.30.3 Compiling log-reroute v0.1.8 Compiling cmake v0.1.50 Compiling quote v1.0.36 Compiling syn v2.0.75 Compiling backtrace v0.3.67 Compiling which v4.4.0 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 regex v1.8.1 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 c2rust-ast-builder v0.20.0 (/home/buildozer/aports/testing/c2rust/src/c2rust-0.20.0/c2rust-ast-builder) Compiling synstructure v0.12.6 Compiling c2rust-ast-printer v0.20.0 (/home/buildozer/aports/testing/c2rust/src/c2rust-0.20.0/c2rust-ast-printer) Compiling thiserror-impl v1.0.40 Compiling serde_derive v1.0.163 Compiling c2rust-bitfields-derive v0.20.0 (/home/buildozer/aports/testing/c2rust/src/c2rust-0.20.0/c2rust-bitfields-derive) Compiling clap_derive v3.2.25 Compiling strum_macros v0.24.3 Compiling c2rust-bitfields v0.20.0 (/home/buildozer/aports/testing/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/testing/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 Compiling handlebars v4.3.7 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.20.0 (/home/buildozer/aports/testing/c2rust/src/c2rust-0.20.0/c2rust-transpile) Compiling c2rust v0.20.0 (/home/buildozer/aports/testing/c2rust/src/c2rust-0.20.0/c2rust) Finished `release` profile [optimized] target(s) in 2m 16s >>> 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.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: 3.9 MB >>> c2rust*: Compressing data... >>> c2rust*: Create checksum... >>> c2rust*: Create c2rust-0.20.0-r0.apk >>> c2rust: Build complete at Mon, 17 Mar 2025 16:25:09 +0000 elapsed time 0h 2m 35s >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Uninstalling dependencies... (1/51) Purging .makedepends-c2rust (20250317.162235) (2/51) Purging cargo-auditable (0.6.6-r0) (3/51) Purging clang20-dev (20.1.0-r0) (4/51) Purging clang20 (20.1.0-r0) (5/51) Purging clang20-extra-tools (20.1.0-r0) (6/51) Purging clang20-static (20.1.0-r0) (7/51) Purging cmake (3.31.6-r1) (8/51) Purging libxml2-dev (2.13.6-r0) (9/51) Purging libxml2-utils (2.13.6-r0) (10/51) Purging llvm20-dev (20.1.0-r0) (11/51) Purging llvm20 (20.1.0-r0) (12/51) Purging llvm20-linker-tools (20.1.0-r0) (13/51) Purging libffi-dev (3.4.7-r0) (14/51) Purging linux-headers (6.12.6-r0) (15/51) Purging zlib-dev (1.3.1-r2) (16/51) Purging zstd-dev (1.5.7-r0) (17/51) Purging zstd (1.5.7-r0) (18/51) Purging llvm20-test-utils-pyc (20.1.0-r0) (19/51) Purging llvm20-test-utils (20.1.0-r0) (20/51) Purging python3-pyc (3.12.9-r0) (21/51) Purging python3-pycache-pyc0 (3.12.9-r0) (22/51) Purging pyc (3.12.9-r0) (23/51) Purging python3 (3.12.9-r0) (24/51) Purging llvm20-gtest (20.1.0-r0) (25/51) Purging llvm20-static (20.1.0-r0) (26/51) Purging ncurses-dev (6.5_p20250216-r0) (27/51) Purging libncurses++ (6.5_p20250216-r0) (28/51) Purging libpanelw (6.5_p20250216-r0) (29/51) Purging openssl-dev (3.3.3-r0) (30/51) Purging tinycbor-dev (0.6.0-r1) (31/51) Purging libtinycbor (0.6.0-r1) (32/51) Purging cargo (1.85.0-r0) (33/51) Purging rust (1.85.0-r0) (34/51) Purging clang20-libclang (20.1.0-r0) (35/51) Purging clang20-headers (20.1.0-r0) (36/51) Purging clang20-libs (20.1.0-r0) (37/51) Purging gdbm (1.24-r0) (38/51) Purging libarchive (3.7.7-r0) (39/51) Purging libformw (6.5_p20250216-r0) (40/51) Purging libmenuw (6.5_p20250216-r0) (41/51) Purging libuv (1.50.0-r0) (42/51) Purging llvm19-libs (19.1.7-r0) (43/51) Purging llvm20-libs (20.1.0-r0) (44/51) Purging mpdecimal (4.0.0-r0) (45/51) Purging rhash-libs (1.4.5-r0) (46/51) Purging scudo-malloc (19.1.7-r0) (47/51) Purging sqlite-libs (3.49.1-r0) (48/51) Purging xz-dev (5.6.4-r0) (49/51) Purging xz (5.6.4-r0) (50/51) Purging libffi (3.4.7-r0) (51/51) Purging libxml2 (2.13.6-r0) Executing busybox-1.37.0-r14.trigger OK: 403 MiB in 117 packages >>> c2rust: Updating the testing/x86 repository index... >>> c2rust: Signing the index...