bpf-sys 0.3.3

Bindings for libbpf from BCC
Build #182824 2019-09-03T12:53:15.855007+00:00
# rustc version
rustc 1.39.0-nightly (bea0372a1 2019-08-20)
# docs.rs version
cratesfyi 0.6.0 (f01dedd 2019-07-30)

# build log
Updating crates.io index
Fresh cc v1.0.41
Fresh version_check v0.1.5
Fresh lazy_static v1.4.0
Fresh rustc-demangle v0.1.16
Fresh cfg-if v0.1.9
Fresh glob v0.3.0
Fresh unicode-xid v0.1.0
Fresh unicode-width v0.1.6
Fresh regex-syntax v0.6.11
Fresh quick-error v1.2.2
Fresh ansi_term v0.11.0
Fresh termcolor v1.0.5
Fresh vec_map v0.8.1
Fresh strsim v0.8.0
Fresh peeking_take_while v0.1.2
Fresh shlex v0.1.1
Checking zero v0.1.2
Running `rustc --crate-name zero /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/zero-0.1.2/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=8daf119faa85adf4 -C extra-filename=-8daf119faa85adf4 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Fresh thread_local v0.3.6
Fresh textwrap v0.11.0
Fresh humantime v1.2.0
Fresh libc v0.2.62
Fresh memchr v2.2.1
Fresh byteorder v1.3.2
Fresh bitflags v1.1.0
Fresh proc-macro2 v0.4.30
Fresh log v0.4.8
Fresh backtrace-sys v0.1.31
Fresh atty v0.2.13
Fresh aho-corasick v0.7.6
Fresh nom v4.2.3
Fresh libloading v0.5.2
Fresh quote v0.6.13
Fresh fxhash v0.2.1
Fresh backtrace v0.3.35
Fresh regex v1.2.1
Fresh clap v2.33.0
Fresh cexpr v0.3.5
Fresh clang-sys v0.28.1
Fresh failure v0.1.5
Fresh env_logger v0.6.2
Fresh which v2.0.1
Fresh bindgen v0.51.0
Compiling bpf-sys v0.3.3
Running `rustc --edition=2018 --crate-name build_script_build /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/bpf-sys-0.3.3/build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=290766a408301e24 -C extra-filename=-290766a408301e24 --out-dir /home/cratesfyi/cratesfyi/debug/build/bpf-sys-290766a408301e24 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bindgen=/home/cratesfyi/cratesfyi/debug/deps/libbindgen-11801f25eec5422f.rlib --extern cc=/home/cratesfyi/cratesfyi/debug/deps/libcc-bd841a9393574bba.rlib --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-9d06604cb7d05e91.rlib --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/libloading-271efdb025a5c1d0/out -L native=/home/cratesfyi/cratesfyi/debug/build/backtrace-sys-7395050a1ec726af/out`
Running `/home/cratesfyi/cratesfyi/debug/build/bpf-sys-290766a408301e24/build-script-build`
thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `/home/cratesfyi/cratesfyi/debug/build/bpf-sys-290766a408301e24/build-script-build` (exit code: 1)\n--- stdout\ncargo:rustc-link-lib=static=bpf\nTARGET = Some(\"x86_64-unknown-linux-gnu\")\nOPT_LEVEL = Some(\"0\")\nHOST = Some(\"x86_64-unknown-linux-gnu\")\nCC_x86_64-unknown-linux-gnu = None\nCC_x86_64_unknown_linux_gnu = None\nHOST_CC = None\nCC = None\nCFLAGS_x86_64-unknown-linux-gnu = None\nCFLAGS_x86_64_unknown_linux_gnu = None\nHOST_CFLAGS = None\nCFLAGS = None\nCRATE_CC_NO_DEFAULTS = None\nDEBUG = Some(\"true\")\nCARGO_CFG_TARGET_FEATURE = Some(\"fxsr,mmx,sse,sse2\")\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/bpf.o\" \"-c\" \"libbpf/src/bpf.c\"\nexit code: 0\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/bpf_prog_linfo.o\" \"-c\" \"libbpf/src/bpf_prog_linfo.c\"\nexit code: 0\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/btf.o\" \"-c\" \"libbpf/src/btf.c\"\nexit code: 0\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/libbpf.o\" \"-c\" \"libbpf/src/libbpf.c\"\ncargo:warning=libbpf/src/libbpf.c:39:10: fatal error: libelf.h: No such file or directory\ncargo:warning= #include <libelf.h>\ncargo:warning=          ^~~~~~~~~~\ncargo:warning=compilation terminated.\nexit code: 1\n\n--- stderr\n\n\nerror 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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/libbpf.o\" \"-c\" \"libbpf/src/libbpf.c\" with args \"cc\" did not execute successfully (status code exit code: 1).\n\n\n", exit: Some(ExitStatus(ExitStatus(256))), output: Some(Output { status: ExitStatus(ExitStatus(256)), stdout: "cargo:rustc-link-lib=static=bpf\nTARGET = Some(\"x86_64-unknown-linux-gnu\")\nOPT_LEVEL = Some(\"0\")\nHOST = Some(\"x86_64-unknown-linux-gnu\")\nCC_x86_64-unknown-linux-gnu = None\nCC_x86_64_unknown_linux_gnu = None\nHOST_CC = None\nCC = None\nCFLAGS_x86_64-unknown-linux-gnu = None\nCFLAGS_x86_64_unknown_linux_gnu = None\nHOST_CFLAGS = None\nCFLAGS = None\nCRATE_CC_NO_DEFAULTS = None\nDEBUG = Some(\"true\")\nCARGO_CFG_TARGET_FEATURE = Some(\"fxsr,mmx,sse,sse2\")\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/bpf.o\" \"-c\" \"libbpf/src/bpf.c\"\nexit code: 0\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/bpf_prog_linfo.o\" \"-c\" \"libbpf/src/bpf_prog_linfo.c\"\nexit code: 0\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/btf.o\" \"-c\" \"libbpf/src/btf.c\"\nexit code: 0\nrunning: \"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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/libbpf.o\" \"-c\" \"libbpf/src/libbpf.c\"\ncargo:warning=libbpf/src/libbpf.c:39:10: fatal error: libelf.h: No such file or directory\ncargo:warning= #include <libelf.h>\ncargo:warning=          ^~~~~~~~~~\ncargo:warning=compilation terminated.\nexit code: 1\n", stderr: "\n\nerror 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\" \"/home/cratesfyi/cratesfyi/debug/build/bpf-sys-f7ecca78429e9115/out/libbpf/src/libbpf.o\" \"-c\" \"libbpf/src/libbpf.c\" with args \"cc\" did not execute successfully (status code exit code: 1).\n\n\n" }) }

failed to run custom build command for `bpf-sys v0.3.3`', src/bin/cratesfyi.rs:161:13
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.