clamav-sys 0.0.1

ClamAV low level bindings for Rust
Build #317124 2020-11-19T21:54:21.249296+00:00
# rustc version
rustc 1.50.0-nightly (825637983 2020-11-18)
# docs.rs version
docsrs 0.6.0 (7eb89bc 2020-11-16)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/clamav-sys-0.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/clamav-sys-0.0.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-j2" "--" "-Z" "unstable-options" "--extern-html-root-url" "pkg_config=https://docs.rs/pkg-config/0.3.19" "--extern-html-root-url" "bindgen=https://docs.rs/bindgen/0.53.3" "--resource-suffix" "-20201118-1.50.0-nightly-825637983" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] d5cccd1b43d81bac03160e5753f0cdcc93ae0743b5db28a47cd47bda1aa35007
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d5cccd1b43d81bac03160e5753f0cdcc93ae0743b5db28a47cd47bda1aa35007", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling cc v1.0.63
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling clamav-sys v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `clamav-sys v0.0.1 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/clamav-sys-c0e58b405ea1f43f/build-script-build` (exit code: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-link-lib=dylib=clamav
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBCLAMAV_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBCLAMAV_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBCLAMAV_DYNAMIC
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libclamav\" \"libclamav >= 0.102\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package libclamav was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libclamav.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libclamav\' found\nPackage libclamav was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libclamav.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libclamav\' found\n" } }', build.rs:39:14
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "d5cccd1b43d81bac03160e5753f0cdcc93ae0743b5db28a47cd47bda1aa35007", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5cccd1b43d81bac03160e5753f0cdcc93ae0743b5db28a47cd47bda1aa35007", kill_on_drop: false }`
[INFO] [stdout] d5cccd1b43d81bac03160e5753f0cdcc93ae0743b5db28a47cd47bda1aa35007