[INFO] fetching crate ngspice-sys 0.2.1... [INFO] building ngspice-sys-0.2.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ngspice-sys 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ngspice-sys 0.2.1 [INFO] finished tweaking crates.io crate ngspice-sys 0.2.1 [INFO] tweaked toml for crates.io crate ngspice-sys 0.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ngspice-sys 0.2.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.56.0 (available: v0.72.1) [INFO] [stderr] Adding libloading v0.6.7 (available: v0.8.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75f204ad09139817f618d2d5062c79772ad1e291fc314175e79ef5dd90b64ada [INFO] running `Command { std: "docker" "start" "-a" "75f204ad09139817f618d2d5062c79772ad1e291fc314175e79ef5dd90b64ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75f204ad09139817f618d2d5062c79772ad1e291fc314175e79ef5dd90b64ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f204ad09139817f618d2d5062c79772ad1e291fc314175e79ef5dd90b64ada", kill_on_drop: false }` [INFO] [stdout] 75f204ad09139817f618d2d5062c79772ad1e291fc314175e79ef5dd90b64ada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f5d4c5dc4fa476dfae9cef2b0260b2123d8d3398430aecefbe8ded450d5c826 [INFO] running `Command { std: "docker" "start" "-a" "3f5d4c5dc4fa476dfae9cef2b0260b2123d8d3398430aecefbe8ded450d5c826", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling ngspice-sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `ngspice-sys v0.2.1 (/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/ngspice-sys-50c227ef2a4cbbfa/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=wrapper.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] wrapper.h:2:10: fatal error: 'ngspice/sharedspice.h' file not found [INFO] [stderr] wrapper.h:2:10: fatal error: 'ngspice/sharedspice.h' file not found, err: true [INFO] [stderr] [INFO] [stderr] thread 'main' (583) panicked at build.rs:31:10: [INFO] [stderr] Unable to generate bindings: () [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x60bc007e9cf2 - std::backtrace_rs::backtrace::libunwind::trace::ha2a9ae9e69b87a03 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x60bc007e9cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h7757f80677e51a33 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x60bc007e9cf2 - std::sys::backtrace::_print_fmt::h6552c7cfff6c56fd [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x60bc007e9cf2 - ::fmt::h8094475e363f1053 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x60bc007faf1f - core::fmt::rt::Argument::fmt::h88a25a51f53034c0 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x60bc007faf1f - core::fmt::write::h501eb1fe28dabfbb [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x60bc007bc331 - std::io::default_write_fmt::h992ad3fe47aac8bd [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x60bc007bc331 - std::io::Write::write_fmt::h8b96bc323947a405 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x60bc007c7022 - std::sys::backtrace::BacktraceLock::print::h7aea9e658d3d67e5 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x60bc007c9b2f - std::panicking::default_hook::{{closure}}::h9182baa5e2ff55c0 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x60bc007c9989 - std::panicking::default_hook::hfb4945b05f344c7f [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x60bc007ca1b5 - std::panicking::panic_with_hook::h56e601fd3ec36096 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x60bc007ca04a - std::panicking::panic_handler::{{closure}}::h1609d3c3912948cb [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x60bc007c7159 - std::sys::backtrace::__rust_end_short_backtrace::h03d671aa8d777602 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x60bc007b09ad - __rustc[aa3aaccdf5d52e38]::rust_begin_unwind [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x60bc008050b0 - core::panicking::panic_fmt::h2ccb5f5950fb2ea3 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x60bc008042e6 - core::result::unwrap_failed::h1234828aefe38261 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/result.rs:1855:5 [INFO] [stderr] 17: 0x60bc0030ffc4 - core::result::Result::expect::hf84e60e43fecba79 [INFO] [stderr] 18: 0x60bc0030ece0 - build_script_build::main::hed3de2c5806bec16 [INFO] [stderr] 19: 0x60bc0030f7a3 - core::ops::function::FnOnce::call_once::hf3e0c02ac2a566aa [INFO] [stderr] 20: 0x60bc0030f686 - std::sys::backtrace::__rust_begin_short_backtrace::hd9f0416e48778e94 [INFO] [stderr] 21: 0x60bc0030f669 - std::rt::lang_start::{{closure}}::h944fb3d9a5251502 [INFO] [stderr] 22: 0x60bc007bde90 - core::ops::function::impls:: for &F>::call_once::haefda49eac6aabe3 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 23: 0x60bc007bde90 - std::panicking::catch_unwind::do_call::hf37797e2fddac2f0 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:590:40 [INFO] [stderr] 24: 0x60bc007bde90 - std::panicking::catch_unwind::h909d1e8985436f28 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:553:19 [INFO] [stderr] 25: 0x60bc007bde90 - std::panic::catch_unwind::h5491b1948f80f254 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x60bc007bde90 - std::rt::lang_start_internal::{{closure}}::hf621f85e52fbc16b [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x60bc007bde90 - std::panicking::catch_unwind::do_call::h2de2328545762ad7 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x60bc007bde90 - std::panicking::catch_unwind::h544f60d1149df03e [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x60bc007bde90 - std::panic::catch_unwind::h90e123b5fe5a521c [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x60bc007bde90 - std::rt::lang_start_internal::hce9ddc5b3402b0d3 [INFO] [stderr] at /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x60bc0030f651 - std::rt::lang_start::hb6627099ecbb4bac [INFO] [stderr] 32: 0x60bc00310c05 - main [INFO] [stderr] 33: 0x7394da3341ca - [INFO] [stderr] 34: 0x7394da33428b - __libc_start_main [INFO] [stderr] 35: 0x60bc0030e8e5 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "3f5d4c5dc4fa476dfae9cef2b0260b2123d8d3398430aecefbe8ded450d5c826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f5d4c5dc4fa476dfae9cef2b0260b2123d8d3398430aecefbe8ded450d5c826", kill_on_drop: false }` [INFO] [stdout] 3f5d4c5dc4fa476dfae9cef2b0260b2123d8d3398430aecefbe8ded450d5c826