>>> c2rust: Building community/c2rust 0.20.0-r0 (using abuild 3.15.0_rc3-r1) started Mon, 05 May 2025 00:22:16 +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/49) Installing libffi (3.4.8-r0) (2/49) Installing libxml2 (2.13.7-r1) (3/49) Installing llvm20-libs (20.1.3-r2) (4/49) Installing rust (1.86.0-r2) (5/49) Installing cargo (1.86.0-r2) (6/49) Installing cargo-auditable (0.6.7-r0) (7/49) Installing clang20-headers (20.1.3-r0) (8/49) Installing clang20-libs (20.1.3-r0) (9/49) Installing llvm20-linker-tools (20.1.3-r2) (10/49) Installing clang20 (20.1.3-r0) (11/49) Installing clang20-libclang (20.1.3-r0) (12/49) Installing clang20-extra-tools (20.1.3-r0) (13/49) Installing clang20-dev (20.1.3-r0) (14/49) Installing clang20-static (20.1.3-r0) (15/49) Installing libarchive (3.7.9-r0) (16/49) Installing rhash-libs (1.4.5-r0) (17/49) Installing libuv (1.50.0-r0) (18/49) Installing cmake (3.31.7-r0) (19/49) Installing zlib-dev (1.3.1-r2) (20/49) Installing xz (5.8.1-r0) (21/49) Installing xz-dev (5.8.1-r0) (22/49) Installing libxml2-utils (2.13.7-r1) (23/49) Installing libxml2-dev (2.13.7-r1) (24/49) Installing gdbm (1.24-r0) (25/49) Installing mpdecimal (4.0.0-r0) (26/49) Installing libpanelw (6.5_p20250412-r0) (27/49) Installing sqlite-libs (3.49.1-r1) (28/49) Installing python3 (3.12.10-r0) (29/49) Installing python3-pycache-pyc0 (3.12.10-r0) (30/49) Installing pyc (3.12.10-r0) (31/49) Installing llvm20-test-utils-pyc (20.1.3-r2) (32/49) Installing python3-pyc (3.12.10-r0) (33/49) Installing llvm20-test-utils (20.1.3-r2) (34/49) Installing llvm20 (20.1.3-r2) (35/49) Installing linux-headers (6.14.2-r0) (36/49) Installing libffi-dev (3.4.8-r0) (37/49) Installing zstd (1.5.7-r0) (38/49) Installing zstd-dev (1.5.7-r0) (39/49) Installing llvm20-dev (20.1.3-r2) (40/49) Installing llvm20-gtest (20.1.3-r2) (41/49) Installing llvm20-static (20.1.3-r2) (42/49) Installing libformw (6.5_p20250412-r0) (43/49) Installing libmenuw (6.5_p20250412-r0) (44/49) Installing libncurses++ (6.5_p20250412-r0) (45/49) Installing ncurses-dev (6.5_p20250412-r0) (46/49) Installing openssl-dev (3.5.0-r0) (47/49) Installing libtinycbor (0.6.0-r1) (48/49) Installing tinycbor-dev (0.6.0-r1) (49/49) Installing .makedepends-c2rust (20250505.002217) Executing busybox-1.37.0-r16.trigger OK: 1366 MiB in 159 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 >>> 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 thiserror v1.0.40 Downloaded toml_datetime v0.6.1 Downloaded tempfile v3.5.0 Downloaded os_str_bytes v6.5.0 Downloaded thiserror-impl v1.0.40 Downloaded indexed_vec v1.2.1 Downloaded anyhow v1.0.75 Downloaded which v4.4.0 Downloaded failure_derive v0.1.8 Downloaded itoa v1.0.6 Downloaded strsim v0.10.0 Downloaded serde_derive v1.0.163 Downloaded is_executable v1.0.1 Downloaded rustversion v1.0.12 Downloaded unicode-xid v0.2.4 Downloaded assert_matches v1.5.0 Downloaded pathdiff v0.2.1 Downloaded strum v0.24.1 Downloaded colored v2.0.0 Downloaded dtoa v1.0.6 Downloaded owo-colors v3.5.0 Downloaded cmake v0.1.50 Downloaded addr2line v0.19.0 Downloaded log-reroute v0.1.8 Downloaded arc-swap v1.6.0 Downloaded pest v2.6.0 Downloaded cexpr v0.6.0 Downloaded serde_bytes v0.11.9 Downloaded smallvec v1.10.0 Downloaded anstyle-parse v0.2.0 Downloaded ryu v1.0.13 Downloaded prettyplease v0.2.5 Downloaded backtrace v0.3.67 Downloaded tracing v0.1.37 Downloaded tracing-core v0.1.31 Downloaded winnow v0.4.6 Downloaded crossbeam-utils v0.8.19 Downloaded fern v0.6.2 Downloaded tracing-subscriber v0.3.17 Downloaded object v0.30.3 Downloaded clap v3.2.25 Downloaded regex v1.8.1 Downloaded bindgen v0.65.1 Downloaded regex-syntax v0.7.1 Downloaded rustix v0.37.25 Downloaded clap_builder v4.2.7 Downloaded color-spantrace v0.2.0 Downloaded aho-corasick v1.0.1 Downloaded syn v2.0.75 Downloaded serde_json v1.0.96 Downloaded libloading v0.7.4 Downloaded clang-sys v1.6.1 Downloaded insta v1.29.0 Downloaded half v1.8.2 Downloaded color-eyre v0.6.2 Downloaded prettyplease v0.1.25 Downloaded typenum v1.16.0 Downloaded gimli v0.27.2 Downloaded cc v1.0.79 Downloaded miniz_oxide v0.6.2 Downloaded sharded-slab v0.1.4 Downloaded similar v2.2.1 Downloaded proc-macro-error v1.0.4 Downloaded yaml-rust v0.4.5 Downloaded linux-raw-sys v0.3.7 Downloaded rustc-demangle v0.1.23 Downloaded textwrap v0.16.0 Downloaded serde_cbor v0.11.2 Downloaded clap v4.2.7 Downloaded eyre v0.6.8 Downloaded termcolor v1.2.0 Downloaded env_logger v0.10.0 Downloaded clap_derive v4.2.0 Downloaded polonius-engine v0.13.0 Downloaded log v0.4.17 Downloaded anstyle-query v1.0.0 Downloaded datafrog v2.0.1 Downloaded adler v1.0.2 Downloaded anstream v0.3.2 Downloaded clap_lex v0.4.1 Downloaded serde_bencode v0.2.3 Downloaded strum_macros v0.24.3 Downloaded anstyle v1.0.0 Downloaded proc-macro-error-attr v1.0.4 Downloaded thread_local v1.1.7 Downloaded tracing-error v0.2.0 Downloaded clap_derive v3.2.25 Downloaded clap_lex v0.2.4 Downloaded fs-err v2.9.0 Downloaded serde v1.0.163 Downloaded toml_edit v0.19.8 Downloaded io-lifetimes v1.0.10 Downloaded once_cell v1.17.1 Downloaded console v0.15.5 Downloaded enum_dispatch v0.3.11 Downloaded handlebars v4.3.7 Downloaded synstructure v0.12.6 Downloaded failure v0.1.8 Downloaded ucd-trie v0.1.5 Downloaded pest_meta v2.6.0 Downloaded colored v1.9.3 Downloaded pest_derive v2.6.0 Downloaded pin-project-lite v0.2.9 Downloaded colorchoice v1.0.0 Downloaded pest_generator v2.6.0 Downloaded utf8parse v0.2.1 Downloaded lazycell v1.3.0 Downloaded peeking_take_while v0.1.2 Downloaded indenter v0.3.3 Downloaded linked_hash_set v0.1.4 Downloaded crossbeam-queue v0.3.11 Downloaded print_bytes v1.2.0 Downloaded atty v0.2.14 Downloaded is-terminal v0.4.7 Downloaded fastrand v1.9.0 Downloaded memchr v2.5.0 Downloaded either v1.8.1 Downloaded unicode-ident v1.0.8 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 cfg-if v1.0.0 Compiling glob v0.3.1 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 bindgen v0.65.1 Compiling either v1.8.1 Compiling ucd-trie v0.1.5 Compiling autocfg v1.1.0 Compiling termcolor v1.2.0 Compiling lazy_static v1.4.0 Compiling lazycell v1.3.0 Compiling print_bytes v1.2.0 Compiling peeking_take_while v0.1.2 Compiling rustc-hash v1.1.0 Compiling humantime v2.1.0 Compiling once_cell v1.17.1 Compiling shlex v1.3.0 Compiling unicode-xid v0.2.4 Compiling adler v1.0.2 Compiling serde_json v1.0.96 Compiling gimli v0.27.2 Compiling prettyplease v0.1.25 Compiling rustversion v1.0.12 Compiling heck v0.4.1 Compiling failure_derive v0.1.8 Compiling half v1.8.2 Compiling rustc-demangle v0.1.23 Compiling itoa v1.0.6 Compiling hashbrown v0.12.3 Compiling ryu v1.0.13 Compiling anyhow v1.0.75 Compiling linked-hash-map v0.5.6 Compiling arc-swap v1.6.0 Compiling os_str_bytes v6.5.0 Compiling strum v0.24.1 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 is_executable v1.0.1 Compiling libloading v0.7.4 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 itertools v0.10.5 Compiling yaml-rust v0.4.5 Compiling clap_lex v0.2.4 Compiling log-reroute v0.1.8 Compiling clang-sys v1.6.1 Compiling indexmap v1.9.3 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling aho-corasick v1.0.1 Compiling nom v7.1.3 Compiling object v0.30.3 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/community/c2rust/src/c2rust-0.20.0/c2rust-ast-builder) Compiling synstructure v0.12.6 Compiling c2rust-ast-printer v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-ast-printer) 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 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 handlebars v4.3.7 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 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 17s >>> 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-armv7.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.0 MB >>> c2rust*: Compressing data... >>> c2rust*: Create checksum... >>> c2rust*: Create c2rust-0.20.0-r0.apk >>> c2rust: Build complete at Mon, 05 May 2025 00:24:44 +0000 elapsed time 0h 2m 28s >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Uninstalling dependencies... (1/49) Purging .makedepends-c2rust (20250505.002217) (2/49) Purging cargo-auditable (0.6.7-r0) (3/49) Purging clang20-dev (20.1.3-r0) (4/49) Purging clang20-extra-tools (20.1.3-r0) (5/49) Purging clang20 (20.1.3-r0) (6/49) Purging clang20-static (20.1.3-r0) (7/49) Purging cmake (3.31.7-r0) (8/49) Purging libxml2-dev (2.13.7-r1) (9/49) Purging libxml2-utils (2.13.7-r1) (10/49) Purging llvm20-dev (20.1.3-r2) (11/49) Purging llvm20 (20.1.3-r2) (12/49) Purging llvm20-linker-tools (20.1.3-r2) (13/49) Purging libffi-dev (3.4.8-r0) (14/49) Purging linux-headers (6.14.2-r0) (15/49) Purging zlib-dev (1.3.1-r2) (16/49) Purging zstd-dev (1.5.7-r0) (17/49) Purging zstd (1.5.7-r0) (18/49) Purging llvm20-test-utils-pyc (20.1.3-r2) (19/49) Purging llvm20-test-utils (20.1.3-r2) (20/49) Purging python3-pyc (3.12.10-r0) (21/49) Purging python3-pycache-pyc0 (3.12.10-r0) (22/49) Purging pyc (3.12.10-r0) (23/49) Purging python3 (3.12.10-r0) (24/49) Purging llvm20-gtest (20.1.3-r2) (25/49) Purging llvm20-static (20.1.3-r2) (26/49) Purging ncurses-dev (6.5_p20250412-r0) (27/49) Purging libncurses++ (6.5_p20250412-r0) (28/49) Purging libpanelw (6.5_p20250412-r0) (29/49) Purging openssl-dev (3.5.0-r0) (30/49) Purging tinycbor-dev (0.6.0-r1) (31/49) Purging libtinycbor (0.6.0-r1) (32/49) Purging cargo (1.86.0-r2) (33/49) Purging rust (1.86.0-r2) (34/49) Purging clang20-libclang (20.1.3-r0) (35/49) Purging clang20-headers (20.1.3-r0) (36/49) Purging clang20-libs (20.1.3-r0) (37/49) Purging gdbm (1.24-r0) (38/49) Purging libarchive (3.7.9-r0) (39/49) Purging libformw (6.5_p20250412-r0) (40/49) Purging libmenuw (6.5_p20250412-r0) (41/49) Purging libuv (1.50.0-r0) (42/49) Purging llvm20-libs (20.1.3-r2) (43/49) Purging mpdecimal (4.0.0-r0) (44/49) Purging rhash-libs (1.4.5-r0) (45/49) Purging sqlite-libs (3.49.1-r1) (46/49) Purging xz-dev (5.8.1-r0) (47/49) Purging xz (5.8.1-r0) (48/49) Purging libffi (3.4.8-r0) (49/49) Purging libxml2 (2.13.7-r1) Executing busybox-1.37.0-r16.trigger OK: 277 MiB in 110 packages >>> c2rust: Updating the community/armv7 repository index... >>> c2rust: Signing the index...