[INFO] crate bpf-sys 0.3.3 is already in cache [INFO] checking bpf-sys-0.3.3 against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] extracting crate bpf-sys 0.3.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate bpf-sys 0.3.3 on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate bpf-sys 0.3.3 [INFO] finished tweaking crates.io crate bpf-sys 0.3.3 [INFO] tweaked toml for crates.io crate bpf-sys 0.3.3 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b686c05e46bddb27ff945619f0f1e21f4d42b9ccf9788af6e6add73b10cb2cc9 [INFO] running `"docker" "start" "-a" "b686c05e46bddb27ff945619f0f1e21f4d42b9ccf9788af6e6add73b10cb2cc9"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bpf-sys v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `bpf-sys v0.3.3 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/bpf-sys-4e88dcda6b838ba1/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/debug/build/bpf-sys-355f66e97b8a5409/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/debug/build/bpf-sys-355f66e97b8a5409/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/debug/build/bpf-sys-355f66e97b8a5409/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/debug/build/bpf-sys-355f66e97b8a5409/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 [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/debug/build/bpf-sys-355f66e97b8a5409/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" "b686c05e46bddb27ff945619f0f1e21f4d42b9ccf9788af6e6add73b10cb2cc9"` [INFO] running `"docker" "rm" "-f" "b686c05e46bddb27ff945619f0f1e21f4d42b9ccf9788af6e6add73b10cb2cc9"` [INFO] [stdout] b686c05e46bddb27ff945619f0f1e21f4d42b9ccf9788af6e6add73b10cb2cc9