[INFO] fetching crate postgres-native-tls 0.5.0... [INFO] building postgres-native-tls-0.5.0 against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] extracting crate postgres-native-tls 0.5.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate postgres-native-tls 0.5.0 on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate postgres-native-tls 0.5.0 [INFO] finished tweaking crates.io crate postgres-native-tls 0.5.0 [INFO] tweaked toml for crates.io crate postgres-native-tls 0.5.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd5bfe0460a4b27713f35a2b655797683c718c5a874ca0ea279dd79489a7370 [INFO] running `Command { std: "docker" "start" "-a" "2fd5bfe0460a4b27713f35a2b655797683c718c5a874ca0ea279dd79489a7370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd5bfe0460a4b27713f35a2b655797683c718c5a874ca0ea279dd79489a7370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd5bfe0460a4b27713f35a2b655797683c718c5a874ca0ea279dd79489a7370", kill_on_drop: false }` [INFO] [stdout] 2fd5bfe0460a4b27713f35a2b655797683c718c5a874ca0ea279dd79489a7370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 678a405e6b20b098025da269b591634a0e7b8a0b2b0a24904c656ede4c60b96c [INFO] running `Command { std: "docker" "start" "-a" "678a405e6b20b098025da269b591634a0e7b8a0b2b0a24904c656ede4c60b96c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling postgres-protocol v0.6.4 [INFO] [stderr] Compiling postgres-types v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio v1.19.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-postgres v0.7.6 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.24s [INFO] running `Command { std: "docker" "inspect" "678a405e6b20b098025da269b591634a0e7b8a0b2b0a24904c656ede4c60b96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678a405e6b20b098025da269b591634a0e7b8a0b2b0a24904c656ede4c60b96c", kill_on_drop: false }` [INFO] [stdout] 678a405e6b20b098025da269b591634a0e7b8a0b2b0a24904c656ede4c60b96c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c01f9dfc0e6fd6d758a20405ef52808912f60b76328fcde965203ddcea4ce90 [INFO] running `Command { std: "docker" "start" "-a" "7c01f9dfc0e6fd6d758a20405ef52808912f60b76328fcde965203ddcea4ce90", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling postgres v0.19.3 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../../test/server.crt: No such file or directory (os error 2) [INFO] [stdout] --> src/test.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Certificate::from_pem(include_bytes!("../../test/server.crt")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test/server.crt: No such file or directory (os error 2) [INFO] [stdout] --> src/test.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | Certificate::from_pem(include_bytes!("../../test/server.crt")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test/server.crt: No such file or directory (os error 2) [INFO] [stdout] --> src/test.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | Certificate::from_pem(include_bytes!("../../test/server.crt")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test/server.crt: No such file or directory (os error 2) [INFO] [stdout] --> src/test.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | Certificate::from_pem(include_bytes!("../../test/server.crt")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `postgres-native-tls` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7c01f9dfc0e6fd6d758a20405ef52808912f60b76328fcde965203ddcea4ce90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c01f9dfc0e6fd6d758a20405ef52808912f60b76328fcde965203ddcea4ce90", kill_on_drop: false }` [INFO] [stdout] 7c01f9dfc0e6fd6d758a20405ef52808912f60b76328fcde965203ddcea4ce90