[INFO] crate battery-ffi 0.7.5 is already in cache [INFO] checking battery-ffi-0.7.5 against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] extracting crate battery-ffi 0.7.5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate battery-ffi 0.7.5 on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] be8bc0db5d80e00155da97cbc3b398d2e72e8cd6d724516ee0b5a0b920cf0192 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "be8bc0db5d80e00155da97cbc3b398d2e72e8cd6d724516ee0b5a0b920cf0192"` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling cbindgen v0.10.1 [INFO] [stderr] Compiling battery v0.7.5 [INFO] [stderr] Checking uom v0.26.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling getrandom v0.1.14 [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 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-05f3b0798581ac70/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', /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/slice/mod.rs:2842:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55b748849a54 - backtrace::backtrace::libunwind::trace::h91d1589f784e7177 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x55b748849a54 - backtrace::backtrace::trace_unsynchronized::h9ec8949702a1f108 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x55b748849a54 - std::sys_common::backtrace::_print_fmt::h97468752f36a9a0e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x55b748849a54 - ::fmt::ha27a4263940af5a9 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x55b748870b9c - core::fmt::write::h061ec21cc1fda96c [INFO] [stderr] at src/libcore/fmt/mod.rs:1063 [INFO] [stderr] 5: 0x55b748846917 - std::io::Write::write_fmt::ha58db9b6b5ace99d [INFO] [stderr] at src/libstd/io/mod.rs:1428 [INFO] [stderr] 6: 0x55b74884c7e5 - std::sys_common::backtrace::_print::h92d96c5907bac82b [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x55b74884c7e5 - std::sys_common::backtrace::print::hb08c4606d19eee23 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x55b74884c7e5 - std::panicking::default_hook::{{closure}}::h28e247f6a0250f5d [INFO] [stderr] at src/libstd/panicking.rs:204 [INFO] [stderr] 9: 0x55b74884c532 - std::panicking::default_hook::h3647fb19c6fd2d5c [INFO] [stderr] at src/libstd/panicking.rs:224 [INFO] [stderr] 10: 0x55b74884cec5 - std::panicking::rust_panic_with_hook::h38d69a94e615bc72 [INFO] [stderr] at src/libstd/panicking.rs:474 [INFO] [stderr] 11: 0x55b74884c9db - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:378 [INFO] [stderr] 12: 0x55b74886ebf1 - core::panicking::panic_fmt::h10c0fe8e0cb427e3 [INFO] [stderr] at src/libcore/panicking.rs:85 [INFO] [stderr] 13: 0x55b74886ebb5 - core::panicking::panic_bounds_check::h3265817bb51741ab [INFO] [stderr] at src/libcore/panicking.rs:63 [INFO] [stderr] 14: 0x55b7486b15f1 - >::index::hac65c8862ab37677 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/slice/mod.rs:2842 [INFO] [stderr] 15: 0x55b7486b0f83 - core::slice:: for [T]>::index::h7f9547044de1416c [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/slice/mod.rs:2707 [INFO] [stderr] 16: 0x55b7487bf92b - as core::ops::index::Index>::index::h3909e832a71a9c09 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/liballoc/vec.rs:1890 [INFO] [stderr] 17: 0x55b748508ce3 - cbindgen::bindgen::cargo::cargo::parse_dep_string::h99276ee01a9f3905 [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: 0x55b74850a5b3 - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::{{closure}}::he480aee2e7a707ef [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: 0x55b7484d9aa9 - core::iter::adapters::map_fold::{{closure}}::h16eb7e1b41e4201e [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/adapters/mod.rs:772 [INFO] [stderr] 20: 0x55b7483e0dd1 - core::iter::traits::iterator::Iterator::fold::ok::{{closure}}::ha836f61ea4d29c60 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/traits/iterator.rs:2002 [INFO] [stderr] 21: 0x55b74852235d - core::iter::traits::iterator::Iterator::try_fold::he3b1e3fa4af0df36 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/traits/iterator.rs:1878 [INFO] [stderr] 22: 0x55b74851962e - core::iter::traits::iterator::Iterator::fold::hee4951f08f6ac846 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/traits/iterator.rs:2005 [INFO] [stderr] 23: 0x55b7484ea34a - as core::iter::traits::iterator::Iterator>::fold::h890c55c986e6c44a [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/adapters/mod.rs:812 [INFO] [stderr] 24: 0x55b7484d39fa - core::iter::traits::iterator::Iterator::for_each::h8e2b7e38a2d6522f [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/traits/iterator.rs:659 [INFO] [stderr] 25: 0x55b74846bb12 - as alloc::vec::SpecExtend>::spec_extend::hf6745d968b33f2bc [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/liballoc/vec.rs:2061 [INFO] [stderr] 26: 0x55b748470d5c - as alloc::vec::SpecExtend>::from_iter::h980fc1b5177fc822 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/liballoc/vec.rs:2041 [INFO] [stderr] 27: 0x55b7484796f7 - as core::iter::traits::collect::FromIterator>::from_iter::h7bd1497321b2ad67 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/liballoc/vec.rs:1926 [INFO] [stderr] 28: 0x55b7484d1819 - core::iter::traits::iterator::Iterator::collect::h75bb1cd41c8d07fa [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libcore/iter/traits/iterator.rs:1660 [INFO] [stderr] 29: 0x55b74850a4dc - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::hd03974c279def535 [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: 0x55b748381231 - cbindgen::bindgen::parser::Parser::parse_crate::h00ba84b3b245495b [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:159 [INFO] [stderr] 31: 0x55b7483803ec - cbindgen::bindgen::parser::parse_lib::ha7a0a8d7f4a165eb [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:88 [INFO] [stderr] 32: 0x55b7483ce884 - cbindgen::bindgen::builder::Builder::generate::hb2ced2102b8a7c67 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/builder.rs:322 [INFO] [stderr] 33: 0x55b7482eff11 - cbindgen::generate_with_config::h008cfdac0f0f6195 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/lib.rs:37 [INFO] [stderr] 34: 0x55b74833ec8f - build_script_build::build_header::h252ca84736161e9f [INFO] [stderr] at /opt/rustwide/workdir/build.rs:11 [INFO] [stderr] 35: 0x55b74833ed96 - build_script_build::main::h9f254b3219cc1024 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:18 [INFO] [stderr] 36: 0x55b7482e1dab - std::rt::lang_start::{{closure}}::h428b402afe029314 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libstd/rt.rs:67 [INFO] [stderr] 37: 0x55b74884c903 - std::rt::lang_start_internal::{{closure}}::hf3e6a4ec162517f7 [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 38: 0x55b74884c903 - std::panicking::try::do_call::h77ed59d4706bc4a8 [INFO] [stderr] at src/libstd/panicking.rs:303 [INFO] [stderr] 39: 0x55b748854757 - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:86 [INFO] [stderr] 40: 0x55b74884d3eb - std::panicking::try::h3e27a5213663f467 [INFO] [stderr] at src/libstd/panicking.rs:281 [INFO] [stderr] 41: 0x55b74884d3eb - std::panic::catch_unwind::ha46de5fecc0d9a90 [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 42: 0x55b74884d3eb - std::rt::lang_start_internal::hb81abf531274a39e [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 43: 0x55b7482e1d87 - std::rt::lang_start::h2ecfc7bcebef4b6b [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libstd/rt.rs:67 [INFO] [stderr] 44: 0x55b74833edca - main [INFO] [stderr] 45: 0x7f441322fb97 - __libc_start_main [INFO] [stderr] 46: 0x55b7482383ca - _start [INFO] [stderr] 47: 0x0 - [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "be8bc0db5d80e00155da97cbc3b398d2e72e8cd6d724516ee0b5a0b920cf0192"` [INFO] running `"docker" "rm" "-f" "be8bc0db5d80e00155da97cbc3b398d2e72e8cd6d724516ee0b5a0b920cf0192"` [INFO] [stdout] be8bc0db5d80e00155da97cbc3b398d2e72e8cd6d724516ee0b5a0b920cf0192