Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.84.0-nightly (3fee0f12e 2024-11-20)
# docs.rs version docsrs 0.6.0 (3767aed0 2024-11-29)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/modsecurity-sys-1.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/modsecurity-sys-1.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b6053b7df52b2a2d1980411c48eddfe19aa6f72b3aabf5906072e6e6f9e99770 [INFO] running `Command { std: "docker" "start" "-a" "b6053b7df52b2a2d1980411c48eddfe19aa6f72b3aabf5906072e6e6f9e99770", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Compiling modsecurity-sys v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `modsecurity-sys v1.0.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/modsecurity-sys-c7c48e93c983f409/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=build.rs [INFO] [stderr] cargo:rerun-if-env-changed=MODSECURITY_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=MODSECURITY_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=MODSECURITY_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] libmodsecurity cannot be found on the system: [INFO] [stderr] pkg-config exited with status code 1 [INFO] [stderr] > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags modsecurity modsecurity >= 3.0.13 [INFO] [stderr] [INFO] [stderr] The system library `modsecurity` required by crate `modsecurity-sys` was not found. [INFO] [stderr] The file `modsecurity.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. [INFO] [stderr] The PKG_CONFIG_PATH environment variable is not set. [INFO] [stderr] [INFO] [stderr] HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `modsecurity.pc`. [INFO] [stderr] [INFO] [stderr] Vendoring is not supported at this time. [INFO] running `Command { std: "docker" "inspect" "b6053b7df52b2a2d1980411c48eddfe19aa6f72b3aabf5906072e6e6f9e99770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6053b7df52b2a2d1980411c48eddfe19aa6f72b3aabf5906072e6e6f9e99770", kill_on_drop: false }` [INFO] [stdout] b6053b7df52b2a2d1980411c48eddfe19aa6f72b3aabf5906072e6e6f9e99770