==> Updating pacman database cache :: Synchronizing package databases... core downloading... extra downloading... ==> Building libredefender -> repo: extra-staging -> arch: aarch64 -> worker: ben-5 ==> Building libredefender for [extra-staging] (aarch64) :: Synchronizing package databases... core-staging downloading... core-testing downloading... core downloading... extra-staging downloading... extra-testing downloading... aur downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging] (aarch64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-aarch64/root] -> [ben-5]...done ==> Making package: libredefender 0.7.0-2 (Thu Sep 17 01:02:49 2026) ==> Retrieving sources... -> Downloading libredefender-0.7.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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 75375 0 75375 0 0 134.4k 0 0 100 75375 0 75375 0 0 134.4k 0 0 100 75375 0 75375 0 0 134.4k 0 0 -> Downloading libredefender-0.7.0.tar.gz.asc... % 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 850 100 850 0 0 2280 0 0 100 850 100 850 0 0 2280 0 0 100 850 100 850 0 0 2279 0 0 ==> Validating source files with b2sums... libredefender-0.7.0.tar.gz ... Passed libredefender-0.7.0.tar.gz.asc ... Skipped ==> Verifying source file signatures with gpg... libredefender-0.7.0.tar.gz ... Passed ==> Making package: libredefender 0.7.0-2 (Thu Sep 17 08:02:56 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... :: There are 2 providers available for libclamav.so: :: Repository extra-testing 1) clamav :: Repository extra 2) clamav Enter a number (): resolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra-testing/libmilter 8.18.2-1 0.09 MiB extra-testing/libmspack 1:1.11-2 0.21 MiB extra-testing/clamav 1.5.4-1 145.84 MiB extra-testing/hicolor-icon-theme 0.18-1 0.05 MiB Total Installed Size: 146.20 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... clamav-1.5.4-1-aarch64 downloading... libmspack-1:1.11-2-aarch64 downloading... libmilter-8.18.2-1-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libmspack... installing libmilter... installing clamav... installing hicolor-icon-theme... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'clamav' with GID 64. Creating user 'clamav' (Clam AntiVirus) with UID 64 and GID 64. (2/4) Creating temporary files... (3/4) Reloading system manager configuration... Skipped: Current root is not booted. (4/4) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 4 providers available for cargo: :: Repository extra-testing 1) rust 2) rustup :: Repository extra 3) rust 4) rustup Enter a number (): resolving dependencies... looking for conflicting packages... Package (8) New Version Net Change extra-testing/compiler-rt 22.1.8-1 34.52 MiB core/libedit 20260512_3.1-1 0.30 MiB extra-testing/libgit2 1:1.9.7-1 3.16 MiB extra-testing/lld 22.1.8-1 7.18 MiB extra-testing/llhttp 9.3.1-1 0.16 MiB extra-testing/llvm-libs 22.1.8-2 159.60 MiB extra-testing/clang 22.1.8-1 249.39 MiB extra-testing/rust 1:1.98.1-1 287.41 MiB Total Installed Size: 741.71 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rust-1:1.98.1-1-aarch64 downloading... clang-22.1.8-1-aarch64 downloading... llvm-libs-22.1.8-2-aarch64 downloading... compiler-rt-22.1.8-1-aarch64 downloading... lld-22.1.8-1-aarch64 downloading... libgit2-1:1.9.7-1-aarch64 downloading... libedit-20260512_3.1-1-aarch64 downloading... llhttp-9.3.1-1-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing compiler-rt... installing llhttp... installing libgit2... installing libedit... installing llvm-libs... installing lld... installing rust... Optional dependencies for rust gdb: rust-gdb script [installed] lldb: rust-lldb script installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format [installed] llvm: referenced by some clang headers :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found libredefender-0.7.0.tar.gz -> Found libredefender-0.7.0.tar.gz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting libredefender-0.7.0.tar.gz with bsdtar ==> Starting prepare()... Updating crates.io index Updating git repository `https://github.com/kpcyrd/clamav-rs` Downloading crates ... Downloaded toml_datetime v0.6.3 Downloaded cfg-if v1.0.0 Downloaded zvariant_derive v3.15.0 Downloaded zvariant_utils v1.0.1 Downloaded proc-macro-crate v1.3.1 Downloaded walkdir v2.3.3 Downloaded autocfg v1.1.0 Downloaded digest v0.10.7 Downloaded indexmap v2.0.0 Downloaded toml_edit v0.19.14 Downloaded memchr v2.6.3 Downloaded lazycell v1.3.0 Downloaded hashbrown v0.14.0 Downloaded async-lock v2.8.0 Downloaded memoffset v0.6.5 Downloaded winnow v0.5.15 Downloaded slab v0.4.9 Downloaded futures-sink v0.3.28 Downloaded futures-lite v1.13.0 Downloaded parking v2.1.0 Downloaded async-fs v1.6.0 Downloaded dirs v5.0.1 Downloaded async-task v4.4.0 Downloaded concurrent-queue v2.2.0 Downloaded async-io v1.13.0 Downloaded async-executor v1.5.1 Downloaded futures-util v0.3.28 Downloaded waker-fn v1.1.0 Downloaded atomic-waker v1.1.1 Downloaded crossbeam-utils v0.8.16 Downloaded socket2 v0.4.9 Downloaded async-broadcast v0.5.1 Downloaded humantime v2.1.0 Downloaded option-ext v0.2.0 Downloaded same-file v1.0.6 Downloaded syn v1.0.109 Downloaded cpufeatures v0.2.9 Downloaded futures-task v0.3.28 Downloaded derivative v2.2.0 Downloaded blocking v1.3.1 Downloaded fastrand v1.9.0 Downloaded async-recursion v1.0.5 Downloaded io-lifetimes v1.0.11 Downloaded human-size v0.4.3 Downloaded glob v0.3.1 Downloaded env_logger v0.10.0 Downloaded dirs-sys v0.4.1 Downloaded pathdiff v0.2.1 Downloaded nom v7.1.3 Downloaded typenum v1.16.0 Downloaded equivalent v1.0.1 Downloaded nix v0.26.4 Downloaded memoffset v0.7.1 Downloaded sha1 v0.10.5 Downloaded log v0.4.20 Downloaded polling v2.5.2 Downloaded is-terminal v0.4.9 Downloaded fastrand v2.0.0 Downloaded once_cell v1.18.0 Downloaded static_assertions v1.1.0 Downloaded regex v1.9.5 Downloaded xdg-home v1.0.0 Downloaded tracing-attributes v0.1.26 Downloaded generic-array v0.14.7 Downloaded pin-utils v0.1.0 Downloaded async-channel v1.9.0 Downloaded termcolor v1.2.0 Downloaded toml v0.5.11 Downloaded tempfile v3.8.0 Downloaded bitflags v2.4.0 Downloaded byteorder v1.4.3 Downloaded num-traits v0.2.16 Downloaded aho-corasick v1.0.5 Downloaded bitflags v1.2.1 Downloaded serde_repr v0.1.16 Downloaded hex v0.4.3 Downloaded futures-io v0.3.28 Downloaded starship-battery v0.7.9 Downloaded zbus_macros v3.14.1 Downloaded config v0.13.3 Downloaded errno v0.3.3 Downloaded pin-project-lite v0.2.13 Downloaded block-buffer v0.10.4 Downloaded ioprio v0.2.0 Downloaded v_htmlescape v0.15.8 Downloaded event-listener v2.5.3 Downloaded serde v1.0.188 Downloaded async-trait v0.1.73 Downloaded chrono-humanize v0.2.3 Downloaded enumflags2 v0.7.7 Downloaded tracing-core v0.1.31 Downloaded crypto-common v0.1.6 Downloaded version_check v0.9.4 Downloaded minimal-lexical v0.2.1 Downloaded uom v0.30.0 Downloaded ordered-stream v0.2.0 Downloaded enumflags2_derive v0.7.7 Downloaded futures-core v0.3.28 Downloaded itoa v1.0.9 Downloaded num_cpus v1.16.0 Downloaded unicode-width v0.1.10 Downloaded tracing v0.1.37 Downloaded crossbeam-channel v0.5.8 Downloaded libc v0.2.147 Downloaded which v3.1.1 Downloaded nom v5.1.3 Downloaded serde_json v1.0.105 Downloaded quote v1.0.33 Downloaded getrandom v0.2.10 Downloaded lazy_static v1.4.0 Downloaded pkg-config v0.3.27 Downloaded time v0.1.45 Downloaded nix v0.21.2 Downloaded rand_chacha v0.3.1 Downloaded heck v0.4.1 Downloaded anstyle v1.0.2 Downloaded anstyle-query v1.0.0 Downloaded clamav-sys v0.0.5 Downloaded rustc-hash v1.1.0 Downloaded strsim v0.8.0 Downloaded clap_derive v4.4.2 Downloaded clap_lex v0.5.1 Downloaded utf8parse v0.2.1 Downloaded colorchoice v1.0.0 Downloaded peeking_take_while v0.1.2 Downloaded atty v0.2.14 Downloaded libloading v0.7.4 Downloaded cexpr v0.4.0 Downloaded zbus_names v2.6.0 Downloaded rustix v0.37.13 Downloaded atoi v2.0.0 Downloaded rand_core v0.6.4 Downloaded arrayvec v0.7.4 Downloaded regex-syntax v0.7.5 Downloaded anstream v0.5.0 Downloaded shlex v0.1.1 Downloaded chrono v0.4.28 Downloaded ryu v1.0.15 Downloaded colored v2.0.4 Downloaded anstyle-parse v0.2.1 Downloaded rustix v0.38.11 Downloaded regex-automata v0.3.8 Downloaded proc-macro2 v1.0.66 Downloaded ppv-lite86 v0.2.17 Downloaded textwrap v0.11.0 Downloaded serde_derive v1.0.188 Downloaded strsim v0.10.0 Downloaded semver v1.0.18 Downloaded ansi_term v0.12.1 Downloaded unicode-ident v1.0.11 Downloaded env_logger v0.8.4 Downloaded iana-time-zone v0.1.57 Downloaded clap_complete v4.4.0 Downloaded clang-sys v1.6.1 Downloaded anyhow v1.0.75 Downloaded num-format v0.4.4 Downloaded zvariant v3.15.0 Downloaded notify-rust v4.9.0 Downloaded clap v4.4.2 Downloaded vec_map v0.8.2 Downloaded linux-raw-sys v0.3.8 Downloaded rand v0.8.5 Downloaded linux-raw-sys v0.4.5 Downloaded clap v2.34.0 Downloaded zbus v3.14.1 Downloaded clap_builder v4.4.2 Downloaded bindgen v0.56.0 Downloaded syn v2.0.31 ==> Starting build()... Compiling libc v0.2.147 Compiling proc-macro2 v1.0.66 Compiling autocfg v1.1.0 Compiling unicode-ident v1.0.11 Compiling cfg-if v1.0.0 Compiling bitflags v1.2.1 Compiling version_check v0.9.4 Compiling memchr v2.6.3 Compiling futures-core v0.3.28 Compiling serde v1.0.188 Compiling regex-syntax v0.7.5 Compiling typenum v1.16.0 Compiling crossbeam-utils v0.8.16 Compiling pin-project-lite v0.2.13 Compiling syn v1.0.109 Compiling glob v0.3.1 Compiling event-listener v2.5.3 Compiling equivalent v1.0.1 Compiling hashbrown v0.14.0 Compiling toml_datetime v0.6.3 Compiling futures-io v0.3.28 Compiling winnow v0.5.15 Compiling generic-array v0.14.7 Compiling nom v5.1.3 Compiling num-traits v0.2.16 Compiling slab v0.4.9 Compiling aho-corasick v1.0.5 Compiling clang-sys v1.6.1 Compiling parking v2.1.0 Compiling fastrand v1.9.0 Compiling log v0.4.20 Compiling once_cell v1.18.0 Compiling waker-fn v1.1.0 Compiling concurrent-queue v2.2.0 Compiling indexmap v2.0.0 Compiling unicode-width v0.1.10 Compiling quote v1.0.33 Compiling textwrap v0.11.0 Compiling libloading v0.7.4 Compiling futures-lite v1.13.0 Compiling memoffset v0.7.1 Compiling syn v2.0.31 Compiling async-lock v2.8.0 Compiling ansi_term v0.12.1 Compiling termcolor v1.2.0 Compiling humantime v2.1.0 Compiling strsim v0.8.0 Compiling bindgen v0.56.0 Compiling vec_map v0.8.2 Compiling atty v0.2.14 Compiling io-lifetimes v1.0.11 Compiling pkg-config v0.3.27 Compiling clap v2.34.0 Compiling getrandom v0.2.10 Compiling which v3.1.1 Compiling polling v2.5.2 Compiling futures-task v0.3.28 Compiling peeking_take_while v0.1.2 Compiling regex-automata v0.3.8 Compiling utf8parse v0.2.1 Compiling async-trait v0.1.73 Compiling async-task v4.4.0 Compiling lazycell v1.3.0 Compiling semver v1.0.18 Compiling shlex v0.1.1 Compiling toml_edit v0.19.14 Compiling lazy_static v1.4.0 Compiling rustc-hash v1.1.0 Compiling rustix v0.37.13 Compiling rustix v0.38.11 Compiling bitflags v2.4.0 Compiling anstyle-parse v0.2.1 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling rand_core v0.6.4 Compiling async-channel v1.9.0 Compiling async-fs v1.6.0 Compiling async-io v1.13.0 Compiling cexpr v0.4.0 Compiling memoffset v0.6.5 Compiling linux-raw-sys v0.4.5 Compiling colorchoice v1.0.0 Compiling linux-raw-sys v0.3.8 Compiling byteorder v1.4.3 Compiling anstyle v1.0.2 Compiling static_assertions v1.1.0 Compiling futures-util v0.3.28 Compiling ppv-lite86 v0.2.17 Compiling anstyle-query v1.0.0 Compiling atomic-waker v1.1.1 Compiling tracing-core v0.1.31 Compiling blocking v1.3.1 Compiling anstream v0.5.0 Compiling rand_chacha v0.3.1 Compiling nix v0.26.4 Compiling digest v0.10.7 Compiling cpufeatures v0.2.9 Compiling socket2 v0.4.9 Compiling futures-sink v0.3.28 Compiling clap_lex v0.5.1 Compiling strsim v0.10.0 Compiling regex v1.9.5 Compiling proc-macro-crate v1.3.1 Compiling env_logger v0.8.4 Compiling zvariant_utils v1.0.1 Compiling heck v0.4.1 Compiling pin-utils v0.1.0 Compiling xdg-home v1.0.0 Compiling clap_builder v4.4.2 Compiling clamav-rs v0.5.5 (https://github.com/kpcyrd/clamav-rs?.2#1d6fa278) Compiling is-terminal v0.4.9 Compiling sha1 v0.10.5 Compiling rand v0.8.5 Compiling async-executor v1.5.1 Compiling time v0.1.45 Compiling async-broadcast v0.5.1 Compiling ordered-stream v0.2.0 Compiling iana-time-zone v0.1.57 Compiling anyhow v1.0.75 Compiling option-ext v0.2.0 Compiling starship-battery v0.7.9 Compiling serde_json v1.0.105 Compiling itoa v1.0.9 Compiling v_htmlescape v0.15.8 Compiling hex v0.4.3 Compiling minimal-lexical v0.2.1 Compiling dirs-sys v0.4.1 Compiling nix v0.21.2 Compiling nom v7.1.3 Compiling uom v0.30.0 Compiling serde_derive v1.0.188 Compiling enumflags2_derive v0.7.7 Compiling tracing-attributes v0.1.26 Compiling clap_derive v4.4.2 Compiling zvariant_derive v3.15.0 Compiling zbus_macros v3.14.1 Compiling derivative v2.2.0 Compiling async-recursion v1.0.5 Compiling serde_repr v0.1.16 Compiling same-file v1.0.6 Compiling arrayvec v0.7.4 Compiling ryu v1.0.15 Compiling pathdiff v0.2.1 Compiling tracing v0.1.37 Compiling num-format v0.4.4 Compiling env_logger v0.10.0 Compiling walkdir v2.3.3 Compiling dirs v5.0.1 Compiling clap v4.4.2 Compiling clap_complete v4.4.0 Compiling ioprio v0.2.0 Compiling colored v2.0.4 Compiling atoi v2.0.0 Compiling num_cpus v1.16.0 Compiling crossbeam-channel v0.5.8 Compiling clamav-sys v0.0.5 Compiling human-size v0.4.3 error[E0308]: mismatched types --> /build/.cargo/git/checkouts/clamav-rs-82aff097d484d52e/1d6fa27/src/engine.rs:87:44 | 87 | let bytes = CStr::from_ptr(virname).to_bytes(); | -------------- ^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: associated function defined here --> library/core/src/ffi/c_str.rs:254:24 error[E0308]: mismatched types --> /build/.cargo/git/checkouts/clamav-rs-82aff097d484d52e/1d6fa27/src/engine.rs:237:17 | 235 | let result = clamav_sys::cl_scanfile( | ----------------------- arguments to this function are incorrect 236 | raw_path.as_ptr(), 237 | &mut virname, | ^^^^^^^^^^^^ expected `*mut *const u8`, found `&mut *const i8` | = note: expected raw pointer `*mut *const u8` found mutable reference `&mut *const i8` note: function defined here --> /build/libredefender/src/libredefender-0.7.0/target/release/build/clamav-sys-042a7d0eb86cf6a7/out/bindings.rs:320:12 | 320 | pub fn cl_scanfile( | ^^^^^^^^^^^ error[E0308]: mismatched types --> /build/.cargo/git/checkouts/clamav-rs-82aff097d484d52e/1d6fa27/src/engine.rs:258:17 | 255 | let result = clamav_sys::cl_scandesc( | ----------------------- arguments to this function are incorrect ... 258 | &mut virname, | ^^^^^^^^^^^^ expected `*mut *const u8`, found `&mut *const i8` | = note: expected raw pointer `*mut *const u8` found mutable reference `&mut *const i8` note: function defined here --> /build/libredefender/src/libredefender-0.7.0/target/release/build/clamav-sys-042a7d0eb86cf6a7/out/bindings.rs:310:12 | 310 | pub fn cl_scandesc( | ^^^^^^^^^^^ error[E0308]: mismatched types --> /build/.cargo/git/checkouts/clamav-rs-82aff097d484d52e/1d6fa27/src/engine.rs:292:17 | 289 | clamav_sys::cl_scanmap_callback( | ------------------------------- arguments to this function are incorrect ... 292 | &mut virname, | ^^^^^^^^^^^^ expected `*mut *const u8`, found `&mut *const i8` | = note: expected raw pointer `*mut *const u8` found mutable reference `&mut *const i8` note: function defined here --> /build/libredefender/src/libredefender-0.7.0/target/release/build/clamav-sys-042a7d0eb86cf6a7/out/bindings.rs:329:12 | 329 | pub fn cl_scanmap_callback( | ^^^^^^^^^^^^^^^^^^^ error[E0004]: non-exhaustive patterns: `cl_engine_field::CL_ENGINE_CVDCERTSDIR`, `cl_engine_field::CL_ENGINE_TMPDIR_RECURSION` and `cl_engine_field::CL_ENGINE_FIPS_LIMITS` not covered --> /build/.cargo/git/checkouts/clamav-rs-82aff097d484d52e/1d6fa27/src/engine.rs:447:11 | 447 | match field { | ^^^^^ patterns `cl_engine_field::CL_ENGINE_CVDCERTSDIR`, `cl_engine_field::CL_ENGINE_TMPDIR_RECURSION` and `cl_engine_field::CL_ENGINE_FIPS_LIMITS` not covered | note: `cl_engine_field` defined here --> /build/libredefender/src/libredefender-0.7.0/target/release/build/clamav-sys-042a7d0eb86cf6a7/out/bindings.rs:203:1 | 203 | pub enum cl_engine_field { | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 241 | CL_ENGINE_CVDCERTSDIR = 37, | --------------------- not covered 242 | CL_ENGINE_TMPDIR_RECURSION = 38, | -------------------------- not covered 243 | CL_ENGINE_FIPS_LIMITS = 39, | --------------------- not covered = note: the matched value is of type `cl_engine_field` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms | 485 ~ cl_engine_field::CL_ENGINE_PE_DUMPCERTS => EngineValueType::U32, 486 ~ cl_engine_field::CL_ENGINE_CVDCERTSDIR | cl_engine_field::CL_ENGINE_TMPDIR_RECURSION | cl_engine_field::CL_ENGINE_FIPS_LIMITS => todo!(), | Some errors have detailed explanations: E0004, E0308. For more information about an error, try `rustc --explain E0004`. error: could not compile `clamav-rs` (lib) due to 5 previous errors warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-aarch64/ben-5/build