==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_b67382b5-1040-43f4-b498-48baa41ca7ef]...done
==> Making package: libredefender 0.7.0-2.1 (Thu Apr 30 02:58:46 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 179.1k      0                              0100  75375   0  75375   0      0 179.0k      0                              0100  75375   0  75375   0      0 179.0k      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   5047      0                              0100    850 100    850   0      0   5045      0                              0100    850 100    850   0      0   5044      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.1 (Thu Apr 30 00:58:51 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (4)               New Version  Net Change

extra/libmilter           8.18.2-1       0.09 MiB
extra/libmspack           1:1.11-2       0.17 MiB
extra/clamav              1.5.2-2      178.64 MiB
extra/hicolor-icon-theme  0.18-1         0.05 MiB

Total Installed Size:  178.95 MiB

:: Proceed with installation? [Y/n] 
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 2 providers available for cargo:
:: Repository extra
   1) rust  2) rustup

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...

Package (8)        New Version     Net Change

extra/compiler-rt  22.1.3-1         53.77 MiB
core/libedit       20251016_3.1-1    0.26 MiB
extra/libgit2      1:1.9.2-3         3.04 MiB
extra/lld          22.1.3-1          6.97 MiB
extra/llhttp       9.3.1-1           0.11 MiB
extra/llvm-libs    22.1.3-1        160.11 MiB
extra/clang        22.1.3-1        249.93 MiB
extra/rust         1:1.95.0-1      273.51 MiB

Total Installed Size:  747.70 MiB

