[INFO] fetching crate battery-ffi 0.7.5... [INFO] checking battery-ffi-0.7.5 against try#075992eda207e1647b699c8c8ada67b32ce7b115 for pr-77271 [INFO] extracting crate battery-ffi 0.7.5 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate battery-ffi 0.7.5 on toolchain 075992eda207e1647b699c8c8ada67b32ce7b115 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate battery-ffi 0.7.5 [INFO] finished tweaking crates.io crate battery-ffi 0.7.5 [INFO] tweaked toml for crates.io crate battery-ffi 0.7.5 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 cbindgen v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dedfc55cabc9bdbe5e6178e1bba0a465f78044afee0f88644d4a382e623fcca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2dedfc55cabc9bdbe5e6178e1bba0a465f78044afee0f88644d4a382e623fcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dedfc55cabc9bdbe5e6178e1bba0a465f78044afee0f88644d4a382e623fcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dedfc55cabc9bdbe5e6178e1bba0a465f78044afee0f88644d4a382e623fcca", kill_on_drop: false }` [INFO] [stdout] 2dedfc55cabc9bdbe5e6178e1bba0a465f78044afee0f88644d4a382e623fcca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84406c19c2cd7dd0aab35da10e4dc20f292e62629d8435530a74d69420068253 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84406c19c2cd7dd0aab35da10e4dc20f292e62629d8435530a74d69420068253", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cbindgen v0.10.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling battery v0.7.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking uom v0.29.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling battery-ffi v0.7.5 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `battery-ffi v0.7.5 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/battery-ffi-032e12c98d3cc52e/build-script-build` (exit code: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:19:16 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x561e577c9110 - std::backtrace_rs::backtrace::libunwind::trace::he85dfb3ae4206056 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96 [INFO] [stderr] 1: 0x561e577c9110 - std::backtrace_rs::backtrace::trace_unsynchronized::h1ad28094d7b00c21 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/../../backtrace/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x561e577c9110 - std::sys_common::backtrace::_print_fmt::h901b54610713cd21 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/sys_common/backtrace.rs:79 [INFO] [stderr] 3: 0x561e577c9110 - ::fmt::hb0ad78ee1571f7e0 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/sys_common/backtrace.rs:58 [INFO] [stderr] 4: 0x561e577ef08c - core::fmt::write::h1857a60b204f1b6a [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/fmt/mod.rs:1080 [INFO] [stderr] 5: 0x561e577c63b2 - std::io::Write::write_fmt::hf7b7d7b243f84a36 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/io/mod.rs:1516 [INFO] [stderr] 6: 0x561e577cba4d - std::sys_common::backtrace::_print::hd093978a5287b8ff [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/sys_common/backtrace.rs:61 [INFO] [stderr] 7: 0x561e577cba4d - std::sys_common::backtrace::print::h20f46787581d56d7 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/sys_common/backtrace.rs:48 [INFO] [stderr] 8: 0x561e577cba4d - std::panicking::default_hook::{{closure}}::h486cbb4b82ffc357 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:208 [INFO] [stderr] 9: 0x561e577cb6f8 - std::panicking::default_hook::h4190c9e3edd4d591 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:227 [INFO] [stderr] 10: 0x561e577cc156 - std::panicking::rust_panic_with_hook::h72e78719cdda225c [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:581 [INFO] [stderr] 11: 0x561e577cbcd9 - std::panicking::begin_panic_handler::{{closure}}::h8bd07dbd34150a96 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:484 [INFO] [stderr] 12: 0x561e577c959c - std::sys_common::backtrace::__rust_end_short_backtrace::hdb6b3066ad29028a [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/sys_common/backtrace.rs:153 [INFO] [stderr] 13: 0x561e577cbc99 - rust_begin_unwind [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:483 [INFO] [stderr] 14: 0x561e577ecf71 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/panicking.rs:85 [INFO] [stderr] 15: 0x561e577ecf32 - core::panicking::panic_bounds_check::hec58b3e6eeb445f1 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/panicking.rs:62 [INFO] [stderr] 16: 0x561e5764d582 - >::index::ha3384cc755419c48 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/slice/index.rs:255 [INFO] [stderr] 17: 0x561e5764cce3 - core::slice::index:: for [T]>::index::h2bcde17599b0829a [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/slice/index.rs:15 [INFO] [stderr] 18: 0x561e576bcb75 - as core::ops::index::Index>::index::hae43afa540342518 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/alloc/src/vec.rs:1981 [INFO] [stderr] 19: 0x561e5741bbf1 - cbindgen::bindgen::cargo::cargo::parse_dep_string::h61c5b72ddbb30915 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:19 [INFO] [stderr] 20: 0x561e5741d3c3 - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::{{closure}}::hed2dbc53129fa972 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:125 [INFO] [stderr] 21: 0x561e5748bcf9 - core::iter::adapters::map_fold::{{closure}}::h4ba0f98bb296c32d [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/iter/adapters/mod.rs:895 [INFO] [stderr] 22: 0x561e5740676b - core::iter::traits::iterator::Iterator::fold::h01d311e12da5dbbf [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/iter/traits/iterator.rs:1988 [INFO] [stderr] 23: 0x561e57492f3a - as core::iter::traits::iterator::Iterator>::fold::h2782f425c5c6cfaa [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/iter/adapters/mod.rs:935 [INFO] [stderr] 24: 0x561e5748697a - core::iter::traits::iterator::Iterator::for_each::hfb4bca4dd128ddf2 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/iter/traits/iterator.rs:645 [INFO] [stderr] 25: 0x561e573ced02 - as alloc::vec::SpecExtend>::spec_extend::h4f93f4a358ede726 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/alloc/src/vec.rs:2379 [INFO] [stderr] 26: 0x561e573dc0c5 - as alloc::vec::SpecFromIterNested>::from_iter::h2c388191d706ba23 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/alloc/src/vec.rs:2151 [INFO] [stderr] 27: 0x561e573d4cb9 - as alloc::vec::SpecFromIter>::from_iter::h450fb58c79f696bc [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/alloc/src/vec.rs:2161 [INFO] [stderr] 28: 0x561e573e0187 - as core::iter::traits::collect::FromIterator>::from_iter::he6c05593575d003e [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/alloc/src/vec.rs:2001 [INFO] [stderr] 29: 0x561e57484bd9 - core::iter::traits::iterator::Iterator::collect::he6e97367d215492c [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/iter/traits/iterator.rs:1637 [INFO] [stderr] 30: 0x561e5741d2ed - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::h51921c21bc68ae2c [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:121 [INFO] [stderr] 31: 0x561e57452c2a - cbindgen::bindgen::parser::Parser::parse_crate::h581edf7a44382b94 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:159 [INFO] [stderr] 32: 0x561e57451e4c - cbindgen::bindgen::parser::parse_lib::h5ef9e5d78b42a104 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:88 [INFO] [stderr] 33: 0x561e574b8388 - cbindgen::bindgen::builder::Builder::generate::h69db7f560c4c838f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/builder.rs:322 [INFO] [stderr] 34: 0x561e572d34a0 - cbindgen::generate_with_config::h6c14122fc5515471 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/lib.rs:37 [INFO] [stderr] 35: 0x561e572d3ff9 - build_script_build::build_header::h36ce56b4f83250e6 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:11 [INFO] [stderr] 36: 0x561e572d40f6 - build_script_build::main::h9380dd8a104b3cae [INFO] [stderr] at /opt/rustwide/workdir/build.rs:18 [INFO] [stderr] 37: 0x561e572cbc2b - core::ops::function::FnOnce::call_once::h1889bb21d61c76c1 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/ops/function.rs:227 [INFO] [stderr] 38: 0x561e572cabae - std::sys_common::backtrace::__rust_begin_short_backtrace::h8c299cec1be4dcdc [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/sys_common/backtrace.rs:137 [INFO] [stderr] 39: 0x561e57281a11 - std::rt::lang_start::{{closure}}::hd9171be86f81f1c5 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/rt.rs:66 [INFO] [stderr] 40: 0x561e577cc5e0 - core::ops::function::impls:: for &F>::call_once::h5e15f43ce28787f7 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/core/src/ops/function.rs:259 [INFO] [stderr] 41: 0x561e577cc5e0 - std::panicking::try::do_call::h764f1891769113e9 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:381 [INFO] [stderr] 42: 0x561e577cc5e0 - std::panicking::try::h0f2fe4fdd5e0ad19 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panicking.rs:345 [INFO] [stderr] 43: 0x561e577cc5e0 - std::panic::catch_unwind::h1634e40dd3a19f80 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/panic.rs:382 [INFO] [stderr] 44: 0x561e577cc5e0 - std::rt::lang_start_internal::h8d4bc7b854bbd5fe [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/rt.rs:51 [INFO] [stderr] 45: 0x561e572819e7 - std::rt::lang_start::h85228043e72aa4c7 [INFO] [stderr] at /rustc/075992eda207e1647b699c8c8ada67b32ce7b115/library/std/src/rt.rs:65 [INFO] [stderr] 46: 0x561e572d412a - main [INFO] [stderr] 47: 0x7fdcadc340b3 - __libc_start_main [INFO] [stderr] 48: 0x561e571cd0de - _start [INFO] [stderr] 49: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "84406c19c2cd7dd0aab35da10e4dc20f292e62629d8435530a74d69420068253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84406c19c2cd7dd0aab35da10e4dc20f292e62629d8435530a74d69420068253", kill_on_drop: false }` [INFO] [stdout] 84406c19c2cd7dd0aab35da10e4dc20f292e62629d8435530a74d69420068253