libnftables-sys 0.1.0

FFI bindings for libnftables.
Build #680900 2022-11-22 08:06:53

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.67.0-nightly (b7bc90fea 2022-11-21)

# docs.rs version docsrs 0.6.0 (83ad0bb0 2022-11-21)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libnftables-sys-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libnftables-sys-0.1.0/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" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221121-1.67.0-nightly-b7bc90fea\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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\"" "-j3" "--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] adaa9ac33c9d1c2935a1941f2a0c6f27910e5d29c91554866254671d319555e1 [INFO] running `Command { std: "docker" "start" "-a" "adaa9ac33c9d1c2935a1941f2a0c6f27910e5d29c91554866254671d319555e1", kill_on_drop: false }` [INFO] [stderr] Compiling libnftables-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `libnftables-sys v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/libnftables-sys-c3cd665441ffbbc1/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=dylib=nftables [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] src/wrapper.h:7:10: fatal error: 'libnftables.h' file not found [INFO] [stderr] src/wrapper.h:7:10: fatal error: 'libnftables.h' file not found, err: true [INFO] [stderr] thread 'main' panicked at 'Unable to generate bindings: ()', build.rs:39:10 [INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [INFO] running `Command { std: "docker" "inspect" "adaa9ac33c9d1c2935a1941f2a0c6f27910e5d29c91554866254671d319555e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adaa9ac33c9d1c2935a1941f2a0c6f27910e5d29c91554866254671d319555e1", kill_on_drop: false }` [INFO] [stdout] adaa9ac33c9d1c2935a1941f2a0c6f27910e5d29c91554866254671d319555e1