[INFO] cloning repository https://github.com/hrishavbasu/ebpf_stdout_capture [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hrishavbasu/ebpf_stdout_capture" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrishavbasu%2Febpf_stdout_capture", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrishavbasu%2Febpf_stdout_capture'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c1ed121d1587864dd19dfeafcbcecf786207a95 [INFO] checking hrishavbasu/ebpf_stdout_capture/9c1ed121d1587864dd19dfeafcbcecf786207a95 against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrishavbasu%2Febpf_stdout_capture" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hrishavbasu/ebpf_stdout_capture on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hrishavbasu/ebpf_stdout_capture [INFO] finished tweaking git repo https://github.com/hrishavbasu/ebpf_stdout_capture [INFO] tweaked toml for git repo https://github.com/hrishavbasu/ebpf_stdout_capture written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hrishavbasu/ebpf_stdout_capture 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "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 vsprintf v2.0.0 [INFO] [stderr] Downloaded libbpf-rs v0.20.1 [INFO] [stderr] Downloaded libbpf-cargo v0.20.1 [INFO] [stderr] Downloaded libbpf-sys v1.4.3+v1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9e599d2eb5fef414fb7762a9e3c0c987219f8f946169023050fc3e00e1a0f4e [INFO] running `Command { std: "docker" "start" "-a" "e9e599d2eb5fef414fb7762a9e3c0c987219f8f946169023050fc3e00e1a0f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9e599d2eb5fef414fb7762a9e3c0c987219f8f946169023050fc3e00e1a0f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e599d2eb5fef414fb7762a9e3c0c987219f8f946169023050fc3e00e1a0f4e", kill_on_drop: false }` [INFO] [stdout] e9e599d2eb5fef414fb7762a9e3c0c987219f8f946169023050fc3e00e1a0f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 040d21ebdc003a9fa4c41938eefe48c899cdbd663d6ef51bd8093c7dbf7d1b0d [INFO] running `Command { std: "docker" "start" "-a" "040d21ebdc003a9fa4c41938eefe48c899cdbd663d6ef51bd8093c7dbf7d1b0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling cc v1.1.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling libbpf-sys v1.4.3+v1.4.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Checking libbpf-rs v0.20.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling libbpf-cargo v0.20.1 [INFO] [stderr] Compiling ebpf_stdout_capture v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: ebpf_stdout_capture@0.1.0: Output file: "/opt/rustwide/target/debug/build/ebpf_stdout_capture-729d2d3f4cd72d9c/out/bpf_bindings.rs" [INFO] [stderr] warning: ebpf_stdout_capture@0.1.0: Clang args: -I/usr/include -I/usr/include/linux -I/usr/include/aarch64-linux-gnu [INFO] [stderr] warning: ebpf_stdout_capture@0.1.0: Error in SkeletonBuilder: Generate("Failed to generate skeleton for /tmp/.tmpn2DL4j/stdout_capture.o: Failed to rustfmt: exit status: 1") [INFO] [stderr] error: failed to run custom build command for `ebpf_stdout_capture v0.1.0 (/opt/rustwide/workdir)` [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/ebpf_stdout_capture-4e06d61d3160a90c/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:warning=Output file: "/opt/rustwide/target/debug/build/ebpf_stdout_capture-729d2d3f4cd72d9c/out/bpf_bindings.rs" [INFO] [stderr] cargo:warning=Clang args: -I/usr/include -I/usr/include/linux -I/usr/include/aarch64-linux-gnu [INFO] [stderr] cargo:warning=Error in SkeletonBuilder: Generate("Failed to generate skeleton for /tmp/.tmpn2DL4j/stdout_capture.o: Failed to rustfmt: exit status: 1") [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Warning: unrecognized map: .maps [INFO] [stderr] Warning: unrecognized map: license [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '01706e1a34c87656fcbfce198608f4cd2ac6461a'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at build.rs:26:13: [INFO] [stderr] Failed to build eBPF program [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x61e7f9f6acba - std::backtrace_rs::backtrace::libunwind::trace::hfcc25886faea4702 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x61e7f9f6acba - std::backtrace_rs::backtrace::trace_unsynchronized::h4aa88f945c02f327 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x61e7f9f6acba - std::sys::backtrace::_print_fmt::hca3b0f7c0100617e [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x61e7f9f6acba - ::fmt::h758bd2d67d463800 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x61e7f9f8e093 - core::fmt::rt::Argument::fmt::h433f6e38e74394db [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x61e7f9f8e093 - core::fmt::write::hbc64194c4b3e5edf [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/core/src/fmt/mod.rs:1440:21 [INFO] [stderr] 6: 0x61e7f9f67503 - std::io::Write::write_fmt::h3d58bafe61f2603b [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/io/mod.rs:1888:15 [INFO] [stderr] 7: 0x61e7f9f6ab02 - std::sys::backtrace::BacktraceLock::print::h845d5bf9cd557926 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x61e7f9f6ba4f - std::panicking::default_hook::{{closure}}::hda1c0222ced320a1 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:298:22 [INFO] [stderr] 9: 0x61e7f9f6b8ba - std::panicking::default_hook::h7fb3bc8dc4041e00 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:325:9 [INFO] [stderr] 10: 0x61e7f9f6c322 - std::panicking::rust_panic_with_hook::h17aa8302747344b7 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:831:13 [INFO] [stderr] 11: 0x61e7f9f6c186 - std::panicking::begin_panic_handler::{{closure}}::h810d0fcdf562c85b [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:697:13 [INFO] [stderr] 12: 0x61e7f9f6b1b9 - std::sys::backtrace::__rust_end_short_backtrace::h9a23b03b907c7056 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 13: 0x61e7f9f6be4d - rust_begin_unwind [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:695:5 [INFO] [stderr] 14: 0x61e7f9f8cea0 - core::panicking::panic_fmt::h446b8896ec2e1dfd [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/core/src/panicking.rs:75:14 [INFO] [stderr] 15: 0x61e7f9ddc94d - build_script_build::main::h2ab40705ee93f51c [INFO] [stderr] 16: 0x61e7f9ddc023 - core::ops::function::FnOnce::call_once::h5b3ff686cd5580c2 [INFO] [stderr] 17: 0x61e7f9ddbf66 - std::sys::backtrace::__rust_begin_short_backtrace::hfc08be426e66df95 [INFO] [stderr] 18: 0x61e7f9ddbed9 - std::rt::lang_start::{{closure}}::h75c810937cc2745a [INFO] [stderr] 19: 0x61e7f9f62150 - core::ops::function::impls:: for &F>::call_once::hb75b25a9deb894f8 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 20: 0x61e7f9f62150 - std::panicking::try::do_call::h31d65dd9cb8cd709 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:587:40 [INFO] [stderr] 21: 0x61e7f9f62150 - std::panicking::try::hb2fff03fd4561ba9 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:550:19 [INFO] [stderr] 22: 0x61e7f9f62150 - std::panic::catch_unwind::h1bad3b9172e2cade [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panic.rs:358:14 [INFO] [stderr] 23: 0x61e7f9f62150 - std::rt::lang_start_internal::{{closure}}::h4297fab0696e4a4d [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/rt.rs:163:24 [INFO] [stderr] 24: 0x61e7f9f62150 - std::panicking::try::do_call::h7c30135532fa92c9 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:587:40 [INFO] [stderr] 25: 0x61e7f9f62150 - std::panicking::try::h67f4be17fb5939b7 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panicking.rs:550:19 [INFO] [stderr] 26: 0x61e7f9f62150 - std::panic::catch_unwind::h351dee52508a8053 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/panic.rs:358:14 [INFO] [stderr] 27: 0x61e7f9f62150 - std::rt::lang_start_internal::h09bc65ed152e2db5 [INFO] [stderr] at /rustc/01706e1a34c87656fcbfce198608f4cd2ac6461a/library/std/src/rt.rs:159:5 [INFO] [stderr] 28: 0x61e7f9ddbec1 - std::rt::lang_start::h2499518147515b9c [INFO] [stderr] 29: 0x61e7f9ddc9a5 - main [INFO] [stderr] 30: 0x7a0a3361fd90 - [INFO] [stderr] 31: 0x7a0a3361fe40 - __libc_start_main [INFO] [stderr] 32: 0x61e7f9ddb6f5 - _start [INFO] [stderr] 33: 0x0 - [INFO] running `Command { std: "docker" "inspect" "040d21ebdc003a9fa4c41938eefe48c899cdbd663d6ef51bd8093c7dbf7d1b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040d21ebdc003a9fa4c41938eefe48c899cdbd663d6ef51bd8093c7dbf7d1b0d", kill_on_drop: false }` [INFO] [stdout] 040d21ebdc003a9fa4c41938eefe48c899cdbd663d6ef51bd8093c7dbf7d1b0d