:: Proceed with installation? [Y/n] 
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
    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
    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 walkdir v2.3.3
  Downloaded same-file v1.0.6
  Downloaded v_htmlescape v0.15.8
  Downloaded tempfile v3.8.0
  Downloaded errno v0.3.3
  Downloaded autocfg v1.1.0
  Downloaded lazycell v1.3.0
  Downloaded cfg-if v1.0.0
  Downloaded polling v2.5.2
  Downloaded io-lifetimes v1.0.11
  Downloaded async-executor v1.5.1
  Downloaded async-channel v1.9.0
  Downloaded generic-array v0.14.7
  Downloaded waker-fn v1.1.0
  Downloaded pin-utils v0.1.0
  Downloaded memoffset v0.7.1
  Downloaded toml_datetime v0.6.3
  Downloaded num_cpus v1.16.0
  Downloaded rand_chacha v0.3.1
  Downloaded futures-io v0.3.28
  Downloaded hex v0.4.3
  Downloaded cpufeatures v0.2.9
  Downloaded atomic-waker v1.1.1
  Downloaded block-buffer v0.10.4
  Downloaded version_check v0.9.4
  Downloaded proc-macro-crate v1.3.1
  Downloaded zvariant_derive v3.15.0
  Downloaded event-listener v2.5.3
  Downloaded async-fs v1.6.0
  Downloaded async-recursion v1.0.5
  Downloaded xdg-home v1.0.0
  Downloaded enumflags2 v0.7.7
  Downloaded futures-sink v0.3.28
  Downloaded async-io v1.13.0
  Downloaded futures-task v0.3.28
  Downloaded fastrand v1.9.0
  Downloaded sha1 v0.10.5
  Downloaded crypto-common v0.1.6
  Downloaded itoa v1.0.9
  Downloaded parking v2.1.0
  Downloaded fastrand v2.0.0
  Downloaded serde_repr v0.1.16
  Downloaded zbus_names v2.6.0
  Downloaded equivalent v1.0.1
  Downloaded zvariant_utils v1.0.1
  Downloaded async-broadcast v0.5.1
  Downloaded strsim v0.8.0
  Downloaded ppv-lite86 v0.2.17
  Downloaded arrayvec v0.7.4
  Downloaded typenum v1.16.0
  Downloaded starship-battery v0.7.9
  Downloaded bitflags v2.4.0
  Downloaded vec_map v0.8.2
  Downloaded log v0.4.20
  Downloaded async-lock v2.8.0
  Downloaded derivative v2.2.0
  Downloaded crossbeam-utils v0.8.16
  Downloaded async-task v4.4.0
  Downloaded once_cell v1.18.0
  Downloaded getrandom v0.2.10
  Downloaded rustc-hash v1.1.0
  Downloaded clamav-sys v0.0.5
  Downloaded heck v0.4.1
  Downloaded async-trait v0.1.73
  Downloaded concurrent-queue v2.2.0
  Downloaded slab v0.4.9
  Downloaded ordered-stream v0.2.0
  Downloaded digest v0.10.7
  Downloaded pin-project-lite v0.2.13
  Downloaded colorchoice v1.0.0
  Downloaded memoffset v0.6.5
  Downloaded proc-macro2 v1.0.66
  Downloaded futures-lite v1.13.0
  Downloaded unicode-ident v1.0.11
  Downloaded blocking v1.3.1
  Downloaded serde_derive v1.0.188
  Downloaded num-traits v0.2.16
  Downloaded human-size v0.4.3
  Downloaded tracing-attributes v0.1.26
  Downloaded ryu v1.0.15
  Downloaded bitflags v1.2.1
  Downloaded zbus_macros v3.14.1
  Downloaded byteorder v1.4.3
  Downloaded enumflags2_derive v0.7.7
  Downloaded static_assertions v1.1.0
  Downloaded rand_core v0.6.4
  Downloaded quote v1.0.33
  Downloaded tracing-core v0.1.31
  Downloaded num-format v0.4.4
  Downloaded indexmap v2.0.0
  Downloaded socket2 v0.4.9
  Downloaded notify-rust v4.9.0
  Downloaded zvariant v3.15.0
  Downloaded shlex v0.1.1
  Downloaded serde v1.0.188
  Downloaded is-terminal v0.4.9
  Downloaded which v3.1.1
  Downloaded option-ext v0.2.0
  Downloaded toml_edit v0.19.14
  Downloaded atoi v2.0.0
  Downloaded uom v0.30.0
  Downloaded ioprio v0.2.0
  Downloaded memchr v2.6.3
  Downloaded rand v0.8.5
  Downloaded hashbrown v0.14.0
  Downloaded utf8parse v0.2.1
  Downloaded dirs-sys v0.4.1
  Downloaded atty v0.2.14
  Downloaded tracing v0.1.37
  Downloaded chrono-humanize v0.2.3
  Downloaded pathdiff v0.2.1
  Downloaded anstyle v1.0.2
  Downloaded winnow v0.5.15
  Downloaded serde_json v1.0.105
  Downloaded futures-util v0.3.28
  Downloaded zbus v3.14.1
  Downloaded humantime v2.1.0
  Downloaded aho-corasick v1.0.5
  Downloaded dirs v5.0.1
  Downloaded strsim v0.10.0
  Downloaded lazy_static v1.4.0
  Downloaded syn v1.0.109
  Downloaded regex v1.9.5
  Downloaded clap_lex v0.5.1
  Downloaded nix v0.26.4
  Downloaded syn v2.0.31
  Downloaded rustix v0.38.11
  Downloaded regex-syntax v0.7.5
  Downloaded rustix v0.37.13
  Downloaded futures-core v0.3.28
  Downloaded regex-automata v0.3.8
  Downloaded ansi_term v0.12.1
  Downloaded anstyle-query v1.0.0
  Downloaded libc v0.2.147
  Downloaded libloading v0.7.4
  Downloaded pkg-config v0.3.27
  Downloaded termcolor v1.2.0
  Downloaded glob v0.3.1
  Downloaded linux-raw-sys v0.4.5
  Downloaded time v0.1.45
  Downloaded peeking_take_while v0.1.2
  Downloaded clap_derive v4.4.2
  Downloaded textwrap v0.11.0
  Downloaded colored v2.0.4
  Downloaded unicode-width v0.1.10
  Downloaded anstream v0.5.0
  Downloaded semver v1.0.18
  Downloaded env_logger v0.8.4
  Downloaded clap_complete v4.4.0
  Downloaded cexpr v0.4.0
  Downloaded clang-sys v1.6.1
  Downloaded anstyle-parse v0.2.1
  Downloaded env_logger v0.10.0
  Downloaded anyhow v1.0.75
  Downloaded iana-time-zone v0.1.57
  Downloaded clap v4.4.2
  Downloaded toml v0.5.11
  Downloaded config v0.13.3
  Downloaded minimal-lexical v0.2.1
  Downloaded crossbeam-channel v0.5.8
  Downloaded nom v5.1.3
  Downloaded clap_builder v4.4.2
  Downloaded nom v7.1.3
  Downloaded bindgen v0.56.0
  Downloaded clap v2.34.0
  Downloaded nix v0.21.2
  Downloaded chrono v0.4.28
  Downloaded linux-raw-sys v0.3.8
