[INFO] cloning repository https://github.com/ksesong/batterypilot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ksesong/batterypilot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksesong%2Fbatterypilot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksesong%2Fbatterypilot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c39298658af6fda1afa92f0713f608cba0f061cf [INFO] testing ksesong/batterypilot against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksesong%2Fbatterypilot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ksesong/batterypilot [INFO] finished tweaking git repo https://github.com/ksesong/batterypilot [INFO] tweaked toml for git repo https://github.com/ksesong/batterypilot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ksesong/batterypilot on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ksesong/batterypilot 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23f3e8ad9aae1abfaeabf48e979f42fdc3a349dcf4c8a65c17a0ed2ec5dc6b86 [INFO] running `Command { std: "docker" "start" "-a" "23f3e8ad9aae1abfaeabf48e979f42fdc3a349dcf4c8a65c17a0ed2ec5dc6b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23f3e8ad9aae1abfaeabf48e979f42fdc3a349dcf4c8a65c17a0ed2ec5dc6b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f3e8ad9aae1abfaeabf48e979f42fdc3a349dcf4c8a65c17a0ed2ec5dc6b86", kill_on_drop: false }` [INFO] [stdout] 23f3e8ad9aae1abfaeabf48e979f42fdc3a349dcf4c8a65c17a0ed2ec5dc6b86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00e5e719233ff42e535a63206536d115fe470bfe8a917855c5263eac87c563ca [INFO] running `Command { std: "docker" "start" "-a" "00e5e719233ff42e535a63206536d115fe470bfe8a917855c5263eac87c563ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling battery v0.7.8 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling xshell-macros v0.1.17 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling batterypilot v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `batterypilot v0.3.1 (/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/batterypilot-945d9831074410a3/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] gcc -DCMD_TOOL_BUILD -c smc.c [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] smc.c:25:10: fatal error: IOKit/IOKitLib.h: No such file or directory [INFO] [stderr] 25 | #include [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] compilation terminated. [INFO] [stderr] make: *** [Makefile:11: smc.o] Error 1 [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at build.rs:26:6: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5a825494d902 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5a825494d902 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5a825494d902 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5a825494d902 - ::fmt::ha2e7e3a01df69042 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5a825496d393 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5a825496d393 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stderr] 6: 0x5a825494b293 - std::io::default_write_fmt::h92ac9345fd53cc14 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5a825494b293 - std::io::Write::write_fmt::h5ebaf381f8338068 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5a825494d752 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5a825494ed66 - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x5a825494eb69 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x5a825494f632 - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x5a825494f4ca - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x5a825494ddf9 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x5a825494f15d - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x5a825496c680 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x5a825496c9f6 - core::result::unwrap_failed::hfbbd3c78a73fea3d [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1761:5 [INFO] [stderr] 17: 0x5a8254927d57 - build_script_build::main::h84ae02dbce28566c [INFO] [stderr] 18: 0x5a8254927093 - std::sys::backtrace::__rust_begin_short_backtrace::hce7a3401200f2967 [INFO] [stderr] 19: 0x5a8254927089 - std::rt::lang_start::{{closure}}::h7ac26c4a688cf4cc [INFO] [stderr] 20: 0x5a8254947ee0 - core::ops::function::impls:: for &F>::call_once::hc3929e8466919df6 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 21: 0x5a8254947ee0 - std::panicking::catch_unwind::do_call::hed30a66745299fca [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stderr] 22: 0x5a8254947ee0 - std::panicking::catch_unwind::hdfb0bc9563518507 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stderr] 23: 0x5a8254947ee0 - std::panic::catch_unwind::hd0a1d748acfba573 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stderr] 24: 0x5a8254947ee0 - std::rt::lang_start_internal::{{closure}}::h0c1845f1b3064b93 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:175:24 [INFO] [stderr] 25: 0x5a8254947ee0 - std::panicking::catch_unwind::do_call::h1114c52e864472d2 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stderr] 26: 0x5a8254947ee0 - std::panicking::catch_unwind::h91938c6665615bc7 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stderr] 27: 0x5a8254947ee0 - std::panic::catch_unwind::h0c65d4211626564a [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stderr] 28: 0x5a8254947ee0 - std::rt::lang_start_internal::hc41e58da8618ff02 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:171:5 [INFO] [stderr] 29: 0x5a8254927f55 - main [INFO] [stderr] 30: 0x7d0eb74231ca - [INFO] [stderr] 31: 0x7d0eb742328b - __libc_start_main [INFO] [stderr] 32: 0x5a8254926fb5 - _start [INFO] [stderr] 33: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "00e5e719233ff42e535a63206536d115fe470bfe8a917855c5263eac87c563ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e5e719233ff42e535a63206536d115fe470bfe8a917855c5263eac87c563ca", kill_on_drop: false }` [INFO] [stdout] 00e5e719233ff42e535a63206536d115fe470bfe8a917855c5263eac87c563ca