[INFO] fetching crate rbothal 0.0.2... [INFO] testing rbothal-0.0.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rbothal 0.0.2 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking crates.io crate rbothal 0.0.2 [INFO] finished tweaking crates.io crate rbothal 0.0.2 [INFO] tweaked toml for crates.io crate rbothal 0.0.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rbothal 0.0.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.51.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61ae20f5293731e4fdab2136053817de99827b9c79c8e93a40db427c5bd6d642 [INFO] running `Command { std: "docker" "start" "-a" "61ae20f5293731e4fdab2136053817de99827b9c79c8e93a40db427c5bd6d642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61ae20f5293731e4fdab2136053817de99827b9c79c8e93a40db427c5bd6d642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ae20f5293731e4fdab2136053817de99827b9c79c8e93a40db427c5bd6d642", kill_on_drop: false }` [INFO] [stdout] 61ae20f5293731e4fdab2136053817de99827b9c79c8e93a40db427c5bd6d642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d32edae2df80b0ae76adc89e29d3395b685e5d07c7baa88c5f1eeebaeb5d8f1 [INFO] running `Command { std: "docker" "start" "-a" "5d32edae2df80b0ae76adc89e29d3395b685e5d07c7baa88c5f1eeebaeb5d8f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling rbothal v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `rbothal v0.0.2 (/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/rbothal-e1a5c17f241e51d9/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] bindgen_args: ["/opt/rustwide/workdir/HAL_wrapper.h", "--rust-target", "1.33", "--default-enum-style=", "moduleconsts", "--with-derive-default", "--generate", "functions,types,vars,methods,constructors,destructors", "--whitelist-function", "HAL_\\w+", "--whitelist-type", "HAL_\\w+", "--whitelist-type", "HALUsageReporting::.*", "--whitelist-var", "HAL_\\w+", "--", "-I/opt/rustwide/workdir/headers", "-nostdinc", "-xc++", "-nostdinc++", "-std=c++14"] [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (640) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.51.1/src/ir/context.rs:891:9: [INFO] [stderr] "HAL_Value_(unnamed_union_at_/opt/rustwide/workdir/headers/hal/Value_h_24_3)" is not a valid Ident [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5e1292088d82 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5e1292088d82 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5e1292088d82 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5e1292088d82 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5e1292099fff - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5e1292099fff - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5e129205b381 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5e129205b381 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5e1292065e82 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5e12920689bf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5e1292068819 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5e1292069045 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5e1292068eda - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x5e1292065fc9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5e129204f6bd - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5e12920a40e0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x5e1291f4b5bf - proc_macro2::fallback::validate_ident::h157926a9b2fa89dd [INFO] [stderr] 17: 0x5e1291f4bc78 - proc_macro2::fallback::Ident::new_checked::h6070ea22480fed60 [INFO] [stderr] 18: 0x5e1291f432f7 - proc_macro2::Ident::new::h3dd9bce03aaa7821 [INFO] [stderr] 19: 0x5e1291cfafbc - bindgen::ir::context::BindgenContext::rust_ident_raw::hd203605003ecb2ee [INFO] [stderr] 20: 0x5e1291cf9000 - bindgen::ir::context::BindgenContext::rust_ident::h4f76256cb830670a [INFO] [stderr] 21: 0x5e1291d17581 - ::codegen::hbbb6960aa7db04cf [INFO] [stderr] 22: 0x5e1291c652ed - ::codegen::h41474003aedb8301 [INFO] [stderr] 23: 0x5e1291cc8e95 - ::codegen::h3d2c9c0ab2ca3e90 [INFO] [stderr] 24: 0x5e1291d1d686 - ::codegen::hbbb6960aa7db04cf [INFO] [stderr] 25: 0x5e1291c652ed - ::codegen::h41474003aedb8301 [INFO] [stderr] 26: 0x5e1291cc8e95 - ::codegen::h3d2c9c0ab2ca3e90 [INFO] [stderr] 27: 0x5e1291c7e935 - ::codegen::{{closure}}::h1348e933f85f79c6 [INFO] [stderr] 28: 0x5e1291c6b0a3 - ::codegen::h7b328a92a412a226 [INFO] [stderr] 29: 0x5e1291cc8e6d - ::codegen::h3d2c9c0ab2ca3e90 [INFO] [stderr] 30: 0x5e1291c8c1af - bindgen::codegen::codegen::{{closure}}::h0af54db172ab2b47 [INFO] [stderr] 31: 0x5e1291d06548 - bindgen::ir::context::BindgenContext::gen::h5e21b1cb044cb963 [INFO] [stderr] 32: 0x5e1291c8b91d - bindgen::codegen::codegen::habdd4f4632de77f1 [INFO] [stderr] 33: 0x5e1291c8ed6d - bindgen::Bindings::generate::h73950d28101ab364 [INFO] [stderr] 34: 0x5e1291c827e1 - bindgen::Builder::generate::hb795d5a9e77ccfa3 [INFO] [stderr] 35: 0x5e1291bea459 - build_script_build::generate_bindings::hdba1e3a4ec6cdfb7 [INFO] [stderr] 36: 0x5e1291bea606 - build_script_build::main::ha55150ed51de8b0b [INFO] [stderr] 37: 0x5e1291beaf23 - core::ops::function::FnOnce::call_once::hd5e29fb05f034a4e [INFO] [stderr] 38: 0x5e1291beae46 - std::sys::backtrace::__rust_begin_short_backtrace::hd382c91b1d3ef774 [INFO] [stderr] 39: 0x5e1291beae29 - std::rt::lang_start::{{closure}}::h00a469819c38d920 [INFO] [stderr] 40: 0x5e129205cc40 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 41: 0x5e129205cc40 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 42: 0x5e129205cc40 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 43: 0x5e129205cc40 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 44: 0x5e129205cc40 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stderr] 45: 0x5e129205cc40 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 46: 0x5e129205cc40 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 47: 0x5e129205cc40 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 48: 0x5e129205cc40 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stderr] 49: 0x5e1291beae11 - std::rt::lang_start::hab91183b8d6587f7 [INFO] [stderr] 50: 0x5e1291becbc5 - main [INFO] [stderr] 51: 0x7dcc1b2691ca - [INFO] [stderr] 52: 0x7dcc1b26928b - __libc_start_main [INFO] [stderr] 53: 0x5e1291be99e5 - _start [INFO] [stderr] 54: 0x0 - [INFO] running `Command { std: "docker" "inspect" "5d32edae2df80b0ae76adc89e29d3395b685e5d07c7baa88c5f1eeebaeb5d8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d32edae2df80b0ae76adc89e29d3395b685e5d07c7baa88c5f1eeebaeb5d8f1", kill_on_drop: false }` [INFO] [stdout] 5d32edae2df80b0ae76adc89e29d3395b685e5d07c7baa88c5f1eeebaeb5d8f1