[INFO] fetching crate bpf-sys 0.3.3... [INFO] checking bpf-sys-0.3.3 against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] extracting crate bpf-sys 0.3.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate bpf-sys 0.3.3 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5d1c10a431a145726ebf426ecd9e8ee8a1b3e761f16b2512742ad820fbab282d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5d1c10a431a145726ebf426ecd9e8ee8a1b3e761f16b2512742ad820fbab282d"` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling env_logger v0.6.2 [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-2f3a2f1432530d00/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-5cf271b2de910615/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-5cf271b2de910615/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-5cf271b2de910615/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-5cf271b2de910615/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-5cf271b2de910615/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" "5d1c10a431a145726ebf426ecd9e8ee8a1b3e761f16b2512742ad820fbab282d"` [INFO] running `"docker" "rm" "-f" "5d1c10a431a145726ebf426ecd9e8ee8a1b3e761f16b2512742ad820fbab282d"` [INFO] [stdout] 5d1c10a431a145726ebf426ecd9e8ee8a1b3e761f16b2512742ad820fbab282d