[INFO] crate battery-ffi 0.7.5 is already in cache [INFO] checking battery-ffi-0.7.5 against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] extracting crate battery-ffi 0.7.5 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate battery-ffi 0.7.5 on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e783e5ae3192faa255d5f1c693bf275affd635800feafc492f54d1651451fad3 [INFO] running `"docker" "start" "-a" "e783e5ae3192faa255d5f1c693bf275affd635800feafc492f54d1651451fad3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cbindgen v0.10.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling battery v0.7.5 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking uom v0.26.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.52 [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-ba50f4a340673c50/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: 0x557a100f0754 - backtrace::backtrace::libunwind::trace::hfcd33194db0151d4 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x557a100f0754 - backtrace::backtrace::trace_unsynchronized::hfd1904bbbd5335b5 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x557a100f0754 - std::sys_common::backtrace::_print_fmt::h8476c57b177b254e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x557a100f0754 - ::fmt::h73acbc5f6d4b1044 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x557a1011c3ec - core::fmt::write::hdf236390fbd68d3d [INFO] [stderr] at src/libcore/fmt/mod.rs:1069 [INFO] [stderr] 5: 0x557a100ed673 - std::io::Write::write_fmt::h5722fa40bb2afafd [INFO] [stderr] at src/libstd/io/mod.rs:1532 [INFO] [stderr] 6: 0x557a100f3595 - std::sys_common::backtrace::_print::ha468e873aada7c78 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x557a100f3595 - std::sys_common::backtrace::print::h149365a2f029de62 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x557a100f3595 - std::panicking::default_hook::{{closure}}::hb4a33f9e05934a52 [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x557a100f32d2 - std::panicking::default_hook::hc4535d7b0c743abd [INFO] [stderr] at src/libstd/panicking.rs:218 [INFO] [stderr] 10: 0x557a100f3bad - std::panicking::rust_panic_with_hook::haa34a96a6dbd5a2e [INFO] [stderr] at src/libstd/panicking.rs:481 [INFO] [stderr] 11: 0x557a100f378b - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:385 [INFO] [stderr] 12: 0x557a1011a491 - core::panicking::panic_fmt::hd101a87121fa411f [INFO] [stderr] at src/libcore/panicking.rs:89 [INFO] [stderr] 13: 0x557a1011a452 - core::panicking::panic_bounds_check::ha0668dcff6357ef4 [INFO] [stderr] at src/libcore/panicking.rs:65 [INFO] [stderr] 14: 0x557a0ff71682 - >::index::he34701d43d0a4cb7 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/slice/mod.rs:2872 [INFO] [stderr] 15: 0x557a0ff71183 - core::slice:: for [T]>::index::hb79d43225a4d3eed [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/slice/mod.rs:2732 [INFO] [stderr] 16: 0x557a0ff43775 - as core::ops::index::Index>::index::h4133f450965bd1a8 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/liballoc/vec.rs:1945 [INFO] [stderr] 17: 0x557a0fddeb61 - cbindgen::bindgen::cargo::cargo::parse_dep_string::h1a70a081772416f7 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:19 [INFO] [stderr] 18: 0x557a0fde03f3 - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::{{closure}}::h88b1e58a5e99f92f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:125 [INFO] [stderr] 19: 0x557a0fd920a9 - core::iter::adapters::map_fold::{{closure}}::h3ff6fd1fc6d5451e [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/adapters/mod.rs:785 [INFO] [stderr] 20: 0x557a0fc64671 - core::iter::traits::iterator::Iterator::fold::ok::{{closure}}::h993ff7853a60c743 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/traits/iterator.rs:2002 [INFO] [stderr] 21: 0x557a0fc05c7d - core::iter::traits::iterator::Iterator::try_fold::hcff9bb68b9aa005a [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/traits/iterator.rs:1878 [INFO] [stderr] 22: 0x557a0fbfc5ee - core::iter::traits::iterator::Iterator::fold::h8ad3874b5477c297 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/traits/iterator.rs:2005 [INFO] [stderr] 23: 0x557a0fd9bc9a - as core::iter::traits::iterator::Iterator>::fold::he1a3cdc544010043 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/adapters/mod.rs:825 [INFO] [stderr] 24: 0x557a0fd89cda - core::iter::traits::iterator::Iterator::for_each::h42dd3b782512fd6c [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/traits/iterator.rs:658 [INFO] [stderr] 25: 0x557a0fceaec2 - as alloc::vec::SpecExtend>::spec_extend::hd02054edb7a0d5ba [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/liballoc/vec.rs:2116 [INFO] [stderr] 26: 0x557a0fcefcbc - as alloc::vec::SpecExtend>::from_iter::h02cd6a52035b3570 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/liballoc/vec.rs:2096 [INFO] [stderr] 27: 0x557a0fcfa827 - as core::iter::traits::collect::FromIterator>::from_iter::hedb3a0e492216f35 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/liballoc/vec.rs:1981 [INFO] [stderr] 28: 0x557a0fd888f9 - core::iter::traits::iterator::Iterator::collect::h489923567f625abc [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/iter/traits/iterator.rs:1660 [INFO] [stderr] 29: 0x557a0fde0327 - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::ha2522858e8086ea6 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/cargo/cargo.rs:121 [INFO] [stderr] 30: 0x557a0fc2dc97 - cbindgen::bindgen::parser::Parser::parse_crate::he575967a071d8592 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:159 [INFO] [stderr] 31: 0x557a0fc2ce5c - cbindgen::bindgen::parser::parse_lib::hfbd81d141cc2016f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:88 [INFO] [stderr] 32: 0x557a0fc72588 - cbindgen::bindgen::builder::Builder::generate::ha74d926b6b52df8d [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/builder.rs:322 [INFO] [stderr] 33: 0x557a0fb6f231 - cbindgen::generate_with_config::h46793dda6af058ff [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/lib.rs:37 [INFO] [stderr] 34: 0x557a0fbc67ef - build_script_build::build_header::h7a566e04bb911a56 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:11 [INFO] [stderr] 35: 0x557a0fbc68f6 - build_script_build::main::h1e1bae1e6e4acc86 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:18 [INFO] [stderr] 36: 0x557a0fb66f1b - std::rt::lang_start::{{closure}}::hfa1ee8210afa6f44 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libstd/rt.rs:67 [INFO] [stderr] 37: 0x557a100f4028 - std::rt::lang_start_internal::{{closure}}::h8ee41efd8ae7ff76 [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 38: 0x557a100f4028 - std::panicking::try::do_call::h0a4c4514ee6ebbfc [INFO] [stderr] at src/libstd/panicking.rs:297 [INFO] [stderr] 39: 0x557a100f4028 - std::panicking::try::h7c2f3858e42d7516 [INFO] [stderr] at src/libstd/panicking.rs:274 [INFO] [stderr] 40: 0x557a100f4028 - std::panic::catch_unwind::h76c4030fa5655c1e [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 41: 0x557a100f4028 - std::rt::lang_start_internal::h1c1398259f72ace6 [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 42: 0x557a0fb66ef7 - std::rt::lang_start::h75d12b77191b9bae [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libstd/rt.rs:67 [INFO] [stderr] 43: 0x557a0fbc692a - main [INFO] [stderr] 44: 0x7f9fb721d0b3 - __libc_start_main [INFO] [stderr] 45: 0x557a0fab81be - _start [INFO] [stderr] 46: 0x0 - [INFO] [stderr] [INFO] running `"docker" "inspect" "e783e5ae3192faa255d5f1c693bf275affd635800feafc492f54d1651451fad3"` [INFO] running `"docker" "rm" "-f" "e783e5ae3192faa255d5f1c693bf275affd635800feafc492f54d1651451fad3"` [INFO] [stdout] e783e5ae3192faa255d5f1c693bf275affd635800feafc492f54d1651451fad3