libbpf-sys 1.5.0+v1.5.0

Rust bindings to libbpf from the Linux kernel
Documentation
Build #1488976 2024-10-31T22:41:10.591295+00:00
# rustc version
rustc 1.84.0-nightly (759e07f06 2024-10-30)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libbpf-sys-1.5.0+v1.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libbpf-sys-1.5.0+v1.5.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" "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" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241030-1.84.0-nightly-759e07f06\", \"--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-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", 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] 09425b3b8ed7a38c8a4b9668814f1fa48317f66de65c68b19d71c37882f8af67
[INFO] running `Command { std: "docker" "start" "-a" "09425b3b8ed7a38c8a4b9668814f1fa48317f66de65c68b19d71c37882f8af67", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling libbpf-sys v1.5.0+v1.5.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `libbpf-sys v1.5.0+v1.5.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libbpf-sys-434f715414a1b06a/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   Using feature vendored-libbpf=true
[INFO] [stderr]   Using feature vendored-libelf=false
[INFO] [stderr]   Using feature vendored-zlib=false
[INFO] [stderr]   Using feature static-libbpf=true
[INFO] [stderr]   Using feature static-libelf=false
[INFO] [stderr]   Using feature static-zlib=false
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBBPF_SYS_EXTRA_CFLAGS
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/bpf.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/btf.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/libbpf.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/libbpf_errno.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/netlink.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/nlattr.o
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/bpf.o] Error 1
[INFO] [stderr]   make: *** Waiting for unfinished jobs....
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/libbpf.o] Error 1
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/libbpf_errno.o] Error 1
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/nlattr.o] Error 1
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/btf.o] Error 1
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-40c57b7d88286d95/out/obj/staticobjs/netlink.o] Error 1
[INFO] [stderr]   thread 'main' panicked at build.rs:384:5:
[INFO] [stderr]   make failed
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "09425b3b8ed7a38c8a4b9668814f1fa48317f66de65c68b19d71c37882f8af67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09425b3b8ed7a38c8a4b9668814f1fa48317f66de65c68b19d71c37882f8af67", kill_on_drop: false }`
[INFO] [stdout] 09425b3b8ed7a38c8a4b9668814f1fa48317f66de65c68b19d71c37882f8af67