libbpf-cargo 0.23.3

Cargo plugin to build bpf programs
Documentation
Build #1246686 2024-06-11T22:01:57.267799+00:00
# rustc version
rustc 1.81.0-nightly (b5b13568f 2024-06-10)# docs.rs version
docsrs 0.6.0 (2d4f32bd 2024-05-19)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libbpf-cargo-0.23.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libbpf-cargo-0.23.3/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240610-1.81.0-nightly-b5b13568f\", \"--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] ea3b8c2dd950643be41e588f3be5708d9ff373d1afa3347978f852a36a2a58da
[INFO] running `Command { std: "docker" "start" "-a" "ea3b8c2dd950643be41e588f3be5708d9ff373d1afa3347978f852a36a2a58da", 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.4.2+v1.4.2
[INFO] [stderr]    Compiling vsprintf v2.0.0
[INFO] [stderr]     Checking errno v0.3.8
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: vsprintf@2.0.0: Compiler version doesn't include clang or GCC: "cc" "--version"
[INFO] [stderr] warning: vsprintf@2.0.0: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: vsprintf@2.0.0: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `vsprintf v2.0.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/vsprintf-372002da9e056826/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-changed=src/lib.c
[INFO] [stderr]   TARGET = Some("x86_64-apple-darwin")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[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]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=Compiler version doesn't include clang or GCC: "cc" "--version"
[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=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:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/vsprintf-d7480f1d032d8934/out/2e40c9e35e9506f4-lib.o" "-c" "src/lib.c" with args "cc" did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libbpf-sys@1.4.2+v1.4.2: Compiler version doesn't include clang or GCC: "cc" "--version"
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `libbpf-sys v1.4.2+v1.4.2`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libbpf-sys-7267f9ae100ecb8b/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]   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]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=Compiler version doesn't include clang or GCC: "cc" "--version"
[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=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]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-90869edbe75a1fd8/out/obj/staticobjs/bpf.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-90869edbe75a1fd8/out/obj/staticobjs/btf.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-90869edbe75a1fd8/out/obj/staticobjs/libbpf.o
[INFO] [stderr]     CC       /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-90869edbe75a1fd8/out/obj/staticobjs/libbpf_errno.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 '-mmacosx-version-min=10.7'
[INFO] [stderr]   make: *** [Makefile:134: /opt/rustwide/target/x86_64-apple-darwin/debug/build/libbpf-sys-90869edbe75a1fd8/out/obj/staticobjs/btf.o] Error 1
[INFO] [stderr]   make: *** Waiting for unfinished jobs....
[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-90869edbe75a1fd8/out/obj/staticobjs/bpf.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-90869edbe75a1fd8/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-90869edbe75a1fd8/out/obj/staticobjs/libbpf_errno.o] Error 1
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libbpf-sys-1.4.2+v1.4.2/build.rs:340: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" "ea3b8c2dd950643be41e588f3be5708d9ff373d1afa3347978f852a36a2a58da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea3b8c2dd950643be41e588f3be5708d9ff373d1afa3347978f852a36a2a58da", kill_on_drop: false }`
[INFO] [stdout] ea3b8c2dd950643be41e588f3be5708d9ff373d1afa3347978f852a36a2a58da