[INFO] crate bpf-sys 0.3.3 is already in cache [INFO] checking bpf-sys-0.3.3 against master#446e5e57b667c841ba3ebb4b41b44fb98bd3af4b for pr-65294 [INFO] extracting crate bpf-sys 0.3.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate bpf-sys 0.3.3 on toolchain 446e5e57b667c841ba3ebb4b41b44fb98bd3af4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "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-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5abdcf15b8efd8f6867cacc1065fac791fe22aea80120a2c1f23042060b07308 [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" "5abdcf15b8efd8f6867cacc1065fac791fe22aea80120a2c1f23042060b07308"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking zero v0.1.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-70edc3f502dea67c/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-cf087fa3ddb2f3d6/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-cf087fa3ddb2f3d6/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-cf087fa3ddb2f3d6/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-cf087fa3ddb2f3d6/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-cf087fa3ddb2f3d6/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" "5abdcf15b8efd8f6867cacc1065fac791fe22aea80120a2c1f23042060b07308"` [INFO] running `"docker" "rm" "-f" "5abdcf15b8efd8f6867cacc1065fac791fe22aea80120a2c1f23042060b07308"` [INFO] [stdout] 5abdcf15b8efd8f6867cacc1065fac791fe22aea80120a2c1f23042060b07308