[INFO] fetching crate postgres-sys 0.1.0... [INFO] checking postgres-sys-0.1.0 against master#9503ea19edbf01b9435e80e17d60ce1b88390116 for pr-81782 [INFO] extracting crate postgres-sys 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate postgres-sys 0.1.0 on toolchain 9503ea19edbf01b9435e80e17d60ce1b88390116 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96d67cc273b9c87c9867d5a1e361f2aaffa9282a26c5a89addc2694ac7235395 [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" "96d67cc273b9c87c9867d5a1e361f2aaffa9282a26c5a89addc2694ac7235395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96d67cc273b9c87c9867d5a1e361f2aaffa9282a26c5a89addc2694ac7235395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d67cc273b9c87c9867d5a1e361f2aaffa9282a26c5a89addc2694ac7235395", kill_on_drop: false }` [INFO] [stdout] 96d67cc273b9c87c9867d5a1e361f2aaffa9282a26c5a89addc2694ac7235395 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ec0abcb80683bc0a5009dbd277d3b734f205819f849f5f724bf8a2d4c485361 [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" "0ec0abcb80683bc0a5009dbd277d3b734f205819f849f5f724bf8a2d4c485361", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling postgres-util v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.4.3 [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-2ded97f4e914c6c8/build-script-build` (exit code: 101) [INFO] [stderr] --- stderr [INFO] [stderr] /opt/rustwide/target/debug/build/postgres-sys-9514ea4ce23936c7/out/wrapper.h:1:10: fatal error: 'postgres.h' file not found [INFO] [stderr] /opt/rustwide/target/debug/build/postgres-sys-9514ea4ce23936c7/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: 0x55d72d4b3d10 - std::backtrace_rs::backtrace::libunwind::trace::hb4de9797f80b7b8c [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x55d72d4b3d10 - std::backtrace_rs::backtrace::trace_unsynchronized::h59566d0bd20efff7 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55d72d4b3d10 - std::sys_common::backtrace::_print_fmt::hcfa5ce6be50275d4 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x55d72d4b3d10 - ::fmt::hd8c307a38b9bab04 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x55d72d4d6a0c - core::fmt::write::h3868db8542c90941 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/fmt/mod.rs:1096:17 [INFO] [stderr] 5: 0x55d72d4afd42 - std::io::Write::write_fmt::hab90295d5a0f197d [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/io/mod.rs:1568:15 [INFO] [stderr] 6: 0x55d72d4b5ef5 - std::sys_common::backtrace::_print::h19224910b8700cf1 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x55d72d4b5ef5 - std::sys_common::backtrace::print::h25dedfa68c5fb84a [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x55d72d4b5ef5 - std::panicking::default_hook::{{closure}}::h12c5765653a72a42 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x55d72d4b59a3 - std::panicking::default_hook::he65cee71c4209f0c [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x55d72d4b6691 - std::panicking::rust_panic_with_hook::h01a674d863fe0d8a [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x55d72d4b61d7 - std::panicking::begin_panic_handler::{{closure}}::h9b9fecf185178864 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x55d72d4b41ac - std::sys_common::backtrace::__rust_end_short_backtrace::h57be46a42dc7f24b [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x55d72d4b6139 - rust_begin_unwind [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x55d72d4d50f1 - core::panicking::panic_fmt::h20225113c4a2f8fd [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x55d72d4d4f13 - core::option::expect_none_failed::hc6d6d4cea4fdc285 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/option.rs:1300:5 [INFO] [stderr] 16: 0x55d72cf3fdae - core::result::Result::expect::h7ce482063a45457d [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/result.rs:997:23 [INFO] [stderr] 17: 0x55d72cf41ac7 - build_script_build::main::hf214f6fedc2430f2 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:22:20 [INFO] [stderr] 18: 0x55d72cf468cb - core::ops::function::FnOnce::call_once::hb1c918451f3a44dd [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 19: 0x55d72cf403be - std::sys_common::backtrace::__rust_begin_short_backtrace::haf9fb71d419d1233 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 20: 0x55d72cf3f571 - std::rt::lang_start::{{closure}}::h476d0e768a77cdb9 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/rt.rs:66:18 [INFO] [stderr] 21: 0x55d72d4b6ab7 - core::ops::function::impls:: for &F>::call_once::h2c4fd7d4128112a8 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 22: 0x55d72d4b6ab7 - std::panicking::try::do_call::h41fb7dbbbe7bece6 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:379:40 [INFO] [stderr] 23: 0x55d72d4b6ab7 - std::panicking::try::hd38008ccba72bce1 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:343:19 [INFO] [stderr] 24: 0x55d72d4b6ab7 - std::panic::catch_unwind::h057e765cd60f2d13 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panic.rs:431:14 [INFO] [stderr] 25: 0x55d72d4b6ab7 - std::rt::lang_start_internal::hdb9d0b9d2cdcda8b [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/rt.rs:51:25 [INFO] [stderr] 26: 0x55d72cf3f547 - std::rt::lang_start::h10fc81165d2e10ce [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/rt.rs:65:5 [INFO] [stderr] 27: 0x55d72cf4387a - main [INFO] [stderr] 28: 0x7facdfca10b3 - __libc_start_main [INFO] [stderr] 29: 0x55d72cf3a0ce - _start [INFO] [stderr] 30: 0x0 - [INFO] running `Command { std: "docker" "inspect" "0ec0abcb80683bc0a5009dbd277d3b734f205819f849f5f724bf8a2d4c485361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec0abcb80683bc0a5009dbd277d3b734f205819f849f5f724bf8a2d4c485361", kill_on_drop: false }` [INFO] [stdout] 0ec0abcb80683bc0a5009dbd277d3b734f205819f849f5f724bf8a2d4c485361