[INFO] fetching crate powercap-sys 0.2.0... [INFO] building powercap-sys-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate powercap-sys 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate powercap-sys 0.2.0 [INFO] finished tweaking crates.io crate powercap-sys 0.2.0 [INFO] tweaked toml for crates.io crate powercap-sys 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate powercap-sys 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate powercap-sys 0.2.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded aho-corasick v0.7.14 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded regex-syntax v0.6.20 [INFO] [stderr] Downloaded libc v0.2.79 [INFO] [stderr] Downloaded regex v1.4.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24798e7697a1304be784ec340ad328789b3f8736783dfa83d9736beb408143a0 [INFO] running `Command { std: "docker" "start" "-a" "24798e7697a1304be784ec340ad328789b3f8736783dfa83d9736beb408143a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24798e7697a1304be784ec340ad328789b3f8736783dfa83d9736beb408143a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24798e7697a1304be784ec340ad328789b3f8736783dfa83d9736beb408143a0", kill_on_drop: false }` [INFO] [stdout] 24798e7697a1304be784ec340ad328789b3f8736783dfa83d9736beb408143a0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6db31e77d220719fd13e6d4fbfdd89eca22b33d0dad0484490ec7ff358ddf355 [INFO] running `Command { std: "docker" "start" "-a" "6db31e77d220719fd13e6d4fbfdd89eca22b33d0dad0484490ec7ff358ddf355", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling powercap-sys v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `powercap-sys v0.2.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/powercap-sys-693a4394e20d5cf4/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=POWERCAP_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=POWERCAP_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=POWERCAP_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (770) panicked at build.rs:9:53: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: Failure { command: "PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=\"1\" PKG_CONFIG_ALLOW_SYSTEM_LIBS=\"1\" \"pkg-config\" \"--libs\" \"--cflags\" \"powercap\"", output: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "Package powercap was not found in the pkg-config search path.\nPerhaps you should add the directory containing `powercap.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'powercap', required by 'virtual:world', not found\n" } } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5e70cd2db502 - std::backtrace_rs::backtrace::libunwind::trace::ha2a9ae9e69b87a03 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5e70cd2db502 - std::backtrace_rs::backtrace::trace_unsynchronized::h7757f80677e51a33 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5e70cd2db502 - std::sys::backtrace::_print_fmt::h6552c7cfff6c56fd [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5e70cd2db502 - ::fmt::h8094475e363f1053 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5e70cd2ec7df - core::fmt::rt::Argument::fmt::h88a25a51f53034c0 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5e70cd2ec7df - core::fmt::write::h501eb1fe28dabfbb [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5e70cd2aaca1 - std::io::default_write_fmt::h992ad3fe47aac8bd [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5e70cd2aaca1 - std::io::Write::write_fmt::h8b96bc323947a405 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5e70cd2b59c2 - std::sys::backtrace::BacktraceLock::print::h7aea9e658d3d67e5 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5e70cd2b86cf - std::panicking::default_hook::{{closure}}::h9182baa5e2ff55c0 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5e70cd2b8529 - std::panicking::default_hook::hfb4945b05f344c7f [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5e70cd2b8d55 - std::panicking::panic_with_hook::h56e601fd3ec36096 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5e70cd2b8bea - std::panicking::panic_handler::{{closure}}::h1609d3c3912948cb [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x5e70cd2b5af9 - std::sys::backtrace::__rust_end_short_backtrace::h03d671aa8d777602 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5e70cd29f43d - __rustc[aa3aaccdf5d52e38]::rust_begin_unwind [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5e70cd2f68f0 - core::panicking::panic_fmt::h2ccb5f5950fb2ea3 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x5e70cd2f5b26 - core::result::unwrap_failed::h1234828aefe38261 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/result.rs:1855:5 [INFO] [stderr] 17: 0x5e70ccf58d9a - build_script_build::main::h826da9b10cf78cf7 [INFO] [stderr] 18: 0x5e70ccf59ba3 - core::ops::function::FnOnce::call_once::h82b92bc914e21595 [INFO] [stderr] 19: 0x5e70ccf59aa6 - std::sys::backtrace::__rust_begin_short_backtrace::h937e9cabe8579754 [INFO] [stderr] 20: 0x5e70ccf59a89 - std::rt::lang_start::{{closure}}::h9bb2a61b6afed29b [INFO] [stderr] 21: 0x5e70cd2ac800 - core::ops::function::impls:: for &F>::call_once::haefda49eac6aabe3 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 22: 0x5e70cd2ac800 - std::panicking::catch_unwind::do_call::hf37797e2fddac2f0 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:590:40 [INFO] [stderr] 23: 0x5e70cd2ac800 - std::panicking::catch_unwind::h909d1e8985436f28 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:553:19 [INFO] [stderr] 24: 0x5e70cd2ac800 - std::panic::catch_unwind::h5491b1948f80f254 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panic.rs:359:14 [INFO] [stderr] 25: 0x5e70cd2ac800 - std::rt::lang_start_internal::{{closure}}::hf621f85e52fbc16b [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/rt.rs:175:24 [INFO] [stderr] 26: 0x5e70cd2ac800 - std::panicking::catch_unwind::do_call::h2de2328545762ad7 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:590:40 [INFO] [stderr] 27: 0x5e70cd2ac800 - std::panicking::catch_unwind::h544f60d1149df03e [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:553:19 [INFO] [stderr] 28: 0x5e70cd2ac800 - std::panic::catch_unwind::h90e123b5fe5a521c [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panic.rs:359:14 [INFO] [stderr] 29: 0x5e70cd2ac800 - std::rt::lang_start_internal::hce9ddc5b3402b0d3 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/rt.rs:171:5 [INFO] [stderr] 30: 0x5e70ccf59a71 - std::rt::lang_start::h23e108303acbd20f [INFO] [stderr] 31: 0x5e70ccf5b565 - main [INFO] [stderr] 32: 0x7c4da01f51ca - [INFO] [stderr] 33: 0x7c4da01f528b - __libc_start_main [INFO] [stderr] 34: 0x5e70ccf58a85 - _start [INFO] [stderr] 35: 0x0 - [INFO] running `Command { std: "docker" "inspect" "6db31e77d220719fd13e6d4fbfdd89eca22b33d0dad0484490ec7ff358ddf355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db31e77d220719fd13e6d4fbfdd89eca22b33d0dad0484490ec7ff358ddf355", kill_on_drop: false }` [INFO] [stdout] 6db31e77d220719fd13e6d4fbfdd89eca22b33d0dad0484490ec7ff358ddf355