[INFO] fetching crate rebpf-sys 0.1.0... [INFO] testing rebpf-sys-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rebpf-sys 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rebpf-sys 0.1.0 [INFO] finished tweaking crates.io crate rebpf-sys 0.1.0 [INFO] tweaked toml for crates.io crate rebpf-sys 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rebpf-sys 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.53.3 (available: v0.72.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed39237dee12c23ec3794d9686bb64cdf5aaf845a771b0e0c1981bff4273948 [INFO] running `Command { std: "docker" "start" "-a" "fed39237dee12c23ec3794d9686bb64cdf5aaf845a771b0e0c1981bff4273948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed39237dee12c23ec3794d9686bb64cdf5aaf845a771b0e0c1981bff4273948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed39237dee12c23ec3794d9686bb64cdf5aaf845a771b0e0c1981bff4273948", kill_on_drop: false }` [INFO] [stdout] fed39237dee12c23ec3794d9686bb64cdf5aaf845a771b0e0c1981bff4273948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fc1a9115110357fbb31746ab99cd62252b1ff13a5d8d5a9ad89a3211786ea0b2 [INFO] running `Command { std: "docker" "start" "-a" "fc1a9115110357fbb31746ab99cd62252b1ff13a5d8d5a9ad89a3211786ea0b2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rebpf-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rebpf-sys@0.1.0: In file included from libbpf/include/uapi/linux/if_link.h:5, [INFO] [stderr] warning: rebpf-sys@0.1.0: from libbpf_sys.h:1, [INFO] [stderr] warning: rebpf-sys@0.1.0: from libbpf_sys.c:1: [INFO] [stderr] warning: rebpf-sys@0.1.0: /opt/rustwide/workdir/libbpf/include/linux/types.h:10:10: fatal error: asm/types.h: No such file or directory [INFO] [stderr] warning: rebpf-sys@0.1.0: 10 | #include [INFO] [stderr] warning: rebpf-sys@0.1.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: rebpf-sys@0.1.0: compilation terminated. [INFO] [stderr] error: failed to run custom build command for `rebpf-sys v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rebpf-sys-5d13cb7f8f12e824/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] mkdir -p /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c bpf.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/bpf.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c btf.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/btf.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c libbpf.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/libbpf.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c libbpf_errno.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/libbpf_errno.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c netlink.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/netlink.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c nlattr.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/nlattr.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c str_error.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/str_error.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c libbpf_probes.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/libbpf_probes.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c bpf_prog_linfo.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/bpf_prog_linfo.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c xsk.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/xsk.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c btf_dump.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/btf_dump.o [INFO] [stderr] cc -I. -I../include -I../include/uapi -g -O2 -Werror -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c hashmap.c -o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/hashmap.o [INFO] [stderr] ar rcs /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/libbpf.a /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/bpf.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/btf.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/libbpf.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/libbpf_errno.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/netlink.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/nlattr.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/str_error.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/libbpf_probes.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/bpf_prog_linfo.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/xsk.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/btf_dump.o /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/staticobjs/hashmap.o [INFO] [stderr] sed -e "s|@PREFIX@|/|" \ [INFO] [stderr] -e "s|@LIBDIR@||" \ [INFO] [stderr] -e "s|@VERSION@|0.0.8|" \ [INFO] [stderr] < libbpf.pc.template > /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/libbpf.pc [INFO] [stderr] if [ ! -d '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out//include/bpf' ]; then install -d -m 755 '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out//include/bpf'; fi; install bpf.h libbpf.h btf.h xsk.h libbpf_util.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h libbpf_common.h -m 644 '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out//include/bpf' [INFO] [stderr] if [ ! -d '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/pkgconfig' ]; then install -d -m 755 '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/pkgconfig'; fi; install /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/libbpf.pc -m 644 '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/pkgconfig' [INFO] [stderr] if [ ! -d '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out' ]; then install -d -m 755 '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out'; fi; cp -fpR /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/obj/libbpf.a '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out' [INFO] [stderr] rm -rf *.o *.a *.so *.so.* *.pc ./sharedobjs ./staticobjs [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-musl) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-musl [INFO] [stderr] CC_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_musl [INFO] [stderr] CC_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CC [INFO] [stderr] TARGET_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CROSS_COMPILE [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] RUSTC_LINKER = None [INFO] [stderr] PATH = Some(/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] RUSTC_WRAPPER = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some(true) [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87) [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CFLAGS [INFO] [stderr] TARGET_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_musl [INFO] [stderr] CFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-musl [INFO] [stderr] CFLAGS_x86_64-unknown-linux-musl = None [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [INFO] [stderr] cargo:warning=In file included from libbpf/include/uapi/linux/if_link.h:5, [INFO] [stderr] cargo:warning= from libbpf_sys.h:1, [INFO] [stderr] cargo:warning= from libbpf_sys.c:1: [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/libbpf/include/linux/types.h:10:10: fatal error: asm/types.h: No such file or directory [INFO] [stderr] cargo:warning= 10 | #include [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "x86_64-linux-musl-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/workdir/libbpf/include" "-I" "/opt/rustwide/workdir/libbpf/include/uapi" "-O2" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/rebpf-sys-194ad9901540bca0/out/db3b6bfb95261072-libbpf_sys.o" "-c" "libbpf_sys.c" [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "fc1a9115110357fbb31746ab99cd62252b1ff13a5d8d5a9ad89a3211786ea0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc1a9115110357fbb31746ab99cd62252b1ff13a5d8d5a9ad89a3211786ea0b2", kill_on_drop: false }` [INFO] [stdout] fc1a9115110357fbb31746ab99cd62252b1ff13a5d8d5a9ad89a3211786ea0b2