[INFO] crate battery-ffi 0.7.5 is already in cache [INFO] checking battery-ffi-0.7.5 against master#3dbade652ed8ebac70f903e01f51cd92c4e4302c for pr-69741 [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 3dbade652ed8ebac70f903e01f51cd92c4e4302c [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "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" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "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" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "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] 0fd2f33d03412e296dc34bbcd73e7e65c33793d6b881948c82db510fbb35b0cb [INFO] running `"docker" "start" "-a" "0fd2f33d03412e296dc34bbcd73e7e65c33793d6b881948c82db510fbb35b0cb"` [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 v1.0.104 [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 toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.48 [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-715a4d585d49f995/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/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/slice/mod.rs:2842:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5606f9ee2d54 - backtrace::backtrace::libunwind::trace::hdc004fffd272f071 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x5606f9ee2d54 - backtrace::backtrace::trace_unsynchronized::h609a1e165a63b730 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x5606f9ee2d54 - std::sys_common::backtrace::_print_fmt::h95318708fefaeefe [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x5606f9ee2d54 - ::fmt::h590aefc216c9b5b2 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x5606f9f09e9c - core::fmt::write::hced55d1e3f5eccac [INFO] [stderr] at src/libcore/fmt/mod.rs:1063 [INFO] [stderr] 5: 0x5606f9edfc17 - std::io::Write::write_fmt::h908c091ec0665ba8 [INFO] [stderr] at src/libstd/io/mod.rs:1428 [INFO] [stderr] 6: 0x5606f9ee5ae5 - std::sys_common::backtrace::_print::h3cfdd2b217db58ae [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x5606f9ee5ae5 - std::sys_common::backtrace::print::h1552785754fbc7a8 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x5606f9ee5ae5 - std::panicking::default_hook::{{closure}}::ha0f47b7d85c7040d [INFO] [stderr] at src/libstd/panicking.rs:204 [INFO] [stderr] 9: 0x5606f9ee5832 - std::panicking::default_hook::h03ad8166758c7f60 [INFO] [stderr] at src/libstd/panicking.rs:224 [INFO] [stderr] 10: 0x5606f9ee61c5 - std::panicking::rust_panic_with_hook::h0d494ec3fd8df07b [INFO] [stderr] at src/libstd/panicking.rs:474 [INFO] [stderr] 11: 0x5606f9ee5cdb - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:378 [INFO] [stderr] 12: 0x5606f9f07ef1 - core::panicking::panic_fmt::hdcc9e830d989aff8 [INFO] [stderr] at src/libcore/panicking.rs:85 [INFO] [stderr] 13: 0x5606f9f07eb5 - core::panicking::panic_bounds_check::h8fc988c33e15bc0b [INFO] [stderr] at src/libcore/panicking.rs:63 [INFO] [stderr] 14: 0x5606f9d49571 - >::index::h580d4e1746d36040 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/slice/mod.rs:2842 [INFO] [stderr] 15: 0x5606f9d48f83 - core::slice:: for [T]>::index::hc3a4dc2809a1acab [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/slice/mod.rs:2707 [INFO] [stderr] 16: 0x5606f9e57a4b - as core::ops::index::Index>::index::h83d3f6d2e8dfa249 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/liballoc/vec.rs:1890 [INFO] [stderr] 17: 0x5606f9ba10b3 - cbindgen::bindgen::cargo::cargo::parse_dep_string::h0e3db111dbab21b8 [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: 0x5606f9ba2983 - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::{{closure}}::h2a25b6dafe0b07df [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: 0x5606f9b728b9 - core::iter::adapters::map_fold::{{closure}}::h3a7e84aee52a66f0 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/adapters/mod.rs:772 [INFO] [stderr] 20: 0x5606f9a78811 - core::iter::traits::iterator::Iterator::fold::ok::{{closure}}::h14bad031d2f00295 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/traits/iterator.rs:2002 [INFO] [stderr] 21: 0x5606f9bb874d - core::iter::traits::iterator::Iterator::try_fold::ha2172cc46928442b [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/traits/iterator.rs:1878 [INFO] [stderr] 22: 0x5606f9bb069e - core::iter::traits::iterator::Iterator::fold::h8d75ad506b9b7d57 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/traits/iterator.rs:2005 [INFO] [stderr] 23: 0x5606f9b81d3a - as core::iter::traits::iterator::Iterator>::fold::h5f7c9f8c5d1eae4a [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/adapters/mod.rs:812 [INFO] [stderr] 24: 0x5606f9b6b34a - core::iter::traits::iterator::Iterator::for_each::h4ff581f0bf9d5c95 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/traits/iterator.rs:659 [INFO] [stderr] 25: 0x5606f9afcd12 - as alloc::vec::SpecExtend>::spec_extend::h5202a810730768a4 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/liballoc/vec.rs:2061 [INFO] [stderr] 26: 0x5606f9b09d0c - as alloc::vec::SpecExtend>::from_iter::h9136dfd70d29f03e [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/liballoc/vec.rs:2041 [INFO] [stderr] 27: 0x5606f9b11bc7 - as core::iter::traits::collect::FromIterator>::from_iter::h7d941043263492c7 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/liballoc/vec.rs:1926 [INFO] [stderr] 28: 0x5606f9b69d69 - core::iter::traits::iterator::Iterator::collect::ha323d4a229b8b1d6 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libcore/iter/traits/iterator.rs:1660 [INFO] [stderr] 29: 0x5606f9ba28ac - cbindgen::bindgen::cargo::cargo::Cargo::dependencies::hf13b1ae807662427 [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: 0x5606f9a195a1 - cbindgen::bindgen::parser::Parser::parse_crate::h851f51629732fc9e [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:159 [INFO] [stderr] 31: 0x5606f9a1875c - cbindgen::bindgen::parser::parse_lib::h0d9abb93ddc7cc18 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/parser.rs:88 [INFO] [stderr] 32: 0x5606f9a66c54 - cbindgen::bindgen::builder::Builder::generate::he1655eb281cd62e5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/bindgen/builder.rs:322 [INFO] [stderr] 33: 0x5606f9988281 - cbindgen::generate_with_config::h37b008b4eaedc83c [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.10.1/src/lib.rs:37 [INFO] [stderr] 34: 0x5606f99d6fff - build_script_build::build_header::h47b8b3d35c728456 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:11 [INFO] [stderr] 35: 0x5606f99d7106 - build_script_build::main::h0caf637a2c2ac7d6 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:18 [INFO] [stderr] 36: 0x5606f997a11b - std::rt::lang_start::{{closure}}::h5eb7cdc342aaf2ed [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libstd/rt.rs:67 [INFO] [stderr] 37: 0x5606f9ee5c03 - std::rt::lang_start_internal::{{closure}}::hd836b51c69f3c1cf [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 38: 0x5606f9ee5c03 - std::panicking::try::do_call::hf9da5eeb55808ae9 [INFO] [stderr] at src/libstd/panicking.rs:303 [INFO] [stderr] 39: 0x5606f9eeda57 - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:86 [INFO] [stderr] 40: 0x5606f9ee66eb - std::panicking::try::h066efa4d64854211 [INFO] [stderr] at src/libstd/panicking.rs:281 [INFO] [stderr] 41: 0x5606f9ee66eb - std::panic::catch_unwind::hccc86cfb87152f82 [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 42: 0x5606f9ee66eb - std::rt::lang_start_internal::h031b049d0fa6f856 [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 43: 0x5606f997a0f7 - std::rt::lang_start::h388ca70c992bcb64 [INFO] [stderr] at /rustc/3dbade652ed8ebac70f903e01f51cd92c4e4302c/src/libstd/rt.rs:67 [INFO] [stderr] 44: 0x5606f99d713a - main [INFO] [stderr] 45: 0x7fcd1f8bab97 - __libc_start_main [INFO] [stderr] 46: 0x5606f98d073a - _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" "0fd2f33d03412e296dc34bbcd73e7e65c33793d6b881948c82db510fbb35b0cb"` [INFO] running `"docker" "rm" "-f" "0fd2f33d03412e296dc34bbcd73e7e65c33793d6b881948c82db510fbb35b0cb"` [INFO] [stdout] 0fd2f33d03412e296dc34bbcd73e7e65c33793d6b881948c82db510fbb35b0cb