[INFO] fetching crate yb-postgres-openssl 0.5.0-yb-1-beta.3... [INFO] building yb-postgres-openssl-0.5.0-yb-1-beta.3 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate yb-postgres-openssl 0.5.0-yb-1-beta.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate yb-postgres-openssl 0.5.0-yb-1-beta.3 [INFO] finished tweaking crates.io crate yb-postgres-openssl 0.5.0-yb-1-beta.3 [INFO] tweaked toml for crates.io crate yb-postgres-openssl 0.5.0-yb-1-beta.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yb-postgres-openssl 0.5.0-yb-1-beta.3 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yb-postgres-openssl 0.5.0-yb-1-beta.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01485cc36d70f9e3300b77c4de834af8f59a194c8d0404166bb8e7d8ab03d6a0 [INFO] running `Command { std: "docker" "start" "-a" "01485cc36d70f9e3300b77c4de834af8f59a194c8d0404166bb8e7d8ab03d6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01485cc36d70f9e3300b77c4de834af8f59a194c8d0404166bb8e7d8ab03d6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01485cc36d70f9e3300b77c4de834af8f59a194c8d0404166bb8e7d8ab03d6a0", kill_on_drop: false }` [INFO] [stdout] 01485cc36d70f9e3300b77c4de834af8f59a194c8d0404166bb8e7d8ab03d6a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f80b8177d231c656457632955125dc29a111b27abdd90accd5d3c3b78f72b0d8 [INFO] running `Command { std: "docker" "start" "-a" "f80b8177d231c656457632955125dc29a111b27abdd90accd5d3c3b78f72b0d8", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling yb-tokio-postgres v0.7.10-yb-1-beta.3 [INFO] [stderr] Compiling yb-postgres-openssl v0.5.0-yb-1-beta.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.23s [INFO] running `Command { std: "docker" "inspect" "f80b8177d231c656457632955125dc29a111b27abdd90accd5d3c3b78f72b0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80b8177d231c656457632955125dc29a111b27abdd90accd5d3c3b78f72b0d8", kill_on_drop: false }` [INFO] [stdout] f80b8177d231c656457632955125dc29a111b27abdd90accd5d3c3b78f72b0d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6299417f77e4028b99aa5633f0b3488cefdc345a1faa13dad275e369fdf65644 [INFO] running `Command { std: "docker" "start" "-a" "6299417f77e4028b99aa5633f0b3488cefdc345a1faa13dad275e369fdf65644", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling yb-tokio-postgres v0.7.10-yb-1-beta.3 [INFO] [stderr] Compiling yb-postgres v0.19.7-yb-1-beta.3 [INFO] [stderr] Compiling yb-postgres-openssl v0.5.0-yb-1-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] --> src/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_postgres::tls::TlsConnect; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use yb_tokio_postgres::tls::TlsConnect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:16:71 [INFO] [stdout] | [INFO] [stdout] 16 | let (client, connection) = builder.connect_raw(stream, tls).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let connection = connection.map(|r| r.unwrap()); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | let connection = connection.map(|r| r.unwrap()); [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | let connection = connection.map(|r: /* Type */| r.unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let stmt = client.prepare("SELECT $1::INT4").await.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | let stmt = client.prepare("SELECT $1::INT4").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | let rows = client.query(&stmt, &[&1i32]).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] --> src/test.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | let (client, connection) = tokio_postgres::connect( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 97 | let (client, connection) = yb_tokio_postgres::connect( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | let connection = connection.map(|r| r.unwrap()); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | let connection = connection.map(|r| r.unwrap()); [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let connection = connection.map(|r: /* Type */| r.unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let stmt = client.prepare("SELECT $1::INT4").await.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | let stmt = client.prepare("SELECT $1::INT4").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:107:52 [INFO] [stdout] | [INFO] [stdout] 107 | let rows = client.query(&stmt, &[&1i32]).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | builder.connect_raw(stream, connector).await.err().unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] --> src/test.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let builder = s.parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 15 | let builder = s.parse::().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] --> src/test.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | .parse::() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yb-postgres-openssl` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "6299417f77e4028b99aa5633f0b3488cefdc345a1faa13dad275e369fdf65644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6299417f77e4028b99aa5633f0b3488cefdc345a1faa13dad275e369fdf65644", kill_on_drop: false }` [INFO] [stdout] 6299417f77e4028b99aa5633f0b3488cefdc345a1faa13dad275e369fdf65644