[INFO] cloning repository https://github.com/duanjiong/redbpf-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duanjiong/redbpf-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanjiong%2Fredbpf-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanjiong%2Fredbpf-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca294c534153b0e0c5da0e7e6bfa58c7a0c21002 [INFO] checking duanjiong/redbpf-example/ca294c534153b0e0c5da0e7e6bfa58c7a0c21002 against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanjiong%2Fredbpf-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duanjiong/redbpf-example on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/duanjiong/redbpf-example [INFO] finished tweaking git repo https://github.com/duanjiong/redbpf-example [INFO] tweaked toml for git repo https://github.com/duanjiong/redbpf-example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/duanjiong/redbpf-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.2.1 [INFO] [stderr] Downloaded redbpf-macros v2.0.2 [INFO] [stderr] Downloaded cargo-bpf v2.0.2 [INFO] [stderr] Downloaded redbpf v2.0.2 [INFO] [stderr] Downloaded redbpf-probes v2.0.2 [INFO] [stderr] Downloaded bpf-sys v2.0.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a98150649f5b1f45eaec74a8b444b5bb55879448bd77ea608c2d13147f4e6a9c [INFO] running `Command { std: "docker" "start" "-a" "a98150649f5b1f45eaec74a8b444b5bb55879448bd77ea608c2d13147f4e6a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a98150649f5b1f45eaec74a8b444b5bb55879448bd77ea608c2d13147f4e6a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98150649f5b1f45eaec74a8b444b5bb55879448bd77ea608c2d13147f4e6a9c", kill_on_drop: false }` [INFO] [stdout] a98150649f5b1f45eaec74a8b444b5bb55879448bd77ea608c2d13147f4e6a9c [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ae5dc42ffbfba886b07403c77d0527062f4a182ef1c33c46ce9c90992b26afc [INFO] running `Command { std: "docker" "start" "-a" "9ae5dc42ffbfba886b07403c77d0527062f4a182ef1c33c46ce9c90992b26afc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling combine v4.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling redbpf-macros v2.0.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling llvm-sys v120.2.1 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking goblin v0.4.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Compiling toml_edit v0.2.1 [INFO] [stderr] Compiling bpf-sys v2.0.2 [INFO] [stderr] Checking redbpf v2.0.2 [INFO] [stderr] Compiling cargo-bpf v2.0.2 [INFO] [stderr] Compiling redbpf-probes v2.0.2 [INFO] [stderr] Compiling probes v0.1.0 (/opt/rustwide/workdir/probes) [INFO] [stderr] Compiling bash-readline v0.0.1 (/opt/rustwide/workdir/src/bash-readline) [INFO] [stderr] Compiling xdp v0.0.1 (/opt/rustwide/workdir/src/xdp) [INFO] [stderr] error: failed to run custom build command for `redbpf-probes v2.0.2` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/redbpf-probes-5c94e8d249b457a0/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=include/ [INFO] [stderr] cargo:rerun-if-changed=include/bpf_helper_defs.h [INFO] [stderr] cargo:rerun-if-changed=include/bpf_helpers.h [INFO] [stderr] cargo:rerun-if-changed=include/redbpf_helpers.h [INFO] [stderr] cargo:rerun-if-changed=include/vmlinux_supplement.h [INFO] [stderr] cargo:rerun-if-changed=include/xdp.h [INFO] [stderr] Dec 24 00:36:50.709 DEBUG build_script_build: Try generating rust bindings with pre-installed kernel headers [INFO] [stderr] Dec 24 00:36:50.709 WARN build_script_build: error on generate_bindings_kernel_headers: error on Builder::get_builder_kernel_headers: kernel headers not found [INFO] [stderr] Dec 24 00:36:50.709 DEBUG build_script_build: Try generating rust bindings with vmlinux [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] libbpf: failed to find valid kernel BTF [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redbpf-probes-2.0.2/build.rs:289:14: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: error on bpf_bindgen::get_builder_vmlinux: error on vmlinux_btf_dump: VmlinuxNotFound [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5a6485ed6f7a - std::backtrace_rs::backtrace::libunwind::trace::heffdbe790bba713a [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5a6485ed6f7a - std::backtrace_rs::backtrace::trace_unsynchronized::hd9bf38f78d2e2c3f [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5a6485ed6f7a - std::sys::backtrace::_print_fmt::hefed91f18db4aa1e [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5a6485ed6f7a - ::fmt::ha932951d19ec486a [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5a6485f003b3 - core::fmt::rt::Argument::fmt::hcc00694b5fa82079 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5a6485f003b3 - core::fmt::write::h938f4ca461c17bcb [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/core/src/fmt/mod.rs:1440:21 [INFO] [stderr] 6: 0x5a6485ed3c33 - std::io::Write::write_fmt::hf9bd94db61656df2 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x5a6485ed6dc2 - std::sys::backtrace::BacktraceLock::print::h7393ade155223104 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5a6485ed810e - std::panicking::default_hook::{{closure}}::h19435240aee86806 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:284:22 [INFO] [stderr] 9: 0x5a6485ed7f53 - std::panicking::default_hook::hb72c8620e8ee5829 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:311:9 [INFO] [stderr] 10: 0x5a6485ed8857 - std::panicking::rust_panic_with_hook::h3971356749216d84 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:817:13 [INFO] [stderr] 11: 0x5a6485ed85da - std::panicking::begin_panic_handler::{{closure}}::h89ff3ee6e2a4f24b [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:690:13 [INFO] [stderr] 12: 0x5a6485ed7449 - std::sys::backtrace::__rust_end_short_backtrace::h7491f72746496bf5 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 13: 0x5a6485ed826d - rust_begin_unwind [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:681:5 [INFO] [stderr] 14: 0x5a6485efdfb0 - core::panicking::panic_fmt::ha0cf6477569a1599 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/core/src/panicking.rs:75:14 [INFO] [stderr] 15: 0x5a6485efe426 - core::result::unwrap_failed::hf3794d6fb5e8c8b2 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/core/src/result.rs:1704:5 [INFO] [stderr] 16: 0x5a6485599248 - build_script_build::main::h05e6524ccc13241d [INFO] [stderr] 17: 0x5a64855a5c23 - core::ops::function::FnOnce::call_once::h443edb821423d141 [INFO] [stderr] 18: 0x5a64855a5936 - std::sys::backtrace::__rust_begin_short_backtrace::h8e91698bd7007d19 [INFO] [stderr] 19: 0x5a6485590489 - std::rt::lang_start::{{closure}}::h90301035e7f47640 [INFO] [stderr] 20: 0x5a6485ecf517 - core::ops::function::impls:: for &F>::call_once::h928781fdb7ec9354 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 21: 0x5a6485ecf517 - std::panicking::try::do_call::h6ee8ed2454cfa3c0 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:573:40 [INFO] [stderr] 22: 0x5a6485ecf517 - std::panicking::try::h59a169b7a03069fd [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:536:19 [INFO] [stderr] 23: 0x5a6485ecf517 - std::panic::catch_unwind::h9507a682f4de0d6c [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panic.rs:358:14 [INFO] [stderr] 24: 0x5a6485ecf517 - std::rt::lang_start_internal::{{closure}}::h5ddea88cf6e9fc20 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/rt.rs:174:48 [INFO] [stderr] 25: 0x5a6485ecf517 - std::panicking::try::do_call::had675aebeb2a4db8 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:573:40 [INFO] [stderr] 26: 0x5a6485ecf517 - std::panicking::try::h0fd42398875886a7 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panicking.rs:536:19 [INFO] [stderr] 27: 0x5a6485ecf517 - std::panic::catch_unwind::hda81e3af05849061 [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/panic.rs:358:14 [INFO] [stderr] 28: 0x5a6485ecf517 - std::rt::lang_start_internal::hd305e752beadaece [INFO] [stderr] at /rustc/85c39893a761fe4c050523278da4e7e45ab42b6e/library/std/src/rt.rs:174:20 [INFO] [stderr] 29: 0x5a6485590467 - std::rt::lang_start::h665b55906b86a528 [INFO] [stderr] 30: 0x5a648559b905 - main [INFO] [stderr] 31: 0x7816379c0d90 - [INFO] [stderr] 32: 0x7816379c0e40 - __libc_start_main [INFO] [stderr] 33: 0x5a648558f3b5 - _start [INFO] [stderr] 34: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9ae5dc42ffbfba886b07403c77d0527062f4a182ef1c33c46ce9c90992b26afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae5dc42ffbfba886b07403c77d0527062f4a182ef1c33c46ce9c90992b26afc", kill_on_drop: false }` [INFO] [stdout] 9ae5dc42ffbfba886b07403c77d0527062f4a182ef1c33c46ce9c90992b26afc