:: Synchronizing package databases... build-support-manual downloading... build-support downloading... core-staging downloading... extra-staging downloading... core-testing downloading... core downloading... extra-testing downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging-with-build-support] (pentium4)... ==> Synchronizing chroot copy [/var/lib/archbuild/slave6/extra-staging-with-build-support-pentium4/root] -> [slave6]...done ==> Making package: libredefender 0.7.0-2.0 (2024-09-10T10:33:08 CEST) ==> Retrieving sources... -> Found libredefender-0.7.0.tar.gz -> Found libredefender-0.7.0.tar.gz.asc ==> 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 gpg: Warning: using insecure memory! ==> Appending keys from archlinux32.gpg... gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2024-11-09 ==> Making package: libredefender 0.7.0-2.0 (Tue Sep 10 10:33:16 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (3) libmspack-1:1.11-1.0 clamav-0.103.3-1.0 hicolor-icon-theme-0.18-1.0 Total Installed Size: 5.01 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libmspack... installing clamav... installing hicolor-icon-theme... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 4 providers available for cargo: :: Repository build-support 1) rust176-bin :: Repository extra-staging 2) rust :: Repository extra 3) rust 4) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (5) compiler-rt-18.1.8-1.0 libedit-20240517_3.1-1.0 llvm-libs-18.1.8-4.1 clang-18.1.8-2.0 rust176-bin-1:1.76.0-1.0 Total Installed Size: 1707.76 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing rust176-bin... installing libedit... installing llvm-libs... installing compiler-rt... 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 ==> 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 v_htmlescape v0.15.8 Downloaded errno v0.3.3 Downloaded same-file v1.0.6 Downloaded waker-fn v1.1.0 Downloaded async-executor v1.5.1 Downloaded async-io v1.13.0 Downloaded ppv-lite86 v0.2.17 Downloaded async-broadcast v0.5.1 Downloaded tempfile v3.8.0 Downloaded async-channel v1.9.0 Downloaded futures-sink v0.3.28 Downloaded atomic-waker v1.1.1 Downloaded hex v0.4.3 Downloaded memoffset v0.6.5 Downloaded futures-task v0.3.28 Downloaded ioprio v0.2.0 Downloaded async-recursion v1.0.5 Downloaded lazycell v1.3.0 Downloaded starship-battery v0.7.9 Downloaded xdg-home v1.0.0 Downloaded enumflags2_derive v0.7.7 Downloaded equivalent v1.0.1 Downloaded crypto-common v0.1.6 Downloaded toml_datetime v0.6.3 Downloaded futures-core v0.3.28 Downloaded slab v0.4.9 Downloaded ordered-stream v0.2.0 Downloaded cpufeatures v0.2.9 Downloaded event-listener v2.5.3 Downloaded sha1 v0.10.5 Downloaded pin-project-lite v0.2.13 Downloaded proc-macro2 v1.0.66 Downloaded num_cpus v1.16.0 Downloaded digest v0.10.7 Downloaded generic-array v0.14.7 Downloaded concurrent-queue v2.2.0 Downloaded option-ext v0.2.0 Downloaded blocking v1.3.1 Downloaded is-terminal v0.4.9 Downloaded derivative v2.2.0 Downloaded parking v2.1.0 Downloaded once_cell v1.18.0 Downloaded atty v0.2.14 Downloaded colorchoice v1.0.0 Downloaded crossbeam-utils v0.8.16 Downloaded shlex v0.1.1 Downloaded socket2 v0.4.9 Downloaded zbus_names v2.6.0 Downloaded static_assertions v1.1.0 Downloaded log v0.4.20 Downloaded getrandom v0.2.10 Downloaded dirs-sys v0.4.1 Downloaded async-trait v0.1.73 Downloaded notify-rust v4.9.0 Downloaded async-fs v1.6.0 Downloaded heck v0.4.1 Downloaded async-task v4.4.0 Downloaded human-size v0.4.3 Downloaded strsim v0.10.0 Downloaded humantime v2.1.0 Downloaded glob v0.3.1 Downloaded num-traits v0.2.16 Downloaded async-lock v2.8.0 Downloaded num-format v0.4.4 Downloaded zvariant v3.15.0 Downloaded futures-lite v1.13.0 Downloaded anstyle-query v1.0.0 Downloaded strsim v0.8.0 Downloaded pathdiff v0.2.1 Downloaded tracing-core v0.1.31 Downloaded serde v1.0.188 Downloaded tracing v0.1.37 Downloaded rand v0.8.5 Downloaded utf8parse v0.2.1 Downloaded anstyle v1.0.2 Downloaded chrono-humanize v0.2.3 Downloaded which v3.1.1 Downloaded toml_edit v0.19.14 Downloaded polling v2.5.2 Downloaded atoi v2.0.0 Downloaded rustc-hash v1.1.0 Downloaded lazy_static v1.4.0 Downloaded hashbrown v0.14.0 Downloaded termcolor v1.2.0 Downloaded indexmap v2.0.0 Downloaded memchr v2.6.3 Downloaded dirs v5.0.1 Downloaded uom v0.30.0 Downloaded winnow v0.5.15 Downloaded clap_lex v0.5.1 Downloaded serde_json v1.0.105 Downloaded colored v2.0.4 Downloaded aho-corasick v1.0.5 Downloaded clamav-sys v0.0.5 Downloaded futures-io v0.3.28 Downloaded tracing-attributes v0.1.26 Downloaded zbus v3.14.1 Downloaded ryu v1.0.15 Downloaded futures-util v0.3.28 Downloaded unicode-width v0.1.10 Downloaded quote v1.0.33 Downloaded serde_derive v1.0.188 Downloaded typenum v1.16.0 Downloaded block-buffer v0.10.4 Downloaded memoffset v0.7.1 Downloaded pin-utils v0.1.0 Downloaded serde_repr v0.1.16 Downloaded iana-time-zone v0.1.57 Downloaded pkg-config v0.3.27 Downloaded cfg-if v1.0.0 Downloaded bitflags v2.4.0 Downloaded unicode-ident v1.0.11 Downloaded zbus_macros v3.14.1 Downloaded arrayvec v0.7.4 Downloaded anstream v0.5.0 Downloaded bitflags v1.2.1 Downloaded vec_map v0.8.2 Downloaded peeking_take_while v0.1.2 Downloaded enumflags2 v0.7.7 Downloaded byteorder v1.4.3 Downloaded zvariant_derive v3.15.0 Downloaded fastrand v1.9.0 Downloaded version_check v0.9.4 Downloaded autocfg v1.1.0 Downloaded rand_chacha v0.3.1 Downloaded rand_core v0.6.4 Downloaded itoa v1.0.9 Downloaded time v0.1.45 Downloaded fastrand v2.0.0 Downloaded syn v2.0.31 Downloaded io-lifetimes v1.0.11 Downloaded regex v1.9.5 Downloaded env_logger v0.8.4 Downloaded nix v0.26.4 Downloaded clap_derive v4.4.2 Downloaded rustix v0.38.11 Downloaded textwrap v0.11.0 Downloaded regex-syntax v0.7.5 Downloaded env_logger v0.10.0 Downloaded semver v1.0.18 Downloaded syn v1.0.109 Downloaded clap_complete v4.4.0 Downloaded ansi_term v0.12.1 Downloaded walkdir v2.3.3 Downloaded proc-macro-crate v1.3.1 Downloaded anstyle-parse v0.2.1 Downloaded zvariant_utils v1.0.1 Downloaded toml v0.5.11 Downloaded cexpr v0.4.0 Downloaded clap v4.4.2 Downloaded anyhow v1.0.75 Downloaded libloading v0.7.4 Downloaded clang-sys v1.6.1 Downloaded config v0.13.3 Downloaded regex-automata v0.3.8 Downloaded libc v0.2.147 Downloaded minimal-lexical v0.2.1 Downloaded crossbeam-channel v0.5.8 Downloaded linux-raw-sys v0.4.5 Downloaded nom v7.1.3 Downloaded nom v5.1.3 Downloaded clap v2.34.0 Downloaded bindgen v0.56.0 Downloaded clap_builder v4.4.2 Downloaded chrono v0.4.28 Downloaded nix v0.21.2 Downloaded rustix v0.37.13 Downloaded linux-raw-sys v0.3.8 ==> Starting build()... Compiling libc v0.2.147 Compiling proc-macro2 v1.0.66 Compiling unicode-ident v1.0.11 Compiling autocfg v1.1.0 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 syn v1.0.109 Compiling pin-project-lite v0.2.13 Compiling equivalent v1.0.1 Compiling glob v0.3.1 Compiling hashbrown v0.14.0 Compiling event-listener v2.5.3 Compiling toml_datetime v0.6.3 Compiling winnow v0.5.15 Compiling futures-io v0.3.28 Compiling aho-corasick v1.0.5 Compiling nom v5.1.3 Compiling generic-array v0.14.7 Compiling parking v2.1.0 Compiling unicode-width v0.1.10 Compiling waker-fn v1.1.0 Compiling once_cell v1.18.0 Compiling fastrand v1.9.0 Compiling log v0.4.20 Compiling indexmap v2.0.0 Compiling libloading v0.7.4 Compiling quote v1.0.33 Compiling num-traits v0.2.16 Compiling slab v0.4.9 Compiling concurrent-queue v2.2.0 Compiling memoffset v0.7.1 Compiling futures-lite v1.13.0 Compiling syn v2.0.31 Compiling clang-sys v1.6.1 Compiling textwrap v0.11.0 Compiling async-lock v2.8.0 Compiling bindgen v0.56.0 Compiling humantime v2.1.0 Compiling vec_map v0.8.2 Compiling toml_edit v0.19.14 Compiling termcolor v1.2.0 Compiling strsim v0.8.0 Compiling ansi_term v0.12.1 Compiling atty v0.2.14 Compiling regex-automata v0.3.8 Compiling pkg-config v0.3.27 Compiling io-lifetimes v1.0.11 Compiling clap v2.34.0 Compiling which v3.1.1 Compiling getrandom v0.2.10 Compiling polling v2.5.2 Compiling bitflags v2.4.0 Compiling rustc-hash v1.1.0 Compiling semver v1.0.18 Compiling peeking_take_while v0.1.2 Compiling lazycell v1.3.0 Compiling lazy_static v1.4.0 Compiling cexpr v0.4.0 Compiling async-trait v0.1.73 Compiling rustix v0.37.13 Compiling async-task v4.4.0 Compiling shlex v0.1.1 Compiling utf8parse v0.2.1 Compiling rustix v0.38.11 Compiling futures-task v0.3.28 Compiling anstyle-parse v0.2.1 Compiling proc-macro-crate v1.3.1 Compiling rand_core v0.6.4 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling async-channel v1.9.0 Compiling async-io v1.13.0 Compiling async-fs v1.6.0 Compiling memoffset v0.6.5 Compiling ppv-lite86 v0.2.17 Compiling linux-raw-sys v0.4.5 Compiling futures-util v0.3.28 Compiling colorchoice v1.0.0 Compiling linux-raw-sys v0.3.8 Compiling anstyle v1.0.2 Compiling static_assertions v1.1.0 Compiling byteorder v1.4.3 Compiling anstyle-query v1.0.0 Compiling atomic-waker v1.1.1 Compiling anstream v0.5.0 Compiling blocking v1.3.1 Compiling rand_chacha v0.3.1 Compiling digest v0.10.7 Compiling tracing-core v0.1.31 Compiling regex v1.9.5 Compiling nix v0.26.4 Compiling socket2 v0.4.9 Compiling env_logger v0.8.4 Compiling zvariant_utils v1.0.1 Compiling heck v0.4.1 Compiling pin-utils v0.1.0 Compiling cpufeatures v0.2.9 Compiling futures-sink v0.3.28 Compiling strsim v0.10.0 Compiling clap_lex v0.5.1 Compiling clap_builder v4.4.2 Compiling is-terminal v0.4.9 Compiling sha1 v0.10.5 Compiling clamav-rs v0.5.5 (https://github.com/kpcyrd/clamav-rs?branch=clamav-1.2#1d6fa278) Compiling xdg-home v1.0.0 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 serde_json v1.0.105 Compiling anyhow v1.0.75 Compiling starship-battery v0.7.9 Compiling v_htmlescape v0.15.8 Compiling hex v0.4.3 Compiling minimal-lexical v0.2.1 Compiling option-ext v0.2.0 Compiling itoa v1.0.9 Compiling nom v7.1.3 Compiling dirs-sys v0.4.1 Compiling nix v0.21.2 Compiling uom v0.30.0 Compiling zvariant_derive v3.15.0 Compiling derivative v2.2.0 Compiling zbus_macros v3.14.1 Compiling ryu v1.0.15 Compiling pathdiff v0.2.1 Compiling same-file v1.0.6 Compiling arrayvec v0.7.4 Compiling walkdir v2.3.3 Compiling env_logger v0.10.0 Compiling num-format v0.4.4 Compiling dirs v5.0.1 Compiling serde_derive v1.0.188 Compiling enumflags2_derive v0.7.7 Compiling tracing-attributes v0.1.26 Compiling serde_repr v0.1.16 Compiling clap_derive v4.4.2 Compiling async-recursion v1.0.5 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 human-size v0.4.3 Compiling clamav-sys v0.0.5 Compiling tracing v0.1.37 Compiling clap v4.4.2 Compiling clap_complete v4.4.0 error[E0308]: mismatched types --> /build/.cargo/git/checkouts/clamav-rs-c584debbcab03daf/1d6fa27/src/fmap.rs:101:81 | 101 | let map = unsafe { cl_fmap_open_memory(start as *const os::raw::c_void, len) }; | ------------------- ^^^ expected `u32`, found `u64` | | | arguments to this function are incorrect | note: function defined here --> /usr/src/debug/libredefender/libredefender-0.7.0/target/release/build/clamav-sys-4834d882131d8d39/out/bindings.rs:331:12 | 331 | pub fn cl_fmap_open_memory(start: *const ::std::os::raw::c_void, len: size_t) | ^^^^^^^^^^^^^^^^^^^ help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 101 | let map = unsafe { cl_fmap_open_memory(start as *const os::raw::c_void, len.try_into().unwrap()) }; | ++++++++++++++++++++ error[E0308]: mismatched types --> /build/.cargo/git/checkouts/clamav-rs-c584debbcab03daf/1d6fa27/src/fmap.rs:111:98 | 111 | let map = unsafe { cl_fmap_open_handle(handle as *mut os::raw::c_void, offset, len, Some(cl_pread), use_ageing.into() ) }; | ---- ^^^^^^^^ expected fn pointer, found fn item | | | arguments to this enum variant are incorrect | = note: expected fn pointer `unsafe extern "C" fn(_, _, u32, _) -> _` found fn item `extern "C" fn(_, _, u64, _) -> _ {cl_pread}` help: the type constructed contains `extern "C" fn(*mut c_void, *mut c_void, u64, i32) -> i32 {cl_pread}` due to the type of the argument passed --> /build/.cargo/git/checkouts/clamav-rs-c584debbcab03daf/1d6fa27/src/fmap.rs:111:93 | 111 | let map = unsafe { cl_fmap_open_handle(handle as *mut os::raw::c_void, offset, len, Some(cl_pread), use_ageing.into() ) }; | ^^^^^--------^ | | | this argument influences the type of `Some` note: tuple variant defined here --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:578:5 error[E0308]: arguments to this function are incorrect --> /build/.cargo/git/checkouts/clamav-rs-c584debbcab03daf/1d6fa27/src/fmap.rs:111:28 | 111 | let map = unsafe { cl_fmap_open_handle(handle as *mut os::raw::c_void, offset, len, Some(cl_pread), use_ageing.into() ) }; | ^^^^^^^^^^^^^^^^^^^ ------ --- expected `u32`, found `u64` | | | expected `u32`, found `u64` | note: function defined here --> /usr/src/debug/libredefender/libredefender-0.7.0/target/release/build/clamav-sys-4834d882131d8d39/out/bindings.rs:322:12 | 322 | pub fn cl_fmap_open_handle( | ^^^^^^^^^^^^^^^^^^^ help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 111 | let map = unsafe { cl_fmap_open_handle(handle as *mut os::raw::c_void, offset.try_into().unwrap(), len, Some(cl_pread), use_ageing.into() ) }; | ++++++++++++++++++++ help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 111 | let map = unsafe { cl_fmap_open_handle(handle as *mut os::raw::c_void, offset, len.try_into().unwrap(), Some(cl_pread), use_ageing.into() ) }; | ++++++++++++++++++++ For more information about this error, try `rustc --explain E0308`. error: could not compile `clamav-rs` (lib) due to 3 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/slave6/extra-staging-with-build-support-pentium4/slave6/build used straw: :with_build_support:haskell_without_check: slave6@eurobuild6