>>> c2rust: Building community/c2rust 0.20.0-r0 (using abuild 3.16.0_rc4-r0) started Thu, 23 Oct 2025 22:15:57 +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/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 clang20-headers (20.1.8-r1) (10/53) Installing llvm20-libs (20.1.8-r0) (11/53) Installing clang20-libs (20.1.8-r1) (12/53) Installing llvm20-linker-tools (20.1.8-r0) (13/53) Installing clang20 (20.1.8-r1) (14/53) Installing clang20-libclang (20.1.8-r1) (15/53) Installing clang20-dev (20.1.8-r1) (16/53) Installing clang20-extra-tools (20.1.8-r1) (17/53) Installing clang20-static (20.1.8-r1) (18/53) Installing libbz2 (1.0.8-r6) (19/53) Installing libarchive (3.8.2-r0) (20/53) Installing rhash-libs (1.4.6-r0) (21/53) Installing libuv (1.51.0-r0) (22/53) Installing cmake (4.1.2-r0) (23/53) Installing zlib-dev (1.3.1-r2) (24/53) Installing xz (5.8.1-r0) (25/53) Installing xz-dev (5.8.1-r0) (26/53) Installing libxml2-utils (2.13.9-r0) (27/53) Installing libxml2-dev (2.13.9-r0) (28/53) Installing llvm20 (20.1.8-r0) (29/53) Installing linux-headers (6.16.12-r0) (30/53) Installing libffi-dev (3.5.2-r0) (31/53) Installing zstd (1.5.7-r2) (32/53) Installing zstd-dev (1.5.7-r2) (33/53) Installing gdbm (1.26-r0) (34/53) Installing mpdecimal (4.0.1-r0) (35/53) Installing libpanelw (6.5_p20251010-r0) (36/53) Installing sqlite-libs (3.50.4-r1) (37/53) Installing python3 (3.12.12-r0) (38/53) Installing python3-pycache-pyc0 (3.12.12-r0) (39/53) Installing pyc (3.12.12-r0) (40/53) Installing llvm20-test-utils-pyc (20.1.8-r0) (41/53) Installing python3-pyc (3.12.12-r0) (42/53) Installing llvm20-test-utils (20.1.8-r0) (43/53) Installing llvm20-dev (20.1.8-r0) (44/53) Installing llvm20-gtest (20.1.8-r0) (45/53) Installing llvm20-static (20.1.8-r0) (46/53) Installing libformw (6.5_p20251010-r0) (47/53) Installing libmenuw (6.5_p20251010-r0) (48/53) Installing libncurses++ (6.5_p20251010-r0) (49/53) Installing ncurses-dev (6.5_p20251010-r0) (50/53) Installing openssl-dev (3.5.4-r0) (51/53) Installing libtinycbor (0.6.1-r0) (52/53) Installing tinycbor-dev (0.6.1-r0) (53/53) Installing .makedepends-c2rust (20251023.221601) busybox-1.37.0-r24.trigger: Executing script... OK: 2738 MiB in 158 packages >>> c2rust: Cleaning up srcdir >>> c2rust: Cleaning up pkgdir >>> c2rust: Cleaning up tmpdir >>> c2rust: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/c2rust-0.20.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.23/c2rust-0.20.0.tar.gz.part' c2rust-0.20.0.tar.gz 100% |********************************| 2504k 0:00:00 ETA '/var/cache/distfiles/v3.23/c2rust-0.20.0.tar.gz.part' saved /var/cache/distfiles/v3.23/c2rust-0.20.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 /home/buildozer/aports/community/c2rust/0003-fix-compilation-with-llvm20.patch: OK >>> c2rust: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/c2rust-0.20.0.tar.gz /var/cache/distfiles/v3.23/c2rust-0.20.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 /home/buildozer/aports/community/c2rust/0003-fix-compilation-with-llvm20.patch: OK >>> c2rust: Unpacking /var/cache/distfiles/v3.23/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 fastrand v1.9.0 Downloaded indexmap v1.9.3 Downloaded utf8parse v0.2.1 Downloaded anstyle-parse v0.2.0 Downloaded pathdiff v0.2.1 Downloaded linked_hash_set v0.1.4 Downloaded strum v0.24.1 Downloaded failure_derive v0.1.8 Downloaded colored v2.0.0 Downloaded failure v0.1.8 Downloaded arc-swap v1.6.0 Downloaded thread_local v1.1.7 Downloaded pest v2.6.0 Downloaded handlebars v4.3.7 Downloaded serde_json v1.0.96 Downloaded clap_builder v4.2.7 Downloaded rustc-hash v1.1.0 Downloaded bindgen v0.65.1 Downloaded typenum v1.16.0 Downloaded fern v0.6.2 Downloaded clap v4.2.7 Downloaded cc v1.0.79 Downloaded hashbrown v0.12.3 Downloaded backtrace v0.3.67 Downloaded itertools v0.10.5 Downloaded tracing v0.1.37 Downloaded zerocopy v0.7.35 Downloaded aho-corasick v1.0.1 Downloaded color-spantrace v0.2.0 Downloaded tracing-subscriber v0.3.17 Downloaded syn v1.0.109 Downloaded clap v3.2.25 Downloaded regex v1.8.1 Downloaded object v0.30.3 Downloaded syn v2.0.75 Downloaded winnow v0.4.6 Downloaded regex-syntax v0.7.1 Downloaded rustix v0.37.25 Downloaded anyhow v1.0.75 Downloaded rand v0.8.5 Downloaded tracing-core v0.1.31 Downloaded proc-macro2 v1.0.86 Downloaded addr2line v0.19.0 Downloaded miniz_oxide v0.6.2 Downloaded eyre v0.6.8 Downloaded sharded-slab v0.1.4 Downloaded similar v2.2.1 Downloaded crossbeam-utils v0.8.19 Downloaded insta v1.29.0 Downloaded textwrap v0.16.0 Downloaded env_logger v0.10.0 Downloaded serde v1.0.163 Downloaded sha2 v0.10.8 Downloaded libc v0.2.147 Downloaded rustc-demangle v0.1.23 Downloaded color-eyre v0.6.2 Downloaded gimli v0.27.2 Downloaded proc-macro-error v1.0.4 Downloaded clap_derive v3.2.25 Downloaded yaml-rust v0.4.5 Downloaded cpufeatures v0.2.7 Downloaded block-buffer v0.10.4 Downloaded owo-colors v3.5.0 Downloaded pin-project-lite v0.2.9 Downloaded console v0.15.5 Downloaded bincode v1.3.3 Downloaded os_str_bytes v6.5.0 Downloaded humantime v2.1.0 Downloaded getrandom v0.2.10 Downloaded toml_edit v0.19.8 Downloaded linux-raw-sys v0.3.7 Downloaded datafrog v2.0.1 Downloaded polonius-engine v0.13.0 Downloaded generic-array v0.14.7 Downloaded crypto-common v0.1.6 Downloaded digest v0.10.7 Downloaded shlex v1.3.0 Downloaded enum_dispatch v0.3.11 Downloaded fs-err v2.9.0 Downloaded tempfile v3.5.0 Downloaded quote v1.0.36 Downloaded unicode-ident v1.0.8 Downloaded nom v7.1.3 Downloaded minimal-lexical v0.2.1 Downloaded adler v1.0.2 Downloaded tracing-error v0.2.0 Downloaded crossbeam-queue v0.3.11 Downloaded print_bytes v1.2.0 Downloaded heck v0.4.1 Downloaded strsim v0.10.0 Downloaded is-terminal v0.4.7 Downloaded termcolor v1.2.0 Downloaded memchr v2.5.0 Downloaded ryu v1.0.13 Downloaded prettyplease v0.2.5 Downloaded clang-sys v1.6.1 Downloaded serde_cbor v0.11.2 Downloaded prettyplease v0.1.25 Downloaded lazy_static v1.4.0 Downloaded linked-hash-map v0.5.6 Downloaded fs2 v0.4.3 Downloaded either v1.8.1 Downloaded serde_derive v1.0.163 Downloaded ucd-trie v0.1.5 Downloaded pest_meta v2.6.0 Downloaded pest_derive v2.6.0 Downloaded thiserror v1.0.40 Downloaded smallvec v1.10.0 Downloaded libloading v0.7.4 Downloaded cmake v0.1.50 Downloaded serde_bytes v0.11.9 Downloaded half v1.8.2 Downloaded anstream v0.3.2 Downloaded clap_derive v4.2.0 Downloaded clap_lex v0.2.4 Downloaded log v0.4.17 Downloaded bitflags v1.3.2 Downloaded autocfg v1.1.0 Downloaded dtoa v1.0.6 Downloaded unicode-xid v0.2.4 Downloaded synstructure v0.12.6 Downloaded pest_generator v2.6.0 Downloaded thiserror-impl v1.0.40 Downloaded log-reroute v0.1.8 Downloaded serde_bencode v0.2.3 Downloaded itoa v1.0.6 Downloaded rustversion v1.0.12 Downloaded strum_macros v0.24.3 Downloaded lazycell v1.3.0 Downloaded once_cell v1.17.1 Downloaded byteorder v1.5.0 Downloaded zerocopy-derive v0.7.35 Downloaded io-lifetimes v1.0.10 Downloaded colored v1.9.3 Downloaded cexpr v0.6.0 Downloaded is_executable v1.0.1 Downloaded which v4.4.0 Downloaded glob v0.3.1 Downloaded assert_matches v1.5.0 Downloaded colorchoice v1.0.0 Downloaded indenter v0.3.3 Downloaded indexed_vec v1.2.1 Downloaded proc-macro-error-attr v1.0.4 Downloaded version_check v0.9.4 Downloaded peeking_take_while v0.1.2 Downloaded atty v0.2.14 Downloaded anstyle-query v1.0.0 Downloaded anstyle v1.0.0 Downloaded cfg-if v1.0.0 Downloaded toml_datetime v0.6.1 Downloaded clap_lex v0.4.1 Downloaded ppv-lite86 v0.2.20 Downloaded rand_chacha v0.3.1 Downloaded rand_core v0.6.4 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 serde v1.0.163 Compiling thiserror v1.0.40 Compiling cfg-if v1.0.0 Compiling cc v1.0.79 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 either v1.8.1 Compiling bindgen v0.65.1 Compiling ucd-trie v0.1.5 Compiling print_bytes v1.2.0 Compiling humantime v2.1.0 Compiling termcolor v1.2.0 Compiling once_cell v1.17.1 Compiling lazycell v1.3.0 Compiling autocfg v1.1.0 Compiling lazy_static v1.4.0 Compiling peeking_take_while v0.1.2 Compiling shlex v1.3.0 Compiling rustc-hash v1.1.0 Compiling failure_derive v0.1.8 Compiling rustversion v1.0.12 Compiling adler v1.0.2 Compiling heck v0.4.1 Compiling unicode-xid v0.2.4 Compiling prettyplease v0.1.25 Compiling gimli v0.27.2 Compiling serde_json v1.0.96 Compiling ryu v1.0.13 Compiling libloading v0.7.4 Compiling half v1.8.2 Compiling rustc-demangle v0.1.23 Compiling miniz_oxide v0.6.2 Compiling hashbrown v0.12.3 Compiling itoa v1.0.6 Compiling c2rust-build-paths v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-build-paths) Compiling linked-hash-map v0.5.6 Compiling arc-swap v1.6.0 Compiling anyhow v1.0.75 Compiling os_str_bytes v6.5.0 Compiling dtoa v1.0.6 Compiling strsim v0.10.0 Compiling pathdiff v0.2.1 Compiling textwrap v0.16.0 Compiling smallvec v1.10.0 Compiling strum v0.24.1 Compiling is_executable v1.0.1 Compiling yaml-rust v0.4.5 Compiling itertools v0.10.5 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling indexmap v1.9.3 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 backtrace v0.3.67 Compiling syn v2.0.75 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 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-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 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 error: failed to run custom build command for `c2rust-ast-exporter v0.20.0 (/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-ast-exporter)` Caused by: process didn't exit successfully: `/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/target/release/build/c2rust-ast-exporter-13efeac3221fd11c/build-script-build` (exit status: 101) --- stdout CMAKE_TOOLCHAIN_FILE_x86_64-alpine-linux-musl = None CMAKE_TOOLCHAIN_FILE_x86_64_alpine_linux_musl = None HOST_CMAKE_TOOLCHAIN_FILE = None CMAKE_TOOLCHAIN_FILE = None CMAKE_GENERATOR_x86_64-alpine-linux-musl = None CMAKE_GENERATOR_x86_64_alpine_linux_musl = None HOST_CMAKE_GENERATOR = None CMAKE_GENERATOR = Some("Ninja") CMAKE_PREFIX_PATH_x86_64-alpine-linux-musl = None CMAKE_PREFIX_PATH_x86_64_alpine_linux_musl = None HOST_CMAKE_PREFIX_PATH = None CMAKE_PREFIX_PATH = None CMAKE_x86_64-alpine-linux-musl = None CMAKE_x86_64_alpine_linux_musl = None HOST_CMAKE = None CMAKE = None running: cd "/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/target/release/build/c2rust-ast-exporter-e8325110594117d6/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/c2rust-ast-exporter/src" "-G" "Ninja" "-DLLVM_DIR=/usr/lib/llvm20/lib/cmake/llvm" "-DClang_DIR=/usr/lib/llvm20/lib/cmake/clang" "-DCMAKE_INSTALL_PREFIX=/home/buildozer/aports/community/c2rust/src/c2rust-0.20.0/target/release/build/c2rust-ast-exporter-e8325110594117d6/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -fno-plt" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=MinSizeRel" -- Configuring incomplete, errors occurred! --- stderr CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. thread 'main' panicked at /home/buildozer/aports/community/c2rust/tmp/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.50/src/lib.rs:1098:5: command did not execute successfully, got: exit status: 1 build script failed, must exit now note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... >>> ERROR: c2rust: build failed >>> c2rust: Uninstalling dependencies... ( 1/53) Purging .makedepends-c2rust (20251023.221601) ( 2/53) Purging cargo-auditable (0.7.1-r0) ( 3/53) Purging clang20-dev (20.1.8-r1) ( 4/53) Purging clang20 (20.1.8-r1) ( 5/53) Purging clang20-extra-tools (20.1.8-r1) ( 6/53) Purging clang20-static (20.1.8-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 llvm20-dev (20.1.8-r0) (11/53) Purging llvm20 (20.1.8-r0) (12/53) Purging llvm20-linker-tools (20.1.8-r0) (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 llvm20-test-utils-pyc (20.1.8-r0) (19/53) Purging llvm20-test-utils (20.1.8-r0) (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 llvm20-gtest (20.1.8-r0) (25/53) Purging llvm20-static (20.1.8-r0) (26/53) Purging tinycbor-dev (0.6.1-r0) (27/53) Purging libtinycbor (0.6.1-r0) (28/53) Purging cargo (1.90.0-r1) (29/53) Purging rust (1.90.0-r1) (30/53) Purging clang20-libclang (20.1.8-r1) (31/53) Purging clang20-headers (20.1.8-r1) (32/53) Purging clang20-libs (20.1.8-r1) (33/53) Purging gdbm (1.26-r0) (34/53) Purging libarchive (3.8.2-r0) (35/53) Purging libbz2 (1.0.8-r6) (36/53) Purging libuv (1.51.0-r0) (37/53) Purging llvm20-libs (20.1.8-r0) (38/53) Purging llvm21-libs (21.1.2-r1) (39/53) Purging mpdecimal (4.0.1-r0) (40/53) Purging rhash-libs (1.4.6-r0) (41/53) Purging scudo-malloc (21.1.2-r0) (42/53) Purging sqlite-libs (3.50.4-r1) (43/53) Purging xz-dev (5.8.1-r0) (44/53) Purging xz (5.8.1-r0) (45/53) Purging libffi (3.5.2-r0) (46/53) Purging ncurses-dev (6.5_p20251010-r0) (47/53) Purging libncurses++ (6.5_p20251010-r0) (48/53) Purging libpanelw (6.5_p20251010-r0) (49/53) Purging libformw (6.5_p20251010-r0) (50/53) Purging libmenuw (6.5_p20251010-r0) (51/53) Purging libxml2 (2.13.9-r0) (52/53) Purging openssl-dev (3.5.4-r0) (53/53) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 440 MiB in 105 packages