==> 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 version_check v0.9.4
   Compiling bitflags v1.2.1
   Compiling memchr v2.6.3
   Compiling futures-core v0.3.28
   Compiling serde v1.0.188
   Compiling crossbeam-utils v0.8.16
   Compiling regex-syntax v0.7.5
   Compiling typenum v1.16.0
   Compiling pin-project-lite v0.2.13
   Compiling syn v1.0.109
   Compiling equivalent v1.0.1
   Compiling event-listener v2.5.3
   Compiling glob v0.3.1
   Compiling hashbrown v0.14.0
   Compiling winnow v0.5.15
   Compiling futures-io v0.3.28
   Compiling toml_datetime v0.6.3
   Compiling waker-fn v1.1.0
   Compiling once_cell v1.18.0
   Compiling log v0.4.20
   Compiling parking v2.1.0
   Compiling fastrand v1.9.0
   Compiling unicode-width v0.1.10
   Compiling textwrap v0.11.0
   Compiling async-lock v2.8.0
   Compiling libloading v0.7.4
   Compiling termcolor v1.2.0
   Compiling io-lifetimes v1.0.11
   Compiling strsim v0.8.0
   Compiling humantime v2.1.0
   Compiling ansi_term v0.12.1
   Compiling bindgen v0.56.0
   Compiling vec_map v0.8.2
   Compiling pkg-config v0.3.27
   Compiling async-task v4.4.0
   Compiling futures-lite v1.13.0
   Compiling indexmap v2.0.0
   Compiling concurrent-queue v2.2.0
   Compiling peeking_take_while v0.1.2
   Compiling async-trait v0.1.73
   Compiling lazycell v1.3.0
   Compiling utf8parse v0.2.1
   Compiling aho-corasick v1.0.5
   Compiling rustix v0.37.13
   Compiling bitflags v2.4.0
   Compiling rustc-hash v1.1.0
   Compiling shlex v0.1.1
   Compiling semver v1.0.18
   Compiling lazy_static v1.4.0
   Compiling futures-task v0.3.28
   Compiling rustix v0.38.11
   Compiling async-channel v1.9.0
   Compiling anstyle-parse v0.2.1
   Compiling slab v0.4.9
   Compiling num-traits v0.2.16
   Compiling memoffset v0.7.1
   Compiling polling v2.5.2
   Compiling memoffset v0.6.5
   Compiling quote v1.0.33
   Compiling generic-array v0.14.7
   Compiling nom v5.1.3
   Compiling async-fs v1.6.0
   Compiling async-io v1.13.0
   Compiling ppv-lite86 v0.2.17
   Compiling syn v2.0.31
   Compiling atty v0.2.14
   Compiling which v3.1.1
   Compiling clang-sys v1.6.1
   Compiling clap v2.34.0
   Compiling linux-raw-sys v0.4.5
   Compiling anstyle-query v1.0.0
   Compiling colorchoice v1.0.0
   Compiling anstyle v1.0.2
   Compiling getrandom v0.2.10
   Compiling futures-util v0.3.28
   Compiling static_assertions v1.1.0
   Compiling rand_core v0.6.4
   Compiling byteorder v1.4.3
   Compiling atomic-waker v1.1.1
   Compiling linux-raw-sys v0.3.8
   Compiling blocking v1.3.1
   Compiling regex-automata v0.3.8
   Compiling anstream v0.5.0
   Compiling toml_edit v0.19.14
   Compiling rand_chacha v0.3.1
   Compiling socket2 v0.4.9
   Compiling nix v0.26.4
   Compiling tracing-core v0.1.31
   Compiling heck v0.4.1
   Compiling strsim v0.10.0
   Compiling clap_lex v0.5.1
   Compiling pin-utils v0.1.0
   Compiling futures-sink v0.3.28
   Compiling cpufeatures v0.2.9
   Compiling clap_builder v4.4.2
   Compiling xdg-home v1.0.0
   Compiling rand v0.8.5
   Compiling clamav-rs v0.5.5 (https://github.com/kpcyrd/clamav-rs?branch=clamav-1.2#1d6fa278)
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling digest v0.10.7
   Compiling time v0.1.45
   Compiling cexpr v0.4.0
   Compiling sha1 v0.10.5
   Compiling async-executor v1.5.1
   Compiling async-broadcast v0.5.1
   Compiling ordered-stream v0.2.0
   Compiling proc-macro-crate v1.3.1
   Compiling itoa v1.0.9
   Compiling iana-time-zone v0.1.57
   Compiling starship-battery v0.7.9
   Compiling v_htmlescape v0.15.8
   Compiling option-ext v0.2.0
   Compiling anyhow v1.0.75
   Compiling minimal-lexical v0.2.1
   Compiling hex v0.4.3
   Compiling serde_json v1.0.105
   Compiling dirs-sys v0.4.1
   Compiling nom v7.1.3
   Compiling nix v0.21.2
   Compiling uom v0.30.0
   Compiling is-terminal v0.4.9
   Compiling pathdiff v0.2.1
   Compiling arrayvec v0.7.4
   Compiling same-file v1.0.6
   Compiling ryu v1.0.15
   Compiling walkdir v2.3.3
   Compiling regex v1.9.5
   Compiling num-format v0.4.4
   Compiling colored v2.0.4
   Compiling env_logger v0.8.4
   Compiling zvariant_utils v1.0.1
   Compiling dirs v5.0.1
   Compiling atoi v2.0.0
   Compiling num_cpus v1.16.0
   Compiling crossbeam-channel v0.5.8
   Compiling human-size v0.4.3
   Compiling ioprio v0.2.0
   Compiling env_logger v0.10.0
   Compiling zvariant_derive v3.15.0
   Compiling zbus_macros v3.14.1
   Compiling derivative v2.2.0
   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 async-recursion v1.0.5
   Compiling clap_derive v4.4.2
   Compiling clamav-sys v0.0.5
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
   --> /usr/src/debug/libredefender/libredefender-0.7.0/target/release/build/clamav-sys-663fe7215fb0daed/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!(),
    |

For more information about this error, try `rustc --explain E0004`.
error: could not compile `clamav-rs` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_b67382b5-1040-43f4-b498-48baa41ca7ef/build
