[INFO] fetching crate postgres-sys 0.1.0... [INFO] checking postgres-sys-0.1.0 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate postgres-sys 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate postgres-sys 0.1.0 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate postgres-sys 0.1.0 [INFO] finished tweaking crates.io crate postgres-sys 0.1.0 [INFO] tweaked toml for crates.io crate postgres-sys 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-util v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b008783be023709f035761aaa073dad88660fc49b180408a224e146dd87ae0d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b008783be023709f035761aaa073dad88660fc49b180408a224e146dd87ae0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b008783be023709f035761aaa073dad88660fc49b180408a224e146dd87ae0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b008783be023709f035761aaa073dad88660fc49b180408a224e146dd87ae0d", kill_on_drop: false }` [INFO] [stdout] 7b008783be023709f035761aaa073dad88660fc49b180408a224e146dd87ae0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 901059f07c96ebb7a395081faadfa4c7557e9f5b7f81db82de426088f45a5b34 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "901059f07c96ebb7a395081faadfa4c7557e9f5b7f81db82de426088f45a5b34", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling postgres-util v0.1.1 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling postgres-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `postgres-sys v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/postgres-sys-7b61844ea47c895f/build-script-build` (exit code: 101) [INFO] [stderr] --- stderr [INFO] [stderr] /opt/rustwide/target/debug/build/postgres-sys-57c7d94c4f89d8f1/out/wrapper.h:1:10: fatal error: 'postgres.h' file not found [INFO] [stderr] /opt/rustwide/target/debug/build/postgres-sys-57c7d94c4f89d8f1/out/wrapper.h:1:10: fatal error: 'postgres.h' file not found, err: true [INFO] [stderr] thread 'main' panicked at 'Unable to generate bindings: ()', build.rs:29:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55c5e0e43535 - backtrace::backtrace::libunwind::trace::hdc42e81315d2a69f [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x55c5e0e43535 - backtrace::backtrace::trace_unsynchronized::hc9edcf4d4fb0b42d [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x55c5e0e43535 - std::sys_common::backtrace::_print_fmt::hb93b171b1042fa52 [INFO] [stderr] at library/std/src/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x55c5e0e43535 - ::fmt::h589f1bf1cf74dd71 [INFO] [stderr] at library/std/src/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x55c5e0e6cbac - core::fmt::write::h3a043650ba7bf668 [INFO] [stderr] at library/core/src/fmt/mod.rs:1117 [INFO] [stderr] 5: 0x55c5e0e3f6f2 - std::io::Write::write_fmt::hbbad3ca30e02a58a [INFO] [stderr] at library/std/src/io/mod.rs:1510 [INFO] [stderr] 6: 0x55c5e0e45b90 - std::sys_common::backtrace::_print::h96b2d71887f0b186 [INFO] [stderr] at library/std/src/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x55c5e0e45b90 - std::sys_common::backtrace::print::h6cd6e92e674a16a4 [INFO] [stderr] at library/std/src/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x55c5e0e45b90 - std::panicking::default_hook::{{closure}}::h76820e280a7c9f14 [INFO] [stderr] at library/std/src/panicking.rs:198 [INFO] [stderr] 9: 0x55c5e0e458dc - std::panicking::default_hook::h3c589b4200c4e9d0 [INFO] [stderr] at library/std/src/panicking.rs:217 [INFO] [stderr] 10: 0x55c5e0e461d3 - std::panicking::rust_panic_with_hook::h99205632f2cac760 [INFO] [stderr] at library/std/src/panicking.rs:526 [INFO] [stderr] 11: 0x55c5e0e45dcb - rust_begin_unwind [INFO] [stderr] at library/std/src/panicking.rs:437 [INFO] [stderr] 12: 0x55c5e0e6b261 - core::panicking::panic_fmt::h019ad16a92ccd092 [INFO] [stderr] at library/core/src/panicking.rs:85 [INFO] [stderr] 13: 0x55c5e0e6b083 - core::option::expect_none_failed::h7135ba2fdb185931 [INFO] [stderr] at library/core/src/option.rs:1273 [INFO] [stderr] 14: 0x55c5e08c619b - core::result::Result::expect::hd67b2d693c784989 [INFO] [stderr] at /rustc/d990716b6a1fdde1300748828a9c9e79dfd0b898/library/core/src/result.rs:963 [INFO] [stderr] 15: 0x55c5e08c22b3 - build_script_build::main::hb2ddfc4eaa2177ca [INFO] [stderr] at /opt/rustwide/workdir/build.rs:22 [INFO] [stderr] 16: 0x55c5e08bffeb - std::rt::lang_start::{{closure}}::h19d8ae8ded4b384e [INFO] [stderr] at /rustc/d990716b6a1fdde1300748828a9c9e79dfd0b898/library/std/src/rt.rs:67 [INFO] [stderr] 17: 0x55c5e0e465a3 - std::rt::lang_start_internal::{{closure}}::hb14aa68a79b4eb09 [INFO] [stderr] at library/std/src/rt.rs:52 [INFO] [stderr] 18: 0x55c5e0e465a3 - std::panicking::try::do_call::haffb1227d43d77f1 [INFO] [stderr] at library/std/src/panicking.rs:348 [INFO] [stderr] 19: 0x55c5e0e465a3 - std::panicking::try::hc085bbb3f48e6fb0 [INFO] [stderr] at library/std/src/panicking.rs:325 [INFO] [stderr] 20: 0x55c5e0e465a3 - std::panic::catch_unwind::h0d91c438fed06f5e [INFO] [stderr] at library/std/src/panic.rs:394 [INFO] [stderr] 21: 0x55c5e0e465a3 - std::rt::lang_start_internal::h9a2f79aa5e187e95 [INFO] [stderr] at library/std/src/rt.rs:51 [INFO] [stderr] 22: 0x55c5e08bffc7 - std::rt::lang_start::h421105285a52715b [INFO] [stderr] at /rustc/d990716b6a1fdde1300748828a9c9e79dfd0b898/library/std/src/rt.rs:67 [INFO] [stderr] 23: 0x55c5e08c401a - main [INFO] [stderr] 24: 0x7f16c796f0b3 - __libc_start_main [INFO] [stderr] 25: 0x55c5e08ba19e - _start [INFO] [stderr] 26: 0x0 - [INFO] running `Command { std: "docker" "inspect" "901059f07c96ebb7a395081faadfa4c7557e9f5b7f81db82de426088f45a5b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901059f07c96ebb7a395081faadfa4c7557e9f5b7f81db82de426088f45a5b34", kill_on_drop: false }` [INFO] [stdout] 901059f07c96ebb7a395081faadfa4c7557e9f5b7f81db82de426088f45a5b34