bpf-sys 0.9.1

Bindings for libbpf from BCC
Build #196291 2019-11-05T15:18:40.503908+00:00
# rustc version
rustc 1.40.0-nightly (2477e2493 2019-11-04)
# docs.rs version
docsrs 0.6.0 (5d22713 2019-11-05)

# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/bpf-sys-0.9.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bpf-sys-0.9.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" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20191104-1.40.0-nightly-2477e2493 --static-root-path / --disable-per-crate-search --extern-html-root-url libc=https://docs.rs/libc/0.2.65 --extern-html-root-url zero=https://docs.rs/zero/0.1.2 --extern-html-root-url bindgen=https://docs.rs/bindgen/0.51.1 --extern-html-root-url cc=https://docs.rs/cc/1.0.46" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0e5bdd9c541767be1da03f6f581f7814e2ed2641014b6bfa46f99f72e003ce06
[INFO] running `"docker" "start" "-a" "0e5bdd9c541767be1da03f6f581f7814e2ed2641014b6bfa46f99f72e003ce06"`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling cc v1.0.46
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling bindgen v0.51.1
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]     Checking zero v0.1.2
[INFO] [stderr]    Compiling clang-sys v0.28.1
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling which v3.1.0
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling rustc-hash v1.0.1
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling bpf-sys v0.9.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `bpf-sys v0.9.1 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/bpf-sys-ecb5cc9dd07e1c90/build-script-build` (exit code: 1)
[INFO] [stderr] --- stdout
[INFO] [stderr] cargo:rustc-link-lib=static=bpf
[INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr] OPT_LEVEL = Some("0")
[INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr] CC_x86_64-unknown-linux-gnu = None
[INFO] [stderr] CC_x86_64_unknown_linux_gnu = None
[INFO] [stderr] HOST_CC = None
[INFO] [stderr] CC = None
[INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr] HOST_CFLAGS = None
[INFO] [stderr] CFLAGS = None
[INFO] [stderr] CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr] DEBUG = Some("true")
[INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
[INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libbpf/include/uapi" "-I" "libbpf/include" "-I" "bcc" "-I" "." "-Wall" "-Wextra" "-Wno-sign-compare" "-Wno-int-conversion" "-include" "linux/stddef.h" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/bpf-sys-6fa4fcdf7aa9f057/out/libbpf/src/bpf.o" "-c" "libbpf/src/bpf.c"
[INFO] [stderr] exit code: 0
[INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libbpf/include/uapi" "-I" "libbpf/include" "-I" "bcc" "-I" "." "-Wall" "-Wextra" "-Wno-sign-compare" "-Wno-int-conversion" "-include" "linux/stddef.h" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/bpf-sys-6fa4fcdf7aa9f057/out/libbpf/src/bpf_prog_linfo.o" "-c" "libbpf/src/bpf_prog_linfo.c"
[INFO] [stderr] exit code: 0
[INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libbpf/include/uapi" "-I" "libbpf/include" "-I" "bcc" "-I" "." "-Wall" "-Wextra" "-Wno-sign-compare" "-Wno-int-conversion" "-include" "linux/stddef.h" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/bpf-sys-6fa4fcdf7aa9f057/out/libbpf/src/btf.o" "-c" "libbpf/src/btf.c"
[INFO] [stderr] exit code: 0
[INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libbpf/include/uapi" "-I" "libbpf/include" "-I" "bcc" "-I" "." "-Wall" "-Wextra" "-Wno-sign-compare" "-Wno-int-conversion" "-include" "linux/stddef.h" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/bpf-sys-6fa4fcdf7aa9f057/out/libbpf/src/libbpf.o" "-c" "libbpf/src/libbpf.c"
[INFO] [stderr] cargo:warning=libbpf/src/libbpf.c:39:10: fatal error: libelf.h: No such file or directory
[INFO] [stderr] cargo:warning= #include <libelf.h>
[INFO] [stderr] cargo:warning=          ^~~~~~~~~~
[INFO] [stderr] cargo:warning=compilation terminated.
[INFO] [stderr] exit code: 1
[INFO] [stderr] 
[INFO] [stderr] --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libbpf/include/uapi" "-I" "libbpf/include" "-I" "bcc" "-I" "." "-Wall" "-Wextra" "-Wno-sign-compare" "-Wno-int-conversion" "-include" "linux/stddef.h" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/bpf-sys-6fa4fcdf7aa9f057/out/libbpf/src/libbpf.o" "-c" "libbpf/src/libbpf.c" with args "cc" did not execute successfully (status code exit code: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `"docker" "inspect" "0e5bdd9c541767be1da03f6f581f7814e2ed2641014b6bfa46f99f72e003ce06"`
[INFO] running `"docker" "rm" "-f" "0e5bdd9c541767be1da03f6f581f7814e2ed2641014b6bfa46f99f72e003ce06"`
[INFO] [stdout] 0e5bdd9c541767be1da03f6f581f7814e2ed2641014b6bfa46f99f72e003ce06